anmu
posted this
17 January 2022
Hello Anna,
the page I'm working on presents trumpets. The image of a trumpet is tall and narrow, and showing it like this in the lightbox doesn't really give you an good enlarged view. But on the page itself, the image should be shown in portrait format (my clients wish). So I came up with the idea to rotate the image in the page, because this way the original image is still shown horizontally in the lightbox. So far so good. :)
To show the page visitor that he can click on the image, I have assigned a hover effect to all lightbox images so far. Unfortunately this doesn't work for the rotated image.
To demonstrate, I've included the first image normally and with hover effect. The second image is rotated for display in the page. With this image no hover effect can be assigned. Please try it yourself!
Thank you very much.
Sicerely,
Angela
Hello Anna,
the page I'm working on presents trumpets. The image of a trumpet is tall and narrow, and showing it like this in the lightbox doesn't really give you an good enlarged view. But on the page itself, the image should be shown in portrait format (my clients wish). So I came up with the idea to rotate the image in the page, because this way the original image is still shown horizontally in the lightbox. So far so good. :)
To show the page visitor that he can click on the image, I have assigned a hover effect to all lightbox images so far. Unfortunately this doesn't work for the rotated image.
To demonstrate, I've included the first image normally and with hover effect. The second image is rotated for display in the page. With this image no hover effect can be assigned. Please try it yourself!
Thank you very much.
Sicerely,
Angela