-
AuthorPosts
-
February 21, 2014 at 11:44 am #227381
(I thought I had posted my question yesterday, but today I found no topic in my “Topics Started” page in my profile so I assume that I made some mistake and didn’t post it. Do excuse me in the off case that I’m double posting this)
Hello,
I am using the fullwidth easy slider and I would like to change it’s behavior – hope you could help me.
There is a problem when you want to display both horizontal and vertical images, say 800×600 and 600×800. Then the controls change place from one picture to the next. I can circumvent this by adding dead space to the images and making them all 800×800, but there should be a way to change the javascript to do it for me, that is force the container to be square (and still be dynamic). Something like setting the container width and height to the maximum of (resized_image_width, resized_image_height). Would you have any pointers on where I should start looking? Or maybe there is another solution to this problem that I’m unaware of
Thanks in advance.
February 21, 2014 at 1:02 pm #227433Hey AlexKK!
You can define a minimum height for the slider and the slider inner container:
.avia-slideshow-inner, .avia-fullwidth-slider { min-height: 800px; }
Best regards,
IsmaelFebruary 24, 2014 at 10:23 am #228397Thank you for your answer.
It’s not what I’m after exactly. Let me describe it in detail and maybe you would have some suggestions on where I should start looking to program it.
– The div image container stays square at 800×800 or less (dynamically resized so that all images are fully visible inside the current window size and don’t overflow it, causing the need to scroll)
– Horizontal pictures are vertically aligned to the middle of the div
– As a result the “next/previous” arrow controls stay at the same place throughout the slideshowThanks again
Edit: Let me just add that doing the same with the lightbox instead of the fullwidth slider is also good for me, would that be easier to program?
- This reply was modified 10 years, 9 months ago by AlexKK.
February 25, 2014 at 12:54 am #228756Hi!
Actually the best and only way I know of to really do what you are looking for is what you first suggest. Making the images sit on a canvas that is the same size and then uploading those will give you the best result while keeping everything intact and responsive.
Best regards,
Devin -
AuthorPosts
- You must be logged in to reply to this topic.