[wp-trac] [WordPress Trac] #24019: Allow user to specify image size when selecting "Media File" as "Link To" target for image attachments.
WordPress Trac
noreply at wordpress.org
Wed Apr 10 00:39:26 UTC 2013
#24019: Allow user to specify image size when selecting "Media File" as "Link To"
target for image attachments.
-----------------------------+-------------------------
Reporter: dfcowell | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Media
Version: trunk | Severity: normal
Keywords: has-patch |
-----------------------------+-------------------------
Currently selecting "Media File" as the "Link To" target causes an
embedded image to link to the originally uploaded file. These files can
be very large and there is no way to non-destructively resize them on
upload while retaining this "Link To" functionality.
This enhancement patch adds a drop down list of available image sizes to
the form (defaulting to Full Size - the existing behaviour) when "Media
File" is selected, allowing the user to link to custom image sizes as
specified in their themes or plugins if desired.
[[Image(http://dfcowell.net/wp-
content/uploads/2013/04/attachdisplay.png)]]
[[Image(http://dfcowell.net/wp-
content/uploads/2013/04/attachdisplay2.png)]]
This is a significant improvement over default functionality, especially
when used in conjunction with a lightbox plugin. It allows the user to
retain the full-size image on the server while being able to specify a
link to a smaller size if desired.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24019>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list