[wp-trac] [WordPress Trac] #10531: Intermediate image file naming scheme
WordPress Trac
wp-trac at lists.automattic.com
Sat Aug 1 10:57:57 UTC 2009
#10531: Intermediate image file naming scheme
---------------------------+------------------------------------------------
Reporter: stephanreiter | Owner:
Type: enhancement | Status: new
Priority: high | Milestone: 2.9
Component: Media | Version:
Severity: normal | Keywords:
---------------------------+------------------------------------------------
Scissors is a plug-in of mine that allows cropping of intermediate images,
e.g. thumbnails. Although this operation changes the dimensions of the
image, I decided against changing its filename to reflect the new
width/height in order to avoid breaking posts/links that reference the
image via its old name. This causes an inconsistency between the file name
and the actual contents.
Instead of appending {$width}x{$height} to the filename of intermediate
images, I'd like to see the intermediate name appended, e.g. 'medium' or
'thumbnail' to resolve this issue.
Also, this would simplify retrieval of intermediate images because the
database would no longer have to be queried to find the correct filename.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10531>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list