Open pmetras opened 6 years ago
It seems that iPad and mobile phone are using the original picture (from albums
directory) for full screen display (or perhaps iPad bug) while the PC version is using a large picture (from cache
directory).
In my case, albums
directory is not accessible from the Web, reason why photos are not displayed.
albums
directory must be accessible from the web: depending on the screen size, the cache image or the original one is choosen, so that it must not be enlarged, since enlarging produces blurring
Besides that, original image is presented when selecting download or original link.
I don't give access to the original pictures for multiple reasons:
albums
directory is not web browseable. Only the scanner and the content owner can access it. Web content should be available from cache
only. If the installer decided that original pictures can be viewed on the web, then they should be copied into cache
. There're no reasons to allow direct access to originals... We never give access to original video that is transcoded, so why do it with photos?First, I don't understand why my old mobile devices, with small screen sizes, need to access pictures larger than 1200 pixels. Their screens don't have that much pixels...
Next, I've added a new reduced size of 2400 in myphotoshare.conf
. I'll check what will be the result on the iPad and phone when scanner runs this night.
I've also added a new size equal to my camera sensor width. I want to check what will be the filesize of the resulting picture files. We know that pictures must not be upsized. If it works, perhaps it should be added automatically by the scanner instead of letting the web application access the albums
directory.
The bug (photos not displayed) is still there on the iPad, even with the new reduced_sizes
added. But it could be browser cache related now. I've installed Chrome on the iPad and I can see all photos now. I'll have to change the server cache timeouts and test again...
I forgot one reason why someone would not want to give access to the original media is for professional or semi-professional photographers.
For version 3.5+
Here are a few bugs I encountered when testing MyPhotoShare (v3.4beta4 installed with Debian installer) with mobile devices.
iPad (old model)
Mobile phone