[wp-trac] [WordPress Trac] #6428: File URL option inserts wrong
code into post
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 27 22:44:55 GMT 2008
#6428: File URL option inserts wrong code into post
---------------------+------------------------------------------------------
Reporter: moshu | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.5
Component: General | Version: 2.5
Severity: normal | Keywords: image, upload, URL
---------------------+------------------------------------------------------
When you are on the Add Image popup and get an image uploaded or selected
from the media library, there is an option called Link URL. It has 3
preset options:[[BR]]
'''None'''[[BR]]
'''File URL'''[[BR]]
'''Post URL'''
'''None''' - works as expected.
However, the '''File URL''' which should make the image linked directly to
the image file, results in the same as '''Post URL''': the click goes to
the "attachment" view, creating/having an URL like
example.com/?attachment_id=XX
instead of what is displayed in the field when selecting "File URL":
example.com/wp-content/uploads/2008/03/mypic.jpg
I would expect that selecting "File URL" would result in an image
displayed in the post AND having a direct link to the image file itself.
Tested on a local install (XAMPP v.1.4.12)
Apache 2.0.53
PHP 5.0.3
--
Ticket URL: <http://trac.wordpress.org/ticket/6428>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list