News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

EXIF

Started by fatman, July 03, 2005, 07:02:33 PM

Previous topic - Next topic

Roger

Hello,

Any word on when this mod might be updated to 1.1RC1?  Or are you going to wait till 1.1Final?

Cheers,
Roger

ArkServer

I would like to see this  for 1.1rc1

damacguy

Has anyone gotten this to work in 1.1 RC2?

robertwatcher

Quote from: fatman on September 13, 2005, 07:50:14 PM
Quote from: robertwatcher on August 09, 2005, 12:11:49 AM
I successfully installed the Exif MOD on my ProPhotoForum this evening - but encountered a problem which I'm wondering if it can be coded around - - - I get an error message with png and gif posted image files (obviously because png and gif do not support Exif). Is there a way of checking the extension in your code and using if {} logic to not display Exif  Data unless reading a JPG file? ? ?

www.prophotoforum.com

I have fixed it, you can download & install the mod again.

Where have I been - my goodness, I just noticed this and am embarassed to note that the issue with the Exif Mod was resolved in September 2005. Thank you so much - I have installed the new version and it works well with gifs now.

phutchinson

I just downloaded and installed the EXIF mod via the Package Manager, but the EXIF data is still not showing even when I know a particular image has EXIF data embedded.  I am running SMF 1.0.6 with the Helios Multi theme.  My host is capable of PHP3, PHP4, or PHP5.  I know of another forum running 1.0.6 that has successfully implemented this mod.  Is there something else I am supposed to do other than installing via Package Manager?  Any help would be greatly appreciated.

Regards,
Patrick

phutchinson

Nevermind, apparently it is not compatible with my theme.

fatman

Quote from: damacguy on January 15, 2006, 05:34:41 PM
Has anyone gotten this to work in 1.1 RC2?

It is updated for 1.1 RC2
Album http://fatmangallery.com [nofollow]
Blog http://www.tinha.org [nofollow]
Forum http://www.phototinha.com [nofollow]

Canon EOS-D60, EOS-30D, 50mm F1.4, 85mm F1.8, 16-35mm F2.8L, 28-70mm F2.8L, 70-200mm F2.8L IS, 550EX, 430EX, EF 2X II
Sigma 30mm F1.4, 10-20mm F4-5.6 EX, 18-200mm F3.5-6.3 OS, 28-300mm F3.5-6.3
Gitzo G1568 MK2, G1228 MK2, Foba Mini-Superball

ubergeek

hi fatman...

i was hoping you could help me...

i just upgraded from 1.1 rc2 to 1.1 rc3... i had your exif mod on my site prior to the upgrade
and now that i've upgraded i'm getting this error

Fatal error: Call to undefined function: exif_read_data() in /home/xx/host/domain/subdomain/html/Sources/exif.php on line 44

even if i try to uninstall it it gives me another error and any thread
with images lead to another error... if i reinstall i get the error "on line 44" above.

please help!  ;)

Lew Cipher

Quote from: fatman on July 14, 2006, 05:42:04 PM
Quote from: damacguy on January 15, 2006, 05:34:41 PM
Has anyone gotten this to work in 1.1 RC2?

It is updated for 1.1 RC2

How about RC3? It installs fine but I can't seem to get it to work.

Version: SMF 1.1.2
Many mods installed

aacosta82

I created a new version of the mod using fatman's code (thanks a lot for it) which now supports showing exif info of external images (not just attachments).

It depends on php-curl (see hxxp:php.net/curl [nonactive] ).

Check how it works at hxxp:www.circulo-polar.com/ [nonactive]



Details:

It creates a table in the database as a cache so that the images are only downloaded once but redownloaded in case they chande (through a If-Modified-Since header).

It has a (currently hardcoded to 300KB) limit for the external images.

The mod has to parse the <img /> tag src field. Taking advantage of it I'm giving broken image-link notification for free.

Bugs so far:

It doesn't work if the image is an attachment in the same forum (because curl is currently not aware of the user session). Quite easy to Solve.



If anyone shows interest I canmake a release.

ScewJoel

how can i enable the exif option?

ScewJoel

ok, exif is enabled.. we've got php 4.4. and now it appears "no lang:" above the picture?
can anyone help us?

fatman

Quote from: ScewJoel on August 15, 2007, 05:06:40 AM
ok, exif is enabled.. we've got php 4.4. and now it appears "no lang:" above the picture?
can anyone help us?

Most likely there is no your language file, try to copy the Themes/default/languages/exif.english.php to
exif.[your language].php

There is only 5 lanuage fie in exif 1.3

         1. English
         2. chinese-traditional-utf8
         3. chinese-traditional
         4. chinese_simplified
         
         And one from user.
         1. Dutch - by Xander
Album http://fatmangallery.com [nofollow]
Blog http://www.tinha.org [nofollow]
Forum http://www.phototinha.com [nofollow]

Canon EOS-D60, EOS-30D, 50mm F1.4, 85mm F1.8, 16-35mm F2.8L, 28-70mm F2.8L, 70-200mm F2.8L IS, 550EX, 430EX, EF 2X II
Sigma 30mm F1.4, 10-20mm F4-5.6 EX, 18-200mm F3.5-6.3 OS, 28-300mm F3.5-6.3
Gitzo G1568 MK2, G1228 MK2, Foba Mini-Superball

lextalionis

Hey gang,

If you look at this example topic:  http://www.motleypixel.com/forum/index.php/topic,6.0.html  Look at the last post with the photo of the fire hydrant.  When I uploaded the photo "fatman's" exif mod auto attached and displayed the exif data.  Only problem is that "Exposure Time"  is a crazy value fraction:  "Exposure Time:41943/134217728 seconds"  if this is divided out it comes to .00032 (which is correct) what should normally be displayed is 1/3200 seconds.  Can someone look at code below from the exif.php and let me know what could be changed for it to behave this way?

case "ExposureTime":
if($top/10 == 1) $val = "1/" . round($bottom/10, 0);
if($bottom == 1) $val = $top;
  $val = $val . $txt['exif_' . strtolower($name) . '_1'];
  break;


case "ShutterSpeedValue":
$val = "1/" . round(pow(2, $this->get_str_val($val))) . $txt['exif_' . strtolower($name) . '_1'];
break


Thanks,
Lex

vdubbia

Quote from: lextalionis on December 10, 2007, 09:05:13 AM
Hey gang,

If you look at this example topic:  http://www.motleypixel.com/forum/index.php/topic,6.0.html  Look at the last post with the photo of the fire hydrant.  When I uploaded the photo "fatman's" exif mod auto attached and displayed the exif data.  Only problem is that "Exposure Time"  is a crazy value fraction:  "Exposure Time:41943/134217728 seconds"  if this is divided out it comes to .00032 (which is correct) what should normally be displayed is 1/3200 seconds.  Can someone look at code below from the exif.php and let me know what could be changed for it to behave this way?

case "ExposureTime":
if($top/10 == 1) $val = "1/" . round($bottom/10, 0);
if($bottom == 1) $val = $top;
  $val = $val . $txt['exif_' . strtolower($name) . '_1'];
  break;


case "ShutterSpeedValue":
$val = "1/" . round(pow(2, $this->get_str_val($val))) . $txt['exif_' . strtolower($name) . '_1'];
break


Thanks,
Lex

what gallery mod is that?

Chriss Cohn

#35
Just installed it, and i get a lot of these:
2: exif_read_data(1_25_12_07_041_JPG5da15524207a0eeb3ac2307fa18b463b)[<a href='exif_read_data#error_ifd'>exif_read_data</a>]:Process tag(x0006=ImageType ): Illegal pointer offset(xFFFFF452 + x0020= xFFFFF472 > x2414)
File: /home/www/web1/html/dgcm_forum/Sources/exif.php
Line: 46


Other problems from error-log (it seems it depends on the picture)
8: Undefined index:  exif_flash_80
File: /home/www/web1/html/dgcm_forum/Sources/exif.php
Line: 95

Whats the Problem?

MarkS

i get this when trying to install it
The package you tried to upload either is not a valid package or has become corrupted.
and i can not open the rar file as well

fatman

EXIF mod is updated.

1. Update for 2.0B3.
2. Fixed Bug on exposure value calculation.
Album http://fatmangallery.com [nofollow]
Blog http://www.tinha.org [nofollow]
Forum http://www.phototinha.com [nofollow]

Canon EOS-D60, EOS-30D, 50mm F1.4, 85mm F1.8, 16-35mm F2.8L, 28-70mm F2.8L, 70-200mm F2.8L IS, 550EX, 430EX, EF 2X II
Sigma 30mm F1.4, 10-20mm F4-5.6 EX, 18-200mm F3.5-6.3 OS, 28-300mm F3.5-6.3
Gitzo G1568 MK2, G1228 MK2, Foba Mini-Superball

MarkS

Quote from: fatman on March 28, 2008, 07:25:53 PM
EXIF mod is updated.

1. Update for 2.0B3.
2. Fixed Bug on exposure value calculation.
i still get this when installing The package you tried to upload either is not a valid package or has become corrupted.

fatman

Quote from: MarkS on January 26, 2008, 10:35:06 AM
i get this when trying to install it
The package you tried to upload either is not a valid package or has become corrupted.
and i can not open the rar file as well

rar? It is not a rar file on the mod site.
Album http://fatmangallery.com [nofollow]
Blog http://www.tinha.org [nofollow]
Forum http://www.phototinha.com [nofollow]

Canon EOS-D60, EOS-30D, 50mm F1.4, 85mm F1.8, 16-35mm F2.8L, 28-70mm F2.8L, 70-200mm F2.8L IS, 550EX, 430EX, EF 2X II
Sigma 30mm F1.4, 10-20mm F4-5.6 EX, 18-200mm F3.5-6.3 OS, 28-300mm F3.5-6.3
Gitzo G1568 MK2, G1228 MK2, Foba Mini-Superball

Advertisement: