Git Product home page Git Product logo

Comments (5)

pmetras avatar pmetras commented on July 17, 2024

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.

from myphotoshare.

paolobenve avatar paolobenve commented on July 17, 2024

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.

from myphotoshare.

pmetras avatar pmetras commented on July 17, 2024

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 cacheonly. 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?
  • The files are > 10MB pictures, while only 600 KB when resized at 1200 pixels. Originals are at > 5000 pixels width.
  • For privacy reasons, I don't want to give access to the full EXIF data I have in original pictures. When photos are transcoded by the scanner, EXIF data is stripped out of the files and this information is not available on the web but only in the properties window, for selected metadata.

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.

from myphotoshare.

pmetras avatar pmetras commented on July 17, 2024

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

from myphotoshare.

pmetras avatar pmetras commented on July 17, 2024

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

from myphotoshare.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.