[wp-trac] [WordPress Trac] #5933: Image size options
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 20 10:41:09 GMT 2008
#5933: Image size options
-------------------------+--------------------------------------------------
Reporter: tellyworth | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.5
Component: General | Version:
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
This adds some image size options and scaling features. The single image
upload form now has a Size option with three choices: Thumbnail, Medium
and Full Size. Selecting Thumbnail or Medium will automatically add a
link to the attachment page if a URL is not specified by the user; Full
Size includes no link unless one is specified. The dimensions for
thumbnails and medium sized images can be set on the Options/Writing tab.
The images aren't actually resized (yet); browser scaling is used to fit
the image within the specified dimensions. There's a filter hook that
could be used to create and cache an intermediate sized image file to save
bandwidth.
I've also moved some general image functions out of media.php and into a
new wp-includes/image.php file. There's still some work that needs to be
done in consolidating the single and multi upload forms and code.
--
Ticket URL: <http://trac.wordpress.org/ticket/5933>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list