Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Getting Exif running on Coppermine V1.1 & 1.2  (Read 3478 times)

0 Members and 1 Guest are viewing this topic.

slash

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Getting Exif running on Coppermine V1.1 & 1.2
« on: November 27, 2003, 09:29:20 pm »

hi

I ve had running coppermine 1.1 for about 3 Month.
On this version, i played a little bit with the scripts and i´ve installed successfully the exif function.
After upgrading to version 1.2 today (great job from the programmers)
without any problems, my exif isn´t running anymore.
An error occures from somehing like my php doesn´t support exif.
After a look in my php.ini, my php does support exif.
someone wrote in this board that exif can run either if exif is checked or not in the php.ini. okay......
I searched in my old scripts from version 1.1 how i get exif running. so I changed the same lines in the Version 1.2 and now, exif is working good.
I am runnung  coppermine on windows 2000 with php 4.2xxx
In the file: displayimage.php i changed the following lines near line 30
to:
//if ($CONFIG['read_exif_data'] && function_exists('exif_read_data')) {
include("include/exif_php.inc.php");

//} elseif ($CONFIG['read_exif_data']) {
//    cpg_die(CRITICAL_ERROR, 'PHP running on your server does not   support reading EXIF data in JPEG files, please turn this off on the config page', __FILE__, __LINE__);
//}

that means, the only thing I have done is to comment out a few lines.
I have to say, i have no plan from php :-)
but on version 1.1 I searched the internet for exif and I have found
some exif files I used instead of the originals:

php_exif.dll put it in php\extensions and system32
exif.php in the include dir
exif_php.inc.php in the include dir
i am not realy sure wich of the last 2 files are not the original coppermine files but after this, my exif is working well.

I know, the changings in the displayimage.php is a bad hack, but on my system, it works now.
If there is anybody intersting in these changed files  and the dll i will give a link for downloading these files.

//slash
Logged
//slash

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Getting Exif running on Coppermine V1.1 & 1.2
« Reply #1 on: November 28, 2003, 09:04:59 am »

Logged

mrpink200

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Getting Exif running on Coppermine V1.1 & 1.2
« Reply #2 on: November 29, 2003, 03:51:11 am »

i'm fed up trying to make exif appear .................. 5 hours trying in 1.1d  then in 1.2rc3


so, now i got a clean phpnuke 4.91 with coppermine 1.2 RC4 working... on my easyphp1.6 ..... but with no exif
i'd really like to have 1 zip file with all the necessary php file configured to make exif work.

i've tried the things in the last topic, but nothing appens.. and i have exif tag !!!!!!!!

can someone help ?????????????, pleeeeeeeeeeeeeeeeeeeeeeeeeez
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Getting Exif running on Coppermine V1.1 & 1.2
« Reply #3 on: November 29, 2003, 09:32:30 am »

maybe you'll want to take a look at the most recent dev version code (standalone only, no phpnuke integration yet): it features exif support (using Tarique's exif class), no matter if your server supports exif or not.
Warning: as it's dev code, it comes with absolutely no warranties or whatever, only use it at your own risk, without support and if you're comfortable with dev builds. Remember to backup everything you have before experimenting with it. Get it by web cvs: http://cvs.sourceforge.net/viewcvs.py/coppermine/devel/

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.