-
Notifications
You must be signed in to change notification settings - Fork 16
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 showing at reduced size on high resolution displays #48
Comments
Hi @okyeron We've been discussing this issue this week during a dev/design meeting. Here are the conclusions for now:
We don't put that on the top priority but I came across your issue and wanted to let you know we're aware of this problem (I personnaly am because I recently switched to retina display) |
I was at the point of raising a new request when I came across this thread. I am wanting to migrate to Modus as it is the best fit to my wish list. However, it is essentially broken on the Photo page, the Slideshow and in the Category pages. It works really well if I put my 2019 iMac into developer mode, which turns off the Retina display. In the default mode and preferred alternative display sizes all my images come up half size as these settings are Retina enabled. I have noticed that one of the Piwigo reference sites (https://photos.icam.fr) is similarly broken. |
On my newish M1 Macbook Pro I was noticing that images which should have been displaying at "original" size were showing at a smaller size instead. In this case a 720x480 image was showing at half that.
Digging into the code in
photo.autosize.js
I found that whenavailable.dpr = 2
(in my case) then line 10 would return an image half as big as it shouldreturn {w: Math.round(d.w / available.dpr), h: Math.round(d.h / available.dpr)};
For the moment I've modified my installation to just use
{w: Math.round(d.w), h: Math.round(d.h)}
The text was updated successfully, but these errors were encountered: