Announcement

  •  » Themes
  •  » How to show date image was uploaded again instead of posted date?

#1 2020-02-02 13:22:21

iamjwk
Member
The Netherlands
2020-01-27
7

How to show date image was uploaded again instead of posted date?

I started creating my own theme based on the theme elegant. Although I am new to the PHP programming language I managed to get done a lot. Focus was on displaying metadata on a nice way for images taken with a camera bot also for scanned images.

My workflow is Adobe Lightroom based and I use the Lightroom plugin  Piwigo Export:
http://alloyphoto.com/plugins/piwigo/

My family enters in the comments useful data for scanned images, which I add via Adobe Lightroom to the metadata. Image gets then exported again to my Piwigo site (see link with some test photos below). I display the posted date, but this seems to be the first time the image has been posted.

1. I would like to have the modified date also displayed. I saw in the database table pg_images the field lastmodified. Is this date someway available in the tpl templates (i.e. as smarty variable)? If not how can this be made available?

2. I get the feeling that the last modified date is also updated if some metadata is changes from inside Piwigo. Is this correct?

3. Is there a last upload date available? If so how can I use this in a tpl template file? If upload date of image is not available can this be implemented in piwigo?

Regards,
Jan-Willem

Piwigo version: 2.10.1
PHP version: 7.3
MySQL version: ?
Piwigo URL: https://fotos.familykruse.eu/

Offline

 
  •  » Themes
  •  » How to show date image was uploaded again instead of posted date?

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact