Max image width and height error
-
Hi,
First of all I would like to thanks for great plugin.
Recently WP upgraded to 4.4.2 and on one of my site I noticed that photos in gallery are all having the same dimensions – 350×500. No mater what I did, gallery would not get proper sized image. Regenerated, adjusted, even deleted all photos from gallery and upload them again.
Than I noticed, that in setting of gallery dimensions won’t change no mater what numbers I put in. Even if they are changed directly in database. After some hours I found the bug. In main php script of gallery I fond this:
$options[‘max_image_height’] = ‘500’;
$options[‘max_image_width’] = ‘600’;Changing the string values in int resolved my problems. I hope this helps you anythig..
Best,
xaxill
- The topic ‘Max image width and height error’ is closed to new replies.