4imagesMS and function exif_read_data... PHP has this own function (exif_read_data) since version 4.2.0, which can read the EXIF header data from JPEG/TIFF image files ...
... and it is a very important function for information of the images, or to generate Exif-Google-Maps a.s.o. ...
... 4imagesMS runs with PHP Version 4.3.11 ... but no function exif_read_data exist ...
Fatal error: Call to undefined function: exif_read_data()
... is there any way to insert or to activate this function for 4imagesMS ... ?
... to hide the error, I use this in my functions.php ...
if ((($file_extension == "jpg") || ($file_extension == "jpeg")) &&($detailed_view) && function_exists('exif_read_data')) {
$exif = exif_read_data ($media_src_exif,'IFD0');
... but in this way no EXIF-Infos are shown on details ...
Edit :
I found a solution ... - find in /usr/local/php/php.ini
;extension=php_exif.dll
- and replace by
extension=php_mbstring.dll
extension=php_exif.dll
- find in /usr/local/php/php.ini
extension=php_mbstring.dll
- and replace by
;extension=php_mbstring.dll
(
php_exif.dll : This extension requires that you load php_mbstring.dll
BEFORE it. So move the line: extension=php_mbstring.dll
ABOVE the extension=php_exif.dll line.
http://www.corephp.co.uk/archives/36-A-Guide-to-using-PHP-5-Extensions-on-Windows.html )
- and now we need the right (for php4.3.11) php_exif.dll ...
- I found a download of php_exif.dll
here ...
- save a copy of
php_exif.dll for your 4imagesMS in
/usr/local/php/extensions ...
- so ... all things are done ...
-
now Exif-Infos are shown on details and so 4imagesMS works perfect for me ...
thanks again manurom