Support the pixel unit (px) in height/width parameters, because apparently
a lot of people use it there.

And apparently it was supported before I changed the settype()s to
filter_var()s.

Change-Id: Ia4b176a73601a1ab62cd949809e60c071f1f4676