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

imageproperties #57

Open
peteykrogh opened this issue Aug 24, 2016 · 2 comments
Open

imageproperties #57

peteykrogh opened this issue Aug 24, 2016 · 2 comments

Comments

@peteykrogh
Copy link

peteykrogh commented Aug 24, 2016

Hi there,

It would be really cool if you could target some sort of API to get the imageProperties (and other properties as well which make sense) when you call the Intense function to manipulate with the cursor and width.
I had a problem with the width in IE 10 + on a larger screen (1400p). I solved the problem by setting the width: 100% instead of the size calculation of the image in the script. But i will face the issue again when updating the bower component.

@tholman
Copy link
Owner

tholman commented Aug 24, 2016

Hey there! Could you elaborate on the bug here? The cursor size calculations are wrong?

@peteykrogh
Copy link
Author

Hi Tim,

It has nothing to do with the cursor size calculation.
It has something to do with the calculation of the fullscreen image when
testing in Internet Explorer 11. The calculation in IE 11 will be the same
as original image and won't fit the screen (in my case a 1024px x 1024px
image on a 2560px x 1440px monitor). Therefore I fixed it by setting a
width of 100% on the imageProperties. I also wanted to change the "close"
cursor image when in fullscreen, but that too need to be set in the
imageProperties which you cannot set in your own call to the Intense()
function if you want the close icon to have the same design as your zoom
icon when hovering a image.
It would be really cool to control the imageProperties so you don't
overrride any custom properties on the image.

Does it makes sense? :)

Best Regards

Peter

Med venlig hilsen

Peter Elgaard Krogh
Web: www.peterkrogh.dk

2016-08-24 17:34 GMT+02:00 Tim Holman [email protected]:

Hey there! Could you elaborate on the bug here? The cursor size
calculations are wrong?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#57 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC2AkV4bBEcKy7OG76zyMAoCb9479C8_ks5qjGSQgaJpZM4Jr0JU
.

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

2 participants