paolobenve / myphotoshare

MOVED TO GITLAB! --- A Web 2.0 Photo Gallery Done Right via Static JSON, Dynamic Javascript and a bit of php for sharing
15 stars 0 forks source link

Bugs when used on iPad or mobile phone #99

Open pmetras opened 6 years ago

pmetras commented 6 years ago

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)

  1. When an album content is first accessed, the pictures are not displayed (the picture borders fills the screen but the image is not visible). Then I try to show them full screen and they are not displayed either. I quit full screen mode and the it comes to displaying the pictures with the album content strip bellow (this is not the same display as what viewed before the full screen mode). I must precise that test data media are pictures whose file names contains special characters. Is it related?
  2. I was unable to have search working on the iPad.

Mobile phone

  1. Two previous iPad bugs don't occur on Android phone. Search and albums browsing are working. But full screen mode does not display the picture (like iPad).
pmetras commented 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.

paolobenve commented 6 years ago

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.

pmetras commented 6 years ago

I don't give access to the original pictures for multiple reasons:

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.

pmetras commented 6 years ago

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...

pmetras commented 6 years ago

I forgot one reason why someone would not want to give access to the original media is for professional or semi-professional photographers.