phpBB Gallery - Bug tracker

Problem with exif data (fix completed in git)

 

I successfully updated my gallery to version 0.4.1 and I found out 1 strange thing - in exif data, there is 1 information without displayed name (see here). It is between ISo and flash and has value Auto.

Comments

Posted by begemont » Sun Dec 28, 2008 9:16 pm

Code: Select all
        if (isset($exif["EXIF"]["WhiteBalance"]))
        {
            $exif_data['exif_whitebalance'] = $user->lang['EXIF_WHITEB_' . (($exif["EXIF"]["WhiteBalance"]) ? 'MANU' : 'AUTO')];
        }

lines calls errors in header

[phpBB Debug] PHP Notice: in file /gallery/image_page.php on line 249: Undefined index: EXIF_WHITEBALANCE

I remove this lines, wait for fix

Posted by JirkaX » Sat Jan 03, 2009 11:17 am

Hi, do you have any news regarding fix? Thanks

Posted by nickvergessen » Sat Jan 03, 2009 1:23 pm

I can't upload to the SVN right now, so find:
Code: Select all
$exif_data['exif_whitebalance']
replace with
Code: Select all
$exif_data['exif_whiteb']

Posted by JirkaX » Sat Jan 03, 2009 2:19 pm

thanks, it works fine
BTW for the others - it is file image_page.php

Posted by nickvergessen » Sat Jan 03, 2009 4:48 pm

    [svn-file]http://code.bantux.org/repositories/diff/phpbb-gallery/trunk/root/gallery/image_page.php?rev=865&rev_to=857[/svn-file]

Ticket details