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

Images with large height will surpass screen height #8

Open
Sevyls opened this issue May 8, 2015 · 0 comments
Open

Images with large height will surpass screen height #8

Sevyls opened this issue May 8, 2015 · 0 comments

Comments

@Sevyls
Copy link

Sevyls commented May 8, 2015

I just tried this beautiful plugin, but have a feature request / proposal.

Currently the div will get the tag style height in pixel of the original image. This is very unflexible and not usable on smaller devices or screens.

i.e. my image is a panorama with 1204 px height. after calling panorama_viewer, the surrounding div will have a very long style attribute value with height: 1204px; supersedeing every css styling from an external css file.

I'd like to propose an optional, more responsive sizing, maybe a max-height of 100% of the screen, but keeping the aspect ratio.

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

No branches or pull requests

1 participant