[wp-trac] Re: [WordPress Trac] #7278: Special characters in the
EXIF data confuse wp_get_attachment functions
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 14 19:05:11 GMT 2008
#7278: Special characters in the EXIF data confuse wp_get_attachment functions
-----------------------+----------------------------------------------------
Reporter: arminbw | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.6
Component: General | Version: 2.5.1
Severity: normal | Resolution:
Keywords: exif iptc |
-----------------------+----------------------------------------------------
Changes (by arminbw):
* keywords: exif => exif iptc
Comment:
The second attached image (no_thumb_no_middle.jpg) contains no EXIF data,
only a single IPTC entry featuring a copyright symbol (a not so
unrealistic scenario).
After uploading, a thumbnail- as well as a middle-sized image are created.
But "wp_get_attachment_image($imageid, 'medium', false)" will only return
the full-size image, thus breaking all layouts.
--
Ticket URL: <http://trac.wordpress.org/ticket/7278#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list