Lightgallery: Enhancement: Add Rotate Button while viewing images

Created on 7 Dec 2015  路  13Comments  路  Source: sachinchoolur/lightGallery

Several of images which we link are rotated and it should be rotated to view properly.

Feature Request 2.0 release

Most helpful comment

image

I also need this rotating button! It is really useful to view pictures!

Right now my project just needs this and I just had to add rotate button by myself and customized the lightGallery.js. But I found that rotating and zooming are not compatible becasue of the mousemove event. When img rotated and zoom in, the mouse goes up and the img will go left or right...

I hope this feature could be added next update.

All 13 comments

Hi,

Not sure if this would be a useful feature. Why don't you rotate your pictures in the first place ?

I'd also hugely welcome this feature. Often times when importing images taken from my phone they are not rotated correctly. Being able to quickly rotate them clockwise/anti-clockwise by 90 degrees within the image previewer when flicking through is very helpful and time-saving.

As a new lightGallery user I'm so far very impressed, and this ostensibly seems to be the only feature holding it back slightly from being the obvious go-to cross-platform lightweight image viewer (at least for me).

I second that

Several of images which we link are rotated and it should be rotated to view properly.

Exactly what I was about to ask for :-)

image

I also need this rotating button! It is really useful to view pictures!

Right now my project just needs this and I just had to add rotate button by myself and customized the lightGallery.js. But I found that rotating and zooming are not compatible becasue of the mousemove event. When img rotated and zoom in, the mouse goes up and the img will go left or right...

I hope this feature could be added next update.

+1

also need this, thank you.

I need this feature!

+1

+1

hope v2

Rotate option is now available in version 1.8.0 and above.
https://sachinchoolur.github.io/lightGallery/#lg=1&slide=1
Thank you for your patience

Was this page helpful?
0 / 5 - 0 ratings