That's weird while without an uid you can not get to the image scale (if you create unique URLs for images). Anyway, should I add a check that uid is present?