Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 29. Mar 2024, 00:53

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: TFU Exif Reader
PostPosted: 30. Dec 2010, 00:30 
Offline

Joined: 23. Dec 2010, 21:01
Posts: 16
Hi Michael,

There is a file named "tfu_exifReader.php" in my com_jfuploader/tfu/ folder which has some great code that I would like to use, but I don't know how to use this with JFU. Where are these functions called? I would like to capture some of this EXIF data but I don't know where it is being used.

I have added a MySQL INSERT query to my "db_plugin.php" file, so once I capture the data, I can insert it into my table. I was going to write some PHP code to capture image info (either by making a plugin, or by placing code directly into the tfu_upload file. But I found this tfu_exifReader.php file ... how can I use it to get some of this EXIF information to my table?

Thanks and please let me know if you need more clarification. :)

Tracy

----------------
- Joomla: 1.5.15
- JFU: 2.12.1 Professional Edition
- server: localhost


Top
 Profile  
 
 Post subject: Re: TFU Exif Reader
PostPosted: 30. Dec 2010, 11:03 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

I actually use it to get the exif size if the normal one cannot be read.

look in get_exif_size in tfu_helper.php.

there you can simply use:

$er = new phpExifReader($filename);
$er->processFile();
$exif_info = $er->getImageInfo();

and then e.g. for the size:
$er->ImageInfo[TAG_EXIF_IMAGEWIDTH]

The constants can be found in the tfu_exifReader.php (or in the TWG configuration because there I use the most imporant ones.).

I stongly recommend to use a plugin. Because then you can easily update to a new version. Joomla 1.6 is coming soon - and JFU for it will come as well..

- Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy