Use image width to calculate slider size
-
Hi guys!
I’m using your plugin to create a slider of a ACF gallery, but I found out that the dimensions of the slider are based on the height of the image it’s trying to display, while I want it to be based on the width.
In my case, I have 1920*1080 images in my gallery, and the slider is therefore 1080px high.
However, I want to see the whole image in the slider. It doesn’t have to be 1920 wide, but at least the ratio of width:height should be correct, so the whole image is visible. How do I do this?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Use image width to calculate slider size’ is closed to new replies.