EXIF info not showing up for Canon 300D?
guv
Joined: 2005-08-06
Posts: 31 |
Posted: Fri, 2005-08-12 00:06 |
Ive just setup Gallery2 at http://www.photoquest.co.uk/gallery2 and its all installed very easily. (Well done guys - great stuff!) :P The only glitch that I am unable to fathom ATM is EXIF info. It has been installed and IS working. Images from my nephew have been uploaded and his display the info. Mine, taken on a 300D however dont. Is there something in Admin I need to change or is there a problem with the info from the 300D? Many thanks ---- |
|
Posts: 31
Also seems not to show up for my Canon S50 shots!
Anyone have any suggestions why? The EXIF data is definately on the files before upload!
Posts: 8601
http://sourceforge.net/tracker/index.php?func=detail&aid=1185915&group_id=7130&atid=107130
Posts: 31
Thanks for that.
I did see this before posting - and to be honest it didnt make much sense to me! :oops:
It specifically refers to the ISO setting not getting recorded. For me, no details are extracted for either of my canon camera images.
I did download and look at the files mentioned - but I would be the first to admit its all gobbledy gook to me. ive got no problems with editing the files to suit - just dont know what changes I would need to make!
Cheers
Posts: 13
This is my solution after reading all the articles:
edit the file <pathToGallery2>/modules/exif/lib/exifer/makers/canon.inc
at line 177 you will find:
change that into
You will see that this line is added
case 0: $result['ISO'] = $exif['SubIFD']['ISOSpeedRatings']; break;
This works ok for me and i'm using a Canon 10D.
Posts: 8601
Thanks decomike. Can someone try this patch with a 300D photo and let us know if it resolves the problem?
Posts: 80
All of my photos are from my 300D, and I've never had any EXIF problems with G1, or any versions of G2 to date. Is it possible (if this patch doesn't help) that your photos are losing their EXIF data sometime during post-processing, before they even reach the gallery?
Just a thought,
Eric
Posts: 8601
guv, do you use sizelimit module? What is your highest priority toolkit?
Possibly images are resized upon upload and lose the exif data in that process.. see this bug:
http://sourceforge.net/tracker/index.php?func=detail&aid=1197416&group_id=7130&atid=107130
Posts: 31
I tried the canon.inc change suggested, but that didnt change anything and also just seemed to refer to the ISO setting and nothing else - so not sure if that would have made any difference anyway?
I looked at the thread mentioned. I have been using image magick to resize the pictures - and using the XP upload to website function (Mentioned in case that is a factor!)
So I changed that to NetPBM and uploaded some more images. All my images are either unedited - or touched up in photoshop or photoalbum. I uploaded a virgin image to be resized (to the highest allowed) and alas still no EXIF info shown.
I hadnt got the size limit module installed, but now have. No change!
The images on my site that use a sony or HP camera do get shown correctly so it doesnt look like its my installation itself that is a factor.
The site is located at photoquest dot co dot uk my album is "Les" and the album that is fine is "richard"
Cheers
Les
Posts: 31
Just thought of something!!!!
Could anyone do me a favour and email me a canon produced picture they KNOW works fine with EXIF so I can see if that imports ok? Similarly, if you could try this pic in your own installation and see if it comes through ok?
http://www.photoquest.co.uk/canon/IMG_1883.JPG
This image is in my gallery - but without the details imported.... It could help to narrow down the issue here!
Cheers
Guv
Posts: 31
Just so you can see anything in the setup that might be the cause:
Gallery version = 2.0-rc-1 core 0.9.34
PHP version = 4.3.11 cgi
Webserver = Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a PHP-CGI/0.1b
Database = mysql 4.0.25-standard
Toolkits = ArchiveUpload, Exif, ImageMagick, SquareThumb, Thumbnail, NetPBM
Operating system = Linux sixth.meinhosting.com 2.6.9-11.EL #1 Wed Jun 8 16:59:52 CDT 2005 i686
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 8.0
Posts: 8601
guv, I added your photo to my G2 and exif showed up fine, though with Unknown for ISO.. then I added the patch from above and ISO changed to 100.
Maybe try adding your photo both via XP and from-browser and compare the results.
Posts: 8601
decomike, there is no $exif in that entire file.. what is that referencing? I get an error on Edit Photo / General tab, undefined variable $exif.
Posts: 8601
guv, the link you posted above is a 3072x2048 image.. in your G2 I see it as 800x533.. that file doesn't have any exif data (according to both exifer in G2 and jhead).
Posts: 13
Sorry guys, my last posting (see below) gives me problems with the 'detail' exif view. I will try this morning if i can find a solution.
--------------------------------
Mindless,
I'm not really a script writer. I used the information from the patch in http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=18978. I think i forgot to change line 54.
into this
You see '$exif' is is added.
Posts: 8601
decomike, ah.. we kinda lost track of that patch. I just merged in the applicable portions and committed to cvs. thanks for reminding us about it.
Posts: 31
I made the changes to the canon file as suggested above and also import via the browser instead of uploading via the XP publish method.
It has now displayed the details - but it has introduced errors...
Warning: Missing argument 6 for formatcanondata() in /home/photoque/public_html/gallery2/modules/exif/lib/exifer/makers/canon.inc on line 54
Warning: Cannot modify header information - headers already sent by (output started at /home/photoque/public_html/gallery2/modules/exif/lib/exifer/makers/canon.inc:54) in /home/photoque/public_html/gallery2/modules/core/classes/GalleryPhpVm.class on line 124
The first warning appears about 30 times!
The photo can be seen in the legoland album (Les's) and is the last photo in that gallery.
Not sure if I am getting somewhere!
Les
Posts: 31
Has anyone got a fully working canon.inc EXIF file they could email me? The errors above may well be the result of poor editing on my part. I appreciate I could download Gallery2 again, extract the file and re-edit - but it would be easier/better solution if a definate working file was available!
Many thanks
Les
Posts: 31
Ive just overwritten my edited canon.inc file with the original. This time, I uploaded to the same gallery mentioned above, but this time via a URL instead of using the XP publishing to the web method. This time, it has uploaded the details (minus the ISO which is registered as Auto).
So whilst I still need to edit the canon inc file so it imports the correct ISO, Ive at least found a method (albeit a slow method) to uplaod with the EXIF info.
It seems (in my system at least) their is a bug in using the XP method. Strange though, that the photos uploaded using the same way but different cameras, publish ok.
So......has anyone got a pucker working canon.inc file they could loan me?
Obviously it means I need to uplaod the whole gallery again...... but at least it now works!
Cheers
Les
Posts: 21
And do your G2 show properly Subject Distance field?
Mine, with Canon 20d does not
http://fimp.ru/g2/main.php?g2_view=core.ShowItem&g2_itemId=4870
And yes, ISO is missing as well.. Have you got upgraded Canon.inc?
Posts: 1
I too get ISO: Unknown. Using Gallery2 final with EOS 350D. Anyone got a solution?
Posts: 111
I have photos taken with the 20D, and the Digital Rebel (supposedly the same as the 300D). The only problem I've run into with EXIF is some mild corruption after my name in the owner field. I'm using 2.0 (Unpossible). Here's a photo that's processed fine, for me:
In gallery: http://robotphotos.org/v/places/AZ/aau.jpg.html
Full size: http://robotphotos.org/d/23152-2/aau.jpg
Posts: 3236
Gov, when you use the XP publishing thing... do you select any resize value in THERE when you upload? If you do, this means that XP itself is doing the resize and is probably dropping the EXIF info. What happens if you simply use G2's HTML form or mini-applet? The upload via URL and Path probably work for the same reason that the HTML form and mini-applet *should* work. I suspect the XP upload will work too if you DO NOT select any image size options when you use the tool. Make sense?
Like Gallery? Appreciate my help? Think I'm an asshole? Make your point by donating to the Gallery project! Or maybe just visit my website.
Posts: 1
On my EOS 20D I discover that the ISO settings can be discovered by adding this line to the switch ($result['ISO'] case:
case 32767: $result['ISO'] = $exif['SubIFD']['ISOSpeedRatings']; break;
Posts: 2
Confirmed (20D here as well). Something to add to the next version of the EXIF module, I guess
Posts: 8601
I updated exif module to use Exifixer 1.5 (we were on 1.4) and put in this patch as well.
Posts: 12
has this made it into a production release?
I'm getting ISO:Uknown right now on a 20D, just need to know if I need to hack my canon.inc file.
Posts: 32509
ther ehas been any release since 2.0 (2.0.1 and 2.0.2 were security releases, no other changes).
so you'll have to get a recent nightly snapshot if you want exifixer 1.5.
don't know if it solves your 20d issues though.
Posts: 2
If you have the latest version, it's easy enough to see if the fix is in there... just open up the file and look for a similar line in the part that pulls out the ISO value. If it's not there, add it.
If you don't have the latest version, and this is the only reason you'd have to upgrade, then the quick fix would seem to be easier.
Posts: 12
I just checked my canon.inc file, and it includes the patch mentioned above. Yet, I still have ISO Unknown on my pictures. I have some albums that were imported from G1 as well as pictures I've recently published, and they both have ISO Unknown. In G1 these photos has ISO ratings. And on my PC, they have all the ISO info. But when they're uploaded I get nothing for ISO.
Posts: 11
Confirmed this solves the problem for the 350D