AllAboutLearningPress / Photo-Storage-and-Gallery

Share photo assets with all users in an easy to use gallery with a powerful backend.
3 stars 2 forks source link

File structure #23

Closed dyner closed 3 years ago

dyner commented 3 years ago

Proposed:

/ > photoFamilyName > photoName+uniqueStr

dyner commented 3 years ago

Any ideas for adopting existing structure while still retaining the ability to match photos by family?

AshrafAkon commented 3 years ago

I have come with the following : / -> compressed_photos = To store compressed photos for full size viewing in browser. / -> full_size = To store the full size images / -> thumbnails = To store the thumbs

A single image will have a single filename. That will be stored with the same filename according to versions in respective folders. Photofamily tree will be handled using db records.

dyner commented 3 years ago

compressed_photos = To store compressed photos for full size viewing in browser.

Let's rename compressed_photos to preview_photos for additional clarity.

Everything else sounds good.

AshrafAkon commented 3 years ago

That sounds like a more appropriate name.

AshrafAkon commented 3 years ago

As we have settled on the structure I am closing this issue. Please feel free to reopen this if you think otherwise.