Only apply the transform if no width/height is set on the image.