novagallery icon indicating copy to clipboard operation
novagallery copied to clipboard

About the possibility to download the original picture.

Open lsmanrique opened this issue 2 years ago • 6 comments

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!

lsmanrique avatar May 29 '22 10:05 lsmanrique

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.

david-novafacile avatar May 30 '22 16:05 david-novafacile

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: @.***>

lsmanrique avatar May 31 '22 05:05 lsmanrique

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 respectively use an other way for sending image (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.

david-novafacile avatar May 31 '22 07:05 david-novafacile

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: @.***>

lsmanrique avatar Oct 11 '22 08:10 lsmanrique

Yes, you can use:

  • oldest
  • newest
  • alphabetical

david-novafacile avatar Oct 11 '22 18:10 david-novafacile

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 😉

cnotin avatar Jan 06 '23 00:01 cnotin