novafacile / novagallery

novaGallery - a beautiful and and ease to use php image gallery for your photos - flat file - no database required - modern responsive design
https://novagallery.org
GNU Affero General Public License v3.0
74 stars 11 forks source link

About the possibility to download the original picture. #11

Open lsmanrique opened 2 years ago

lsmanrique commented 2 years ago

Hello there,

I have just found your gallery and looks wonderful! I tried Piwigo in the past and presently live on Lychee

I have a question on the download of the original photos.

I uploaded a set of photos (around the one hundred KBs only, small photos, coming from Whatsapp) and I see that when I view the gallery I am shown the 2000 (configurable) pixels size ones, with the possibility to download the cache ones at those 2000 pixels which are bigger both in dimensions and in KB than the original photos. Is there a way (other than manually going to URL/galleries/folder-name/ and downloading them by right click) in the gallery to download the original photos or even the whole folder?

Thanks for your work!

david-novafacile commented 2 years ago

Hi,

this is a good feature idea! Currently you can add individual functions to the theme. It's simple PHP, HTML and CSS.

If you like (and can wait a bit), I can extend a theme, with this feature.

A simple plugin system is planned for the next major release. This would make it easier to extend novaGallery with such features. But this will take quite a while until the new major release.

lsmanrique commented 2 years ago

Dear,

Thanks, this is a feature (download pictures individually and download an album as a .zip file for example) that could be interesting yes, I am in no hurry, so either as an extension of a theme or as a plugin in the future it would be very welcome.

One thing that I was unable to prepare well ( https://wedding.manrique.com/photos) is the sorting of the photos.

Does SortImages admit 'by the timestamp on which they were taken'?

I now have seen 'newest' for SortImages, and I have tried 'oldest', but it shows them with the date that they were updated in the server.

But in practice some people send you their photos after the trip has finished and if you upload those to the server after the upload of the rest then they are shown at the end of the list (but they relate to some events of the trip, so it is a pity that the event per se (example: seeing a glass factory and how a bottle is prepared) is seen in 3 different places in the gallery.

Also, pictures can come from iphones and androids or even via Whatsapp so they can have names like IMG_number.jpg or DSCnumber.jpg or WhatsappDate.jpg, so alphabetically is neither ideal for photos (maybe it is Ok for SortAlbums).

Anyway, if you can let me know what are the options admitted in SortImages I would be very grateful.

Thanks for this beautiful and practical gallery!

Luis.

On Mon, May 30, 2022 at 6:25 PM David @.***> wrote:

Hi,

this is a good feature idea! Currently you can add individual functions to the theme. It's simple PHP, HTML and CSS.

If you like (and can wait a bit), I can extend a theme, with this feature.

A simple plugin system is planned for the next major release. This would make it easier to extend novaGallery with such features. But this will take quite a while until the new major release.

— Reply to this email directly, view it on GitHub https://github.com/novafacile/novagallery/issues/11#issuecomment-1141327466, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWJFI3CXOXQNDJCKF4NS5M3VMTTWNANCNFSM5XH7GCPQ . You are receiving this because you authored the thread.Message ID: @.***>

david-novafacile commented 2 years ago

The sorting of the images is done based on the creation date in the exif data of the image. If this data is missing, the last file modification date (usually the upload date) is used. If some files have EXIF data and some don't, then the sorting gets messed up.

Apps like WhatsApp are removing the exif data from images, so this information is not available. The only possibilities see:

Change the sorting manually is currently not supported. For this an admin interface is required wich does not exists.

lsmanrique commented 1 year ago

Hello there,

Ok understood regarding EXIF, thanks for this very clear answer.

And can I ask you what is accepted by SortImages? Newest, Oldest and Alphabetical?

Best regards,

Luis.

On Tue, May 31, 2022 at 9:29 AM David @.***> wrote:

The sorting of the images is done based on the creation date in the exif data of the image. If this data is missing, the last file modification date (usually the upload date) is used. If some files have EXIF data and some don't, then the sorting gets messed up.

Apps like WhatsApp are removing the exif data from images, so this information is not available. The only possibilities see:

  • Always use the original images for upload (best solution)
  • add creation date and time manually to the image exif data before upload
  • add date (and time) manually to filename or rename files to sorted numbers (quite uncomfortable)

Change the sorting manually is currently not supported. For this an admin interface is required wich does not exists.

— Reply to this email directly, view it on GitHub https://github.com/novafacile/novagallery/issues/11#issuecomment-1141766429, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWJFI3CZYFBRCIAT3D4IHY3VMW5UVANCNFSM5XH7GCPQ . You are receiving this because you authored the thread.Message ID: @.***>

david-novafacile commented 1 year ago

Yes, you can use:

cnotin commented 1 year ago

I think we can add a download link by adding the necessary feature to simplelightbox Here's a PR for this: https://github.com/andreknieriem/simplelightbox/pull/290 or alternative https://github.com/andreknieriem/simplelightbox/pull/291 Let me know what you think 😉