Ticket #598 (closed Bug: duplicate)

Opened 3 months ago

Last modified 3 months ago

Image library fails on images with capital letter extensions such as JPG

Reported by: tterragcnoom Assigned to: - No owner -
Priority: minor Milestone: 2.1.2
Component: Libraries:Image Version: SVN HEAD
Keywords: Cc: garrett@pwgdesign.com
SVN Revision (if applicable):

Description

change line 50 of system/libraries/dirvers/Image/GD.php to:

switch (strtolower(substr($file, strrpos($file, '.') + 1)))

to fix.

Change History

(in reply to: ↑ description ; follow-up: ↓ 2 ) 05/07/08 22:18:16 changed by rick

Replying to tterragcnoom:

change line 50 of system/libraries/dirvers/Image/GD.php to: switch (strtolower(substr($file, strrpos($file, '.') + 1))) to fix.

Duplicate of ticket 590.

(in reply to: ↑ 1 ) 05/07/08 22:56:24 changed by tterragcnoom

  • status changed from new to closed.
  • resolution set to duplicate.

Replying to rick:

Replying to tterragcnoom:

change line 50 of system/libraries/dirvers/Image/GD.php to: switch (strtolower(substr($file, strrpos($file, '.') + 1))) to fix.

Duplicate of ticket 590.

Indeed.