[wp-trac] [WordPress Trac] #22985: Edit thumbnail image only - loses all sub sizes in attachment meta
WordPress Trac
noreply at wordpress.org
Tue Dec 18 00:52:48 UTC 2012
#22985: Edit thumbnail image only - loses all sub sizes in attachment meta
-----------------------------+--------------------------
Reporter: lewismcarey | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Media
Version: 3.5 | Severity: major
Keywords: |
-----------------------------+--------------------------
I have several additional image sizes in my theme. When I crop an image
and save over only the thumbnail, all references to the various sub-sizes
are lost and only the new thumbnail is referenced in
_wp_attachment_metadata.
Add an image to the media library.
Output _wp_attachment_metadata.
Edit the image (crop).
Save only the thumbnail.
Output the relevant _wp_attachment_metadata.
This may be an issue with wp_save_image() not re-genarating subsizes from
the original.
I believe this to be different from Ticket #19889 as it appears to remove
references to default sizes from media settings screen.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22985>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list