Home › Forums › Jevelin Theme › Image Gallery Slider – “Square” ratio doesn’t work
Home › Forums › Jevelin Theme › Image Gallery Slider – “Square” ratio doesn’t work
Hi,
I have some gallery sliders on one of my pages. I set the image ratio to square in all of them. Interestingly, some of the images appear as squares but others have another dimension.
See the galleries at the bottom of the page:
http://sz2a.moringa-design.hu/nevadonk/
Apparently it is not a css issue, as on the slider a cropped version of the images are pasted.
Thanks for the help!
Andi
Hi Andi,
I hope you are well today and thank you for your question.
It seems you are using an older version of the theme on your website so please update it to the below latest version as described here https://support.shufflehound.com/installing-demo/
Please login to access this file
After updating the theme, please try regenerating thumbnails on your site using the below plugin.
https://wordpress.org/plugins/force-regenerate-thumbnails/
Best regards,
Shufflehound team
Thank you for the quick response. I’ve updated the theme, run the plugin, and the images are still not squares.
Any further advice how to fix this? Below are the login details.
Thank you!
The shared login credentials are not working so could you please make sure that it is correct and working fine.
Hi,
Sorry, please try this one.
Thank you!
I logged into your website and saw the images used in the slider are not of the same size therefore all the images are not displayed in the square.
You can set image ratio as a portrait as shown in the attached screenshot so that all images will display equally in height.
Oh well, thank you for that.
Then the option “Square” is a bit misleading, because one would expect to get square photos, independently from their original size… But how is it possible that the “Portrait” mode can do equal heights (independently from the images’ original size) and the “Square” can’t? Can’t the script be fixed so that it crops all images to a square no matter what when you select the “Square” option?
Thank you,
Andi
Yes, you are right and I have created a feature request to implement it so that the “Square” option will crop the image to square.
It will be implemented ASAP in the future version of the theme.
I got a reply from the theme developer as below.
At the moment that feature uses add_image_size with 600×600 image size and if images is smaller than 600×600, then the image is not being cropped.