Reintroduces an image size selector.

Replaces the image optimization setting with an image size setting that respects the image sizes specified in the Media Settings section of the target blog's admin. 

You can't draw an image that is 0x0. :) The choice was to either return nil or the original, I felt it made more sense to return the original.