News:

Join the Facebook Fan Page.

Main Menu

EXIF

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

Previous topic - Next topic

MarkS

#40
ooh sorry .zip file still it wont open or install through the forum,
could you tell me how to install it then

i still get this

An Error Has Occurred!
The package you tried to upload either is not a valid package or has become corrupted. 


fatman

Then, don't know why.  The error message of SMF sometimes is not quite explicit.
If you able to unzip the file in PC, then mostly because the SMF_install/Package/ folder problem.  The permission of Package or Package/temp may make some error.
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

sorr no i said before it will not un zip

daveb93

Anyone have an idea about this error

Whenever an image is called up

8: Undefined index: id_attach
File: /var/www/mysite/forum/Sources/Display.php
Line: 1241


daveb93

Ok I have figured out that the 2.0 version is for the 2.0 B3
and saddly the 1.3 version the zip is corrupt ... so my question is ... is there a way to retrofit the 2.0 to work on 1.14


MarkS

Quote from: aacosta82 on December 12, 2006, 01:37:21 PM
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 http://php.net/curl ).

Check how it works at http://www.circulo-polar.com/



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.


where can i get your modded version from?

Colyn

Is there a version that will work on 1.1.5 please.

Thanks.

MarkS

yep i have Exif 2.0 installed on my site

just need it to show photos out of the forum

locau

Quote from: aacosta82 on December 12, 2006, 01:37:21 PM
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 http://php.net/curl ).

Check how it works at http://www.circulo-polar.com/



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.

I need this, can anyone please share?

Images are stored on imageshack.us and atm it can't read there exif info

nicor2k

Hi everybody, I made a german translation of the language-file (at least the terms I could translate, but its the commonly used stuff, so better than nothing :). If anyone is interested?

I also modified the look a little, so the EXIF text ist not only written beneath the image but displayed by a mouseover on top of the image - maybe you'd like to take a look, I personally think it looks really nice :)

EXIF example with great butterfly-picture from a board-member:
http://www.computerhilfen.de/hilfen-19-251732-0.html


Thanks fatman for the plugin!

locau

i keep getting this error:

8: Undefined index: exif_orientation_0
Ficheiro: /storage/hosting/mysite/www/Sources/exif.php
Line: 95

anyone have any clue what could be causing this?

nicor2k

If you get the error message "exif_read_data(NAME.JPG): Incorrect APP1 Exif Identifier Code", you should try to change one line in /sources/exif.php:

serach for line 44: $exif = exif_read_data ($file,'IFD0');

and change it into:  $exif = @exif_read_data ($file,'IFD0');



locau

Quote from: nicor2k on October 29, 2008, 12:52:12 PM
If you get the error message "exif_read_data(NAME.JPG): Incorrect APP1 Exif Identifier Code", you should try to change one line in /sources/exif.php:

serach for line 44: $exif = exif_read_data ($file,'IFD0');

and change it into:  $exif = @exif_read_data ($file,'IFD0');


thanks for this fix, it solve me the error (weird is that only a few days ago started showing


Another fix you can make if by change appears to you

8: Undefined index: exif_orientation_0
Ficheiro: /storage/hosting/mysite/www/Sources/exif.php
Line: 95


Open exif.english.php or your language file,
search for // EXIF tag value
add after
$txt['exif_orientation_0'] = "";

AlkaSeltxer

Undefined index:  id_folder
File: /home/*******/public_html/*******/Sources/Display.php
Line: 1244


Any ideas?
~Josh~
Over 16 keyboards lost to raging.

ceewee

#54
Have 1.1.9. and installed 2.0 but shows no exif data, while smfmedia gallery 1.5.6
does!?

Should it somewhere be enabled?


BTW tried version 1.3 and package manager says
An Error Has Occurred!
The package you tried to upload either is not a valid package or has become corrupted.

update: uninstall and reinstall show no error even when repeated !?

ceewee

Says Compatible With:
    2.0 Beta 3 Public   installed that but no luck no exif, where can I enable it?


trekkie2444

I know it's pretty doubtful that this will ever get updated again, but when I install it, I get lots of funky sized text and no visible EXIF.

roshaoar

Old mod, but I got it to work on 2.0.10 by fiddling a bit. I understand that it's unlikely, but if fatman ever revisits this - "filter_control = true/false" enables more info, but is there a way to enable all? Or is there a way to easily show some of the makerData?

Thank you for your time,

-Johan

acsieben

This used to work a while back but stopped working in the meantime, using PHP 7.1 (exif is running, as confirmed via php info). One thing I should mention is that the most current version is 2.1 but the XML file is not updated - it will state 2.0 anyway in the SMF installation.

Essentially I get these kinds of errors with all images:
Quoteexif_read_data(11517_2675c464a016245ec839be353e3998eb1bb51abe): IFD data bad offset: 0xFFFFFD14 length 0x0EC

QuoteMethods with the same name as their class will not be constructors in a future version of PHP; exif_parser has a deprecated constructor

The first one I just made it hide from the logs by adding an @ to the exif_read_data function calls.
Quote$exif = @exif_read_data ($file,'IFD0');
Quote$exif = @exif_read_data ($file,0,true);

Cheers


live627

find in exif.php

function exif_parser($file) {


replace with

function __construct($file) {

Advertisement: