Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image doesn’t fit in the viewport after rotating #1171

Open
andrew--r opened this issue Sep 28, 2021 · 3 comments
Open

Image doesn’t fit in the viewport after rotating #1171

andrew--r opened this issue Sep 28, 2021 · 3 comments

Comments

@andrew--r
Copy link

When rotating image, it may not fit in the viewport so it becomes cropped. Rotating should also scale image to fit it in the viewport.

Normal

Screenshot 2021-04-06 at 12 20 57

Rotated

Screenshot 2021-04-06 at 12 21 00

@sachinchoolur
Copy link
Owner

Yes, Currently this is a limitation with the rotate plugin. I've already started working on improving zoom/rotate modules. I'll try to include the fix in version 2.4 or 2.5

@sachinchoolur
Copy link
Owner

BTW. Are you still able to access lightGallery 1.x website?

@andrew--r
Copy link
Author

I've already started working on improving zoom/rotate modules. I'll try to include the fix in version 2.4 or 2.5

Thanks!

BTW. Are you still able to access lightGallery 1.x website?

Nope, I just copied issue from lg-rotate plugin repo since the previous issue hasn’t been answered:

sachinchoolur/lg-rotate#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants