codecomputerlove/PhotoSwipe — Issue #285: is a way to fix a size limit to the "fitNoUpscale" function ?
Author: petri71
Created: 2012-03-02 02:04:24+00:00
State: open

Hello,

My website has lots of old photos which are smaller than 800px, so the fit to screen stretch them too much and they look pixelized. So I decided to use your very good "imageScaleMethod" option and set it to "fitNoUpscale".

The problem is now that even images that are more than 3000 don't fit the screen...at least on iPad and iPhone.

So I was wondering if there would be a way to fix a size limit to the fitNoUpscale, let's say 1000 or even better, anything that is smaller than the screen's resolution.

Thank you in advance for any useful answer.