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 28. Nov 2024, 02:08

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  [ 11 posts ] 
Author Message
PostPosted: 18. Jun 2010, 10:23 
Offline

Joined: 11. Jun 2009, 09:02
Posts: 81
Hi,

Can I have your information regarding how to do a customization for current EXIF data extraction from image then to show when clicking on "Info" button for reference to all visitors?!

The current TWG can show me the basic photo information such as shutter speed, f/stop, ISO, focal length ... etc. but this is not enough to show.

Please advise!

Thank you.
Godmel :wink:


Top
 Profile  
 
 Post subject:
PostPosted: 24. Jun 2010, 15:19 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Set it in the language files. The values are listed there.

$lang_exif_info

there the keys and labels are listed.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 25. Jun 2010, 11:16 
Offline

Joined: 11. Jun 2009, 09:02
Posts: 81
Thank you Michael, I will try on it! :wink:


Top
 Profile  
 
 Post subject:
PostPosted: 26. Jun 2010, 07:46 
Offline

Joined: 11. Jun 2009, 09:02
Posts: 81
Hi Michael,

I tried to adding an additional fields on file but I found a problem that I don't know what exactly the field mapping, let's say if I put Lens model on the file, I don't know the name of the field, so I can't do field mapping on file and show. Do you know what is the actual field name does or mapping table for EXIF data?!

I appericated if you can tell me how to extract those fields name from image, not display name.

Thanks for your assistance!
Godmel. :roll:


Top
 Profile  
 
 Post subject:
PostPosted: 26. Jun 2010, 20:48 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you can add some debug info in the area where I output the exif data.

open exif.inc.php and look for
// print all to get the offsets

and uncomment
debug(print_r ($exif_info,true ));

then you get all exif offsets in the debug file. Try a couple of images because maybe the offsets are different!

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Jun 2010, 08:57 
Offline

Joined: 11. Jun 2009, 09:02
Posts: 81
Thank you Michael, I just got three more useful fields based on following information but not for all fields that I expected from EXIF data. (e.g. there are missing Lens and picture style fields)

[resolutionUnit] =_ Inches
[FileName] =_ __/pictures/Birds/IMG_0021R.JPG
[FileSize] =_ 1700273 bytes
[FileDateTime] =_ 24-Mar-2010 13:49:24
[FlashUsed] =_ 0
[make] =_ Canon
[model] =_ Canon EOS xD
[xResolution] =_ 350.00 (350/1) Inches
[yResolution] =_ 350.00 (350/1) Inches
[software] =_ Digital Photo Professional
[fileModifiedDate] =_ 2010:01:03 12:06:44
[artist] =_ Photographer: xxx
[YCbCrPositioning] =_ 1
[copyright] =_ Copyright: All rigths reserved by xxx
[exposureTime] =_ 0.004 s (1/250)
[fnumber] =_ f/11.0
[isoEquiv] =_ 100
[exifVersion] =_ 0221
[DateTime] =_ 2010:01:03 12:06:44
[dateTimeDigitized] =_ 2010:01:03 12:06:44
[componentConfig] =_ Does Not Exists
[aperture] =_ 11.313708499
[exposureBias] =_ -0.67 (-2/3)
[flashUsed] =_ Yes
[focalLength] =_ 200 mm
[makerNote] =_ NOT IMPLEMENTED
[exifComment] =_
[flashpixVersion] =_ 0100
[colorSpace] =_ 
[Width] =_ 2352
[Height] =_ 1394
[GPSLatitudeRef] =_ Reserved
[GPSLatitude] =_ Array
(
[Degrees] =_ 48
[Minutes] =_ 49
[Seconds] =_ 48
)

[focalPlaneYResolution] =_ 5306.53 (3168000/597)
[customRendered] =_ Normal Process
[exposureMode] =_ Auto Exposure
[whiteBalance] =_ 0
[screenCaptureType] =_ Standard
[compressScheme] =_ JPEG compression (thumbnails only)
[Thumbnail] =_ �����
[ThumbnailSize] =_ 5063 bytes
[CCDWidth] =_ 11.24mm
[IsColor] =_ 1
[Process] =_ 192
[resolution] =_ 2352x1394
[color] =_ Color
[jpegProcess] =_ Baseline
)


Top
 Profile  
 
 Post subject:
PostPosted: 16. Jul 2010, 18:34 
Offline

Joined: 11. Jun 2009, 09:02
Posts: 81
Hi Michael,

Can I have your suggestion for above situation?!

Godmel


Top
 Profile  
 
 Post subject:
PostPosted: 17. Jul 2010, 11:19 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
enter the keys you like in the language file with a display text.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 19. Jul 2010, 07:17 
Offline

Joined: 11. Jun 2009, 09:02
Posts: 81
Hi Michael,

Yes, of course if it can show me the actual field, I can add them in the file, but looks like it didn't shown all of the fields name in the debug log. So I can't do add these fields I need in the language file. (e.g such as the lens model and pictures style)

As I mentioned from previous post, this is what I'm found in debug log shown which is it can be shown by using other exif file reader.

Godmel


Top
 Profile  
 
 Post subject:
PostPosted: 19. Jul 2010, 08:18 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
i'm using a reader which works fine on may cameras. unfortunately every vendor uses his own style so not all fields are read in all images.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Jul 2010, 14:42 
Offline

Joined: 11. Jun 2009, 09:02
Posts: 81
Hi Michael,

Well, I'm using Canon camera and I think it is most popular brand of the camera in the world and I hope this information can help to enhance TWG features in coming new version.

Thanks for your kindly attention and consideration.

Godmel


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 10 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:
powered by phpbb | Datenschutz/ Privacy policy