[Plugin: Image Widget] Ignoring medium_crop option
-
Just installed this plugin. Seems to work great, except that it doesn’t quite play nice with my theme.
In my theme I run update_option(‘medium_crop’, ‘1’) so that my medium-sized images are always exactly 300 x 230.
In this widget, in the media selector I can select my image, and choose the medium size. The widget populates with the correct height and width, and shows my nice 300×230 image.
But as soon as I hit “Save” for the widget, this plugin appears to generate a new version of my image, at the medium size but without the crop set to 1 — so instead I get an image that measures 300 x 180 (whatever ratio is appropriate). I’ve confirmed by watching the filesystem that this new image file doesn’t exist until I hit save on the widget itself.
Any ideas how to prevent this behavior?
The topic ‘[Plugin: Image Widget] Ignoring medium_crop option’ is closed to new replies.