Incorrect APP1 Exif Identifier.

Author Message

Romeo Antony

Sunday 28 November 2010 12:04:21 am

#015547: Exif-related issues

http://issues.ez.no/IssueView.php?Id=15547

http://issues.ez.no/IssueView.php?Id=15028&ProjectId=3&Anchor=Attachment6522

Still this issue has been seen as unresolved . Anyone knows fix fo this.

For some edited images, exif data is not taken .

Incorrect APP1 Exif Identifier Code in /var/www/html/ez/lib/ezimage/classes/ezexifimageanalyzer.php

Is this is can very badly affect my site. Can I discard it .

Please do a help

Regards

Romeo

Daisy Radix

Sunday 28 November 2010 3:32:09 am

Hello,

Try to replace :

if ( function_exists( 'exif_read_data' ) ) (line 62) by something like:

if ( function_exists( 'exif_read_data' ) && strpos ($printInfo['APP1'], 'Exif') === 0 )

I haven't tried it but it should work.

Daisy

eZ Publish certified developper :http://auth.ez.no/certification/verify/378142

Romeo Antony

Sunday 28 November 2010 4:03:20 am

Thankyou Daisy. it worked

Romeo

Daisy Radix

Sunday 28 November 2010 4:06:15 am

Does it work ?

eZ Publish certified developper :http://auth.ez.no/certification/verify/378142

Romeo Antony

Sunday 28 November 2010 4:13:09 am

Daisy it worked.

Thanks a lot

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 11:29:27
Script start
Timing: Jan 18 2025 11:29:27
Module start 'layout'
Timing: Jan 18 2025 11:29:27
Module start 'content'
Timing: Jan 18 2025 11:29:28
Module end 'content'
Timing: Jan 18 2025 11:29:28
Script end

Main resources:

Total runtime0.7397 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.3438152.6250
Module start 'layout' 0.00560.0027 741.968839.4531
Module start 'content' 0.00830.7303 781.4219558.9063
Module end 'content' 0.73850.0011 1,340.328112.1641
Script end 0.7397  1,352.4922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4020160.0002
Check MTime0.00130.1696160.0001
Mysql Total
Database connection0.00120.167410.0012
Mysqli_queries0.676791.4760630.0107
Looping result0.00070.0882610.0000
Template Total0.712796.320.3563
Template load0.00270.361120.0013
Template processing0.710095.981120.3550
Template load and register function0.00010.015310.0001
states
state_id_array0.00140.184310.0014
state_identifier_array0.00070.092620.0003
Override
Cache load0.00240.3270330.0001
Sytem overhead
Fetch class attribute can translate value0.00120.163920.0006
Fetch class attribute name0.00130.178670.0002
XML
Image XML parsing0.00270.360920.0013
class_abstraction
Instantiating content class attribute0.00000.0032100.0000
General
dbfile0.00280.3794220.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/header.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/header.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs