Announcement

#1 2023-02-04 18:06:40

John.B
Member
2016-03-27
46

Dynamically adjust the photos of a carousel to the monitor

Hello/Hi/Greetings,

With the plugin "Additional Pages" I built a homepage for my Piwigo. There is a large photo on this home page. With the CSS command

Code:

img {
   height:58vh;
}

With "Viewport" I adjust the photo to the size of the screen.

This also works quite well with different monitors.

Now I want to use a carousel (slider) instead of a static image with the "Extended Description" plugin.

This also works quite well. I tested "M" and "L" as picture size. One is too small the other too big. Is there a way to dynamically adjust the photos to the monitor size - as with a static image?

Offline

 

#2 2023-02-26 15:02:13

John.B
Member
2016-03-27
46

Re: Dynamically adjust the photos of a carousel to the monitor

The problem is solved.

I built a new website with HTML and CSS with a slider of my own.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact