Question Store tags in EXIF Keyword Meta-data Field

Status
Not open for further replies.

leontay76

Customer
Hi,

I am a licensed Pro user of your Gallery product.

May I know if you can advise on the PHP file(s) and data tables/columns to examine/pull in order to extract the "Tags" in this page:

Viewing Image: batu caves.jpg - Discuss SG

I am trying to modify the Gallery upload script to automatically copy the respective tags directly into the EXIF keywords meta-data field for each uploaded image besides storing them in the Gallery database.

Thanks!
 
Those tags are manually added, I believe. It's not extracted automatically.

Thanks for your reply.

Yes, those tags are manually added by the uploader. What I intend to do it is to store them directly into the EXIF keywords field besides saving them into the DBTech Gallery database.

This applies to new uploads as well as those that have already been uploaded.

For new uploads, it is more straightforward since I can modify the upload script to do the saving into EXIF keywords field as the image is being uploaded (and tags specified by the uploader). For this I would like to know which PHP file I would need to change to accomplish this.

For the images that are already in the Gallery, I need to retrieve the existing tags from the Gallery database and therefore I would like to find out which table/column the tags are stored in.

Thanks!
 
You will need to modify the /dbtech/gallery/includes/class_core.php file, specifically the function
PHP:
public static function add_file($position, $albumid = 0, $type = 'image', $imageid = 0, $action = 'submit')

The column for tags is tagging in the dbtech_gallery_images table in the database.
 
Status
Not open for further replies.

Legacy DragonByte Gallery

vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
862
Customer rating
0.00 star(s) 0 ratings
Back
Top