Adds image size query.