Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2017-04-19 06:21:29

Cynbel
Member
Registered: 2016-07-27
Posts: 8

Trigger for after image is uploaded

Hey,

I have looked through the triggers that appear to be available, but not sure if any exist for after an image has been uploaded, kind of like the 'delete_elements' trigger. There is 'upload_file', which doesn't appear in the tools/trigger_list, but that's a change trigger and happens before each image is uploaded, there's also 'loc_end_photo_add_direct' but this trigger happens before any image is uploaded.

I need this for an additional table that I have, I just need to insert an entry into the table after the image has been inserted into the image table. If this already exists it would be great to know, if not then either a work around or the addition of such a trigger would be nice.

Thanks

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2017 · Contact