WordPress.org

Support

Support » How-To and Troubleshooting » Make Image Attachments Default Link To Original Image

Make Image Attachments Default Link To Original Image

  • Supermerlion
    Member

    @supermerlion

    Hi. I have multiple users posting my blog. I need to know how to make all image attachments they upload link to the original image (instead of permalink) by default.

    Linking to original image seems to be the default setting for Administrators but Editors seem to default to permalink as the default link type.

    I need help since many of the posters are not particularly computer savvy.

Viewing 3 replies - 1 through 3 (of 3 total)
  • znoob
    Member

    @znoob

    After 6 months you may not need this anymore but I found the solution: There is a hidden options page in WordPress under http://yoursite/wp-admin/options.php
    On that endless list of undocumented options you can set a value for “image_default_link_type”. You may want to set it to “file” (without the quotes) to link all your images by default to the original image.

    Other options are “” (leaving it blank) and “post”. The latter one links to the permalink. The blank value is said to not link images by default but for me it defaulted to the permalink.

    Thanks to http://blog.aizatto.com/2010/05/04/changing-default-wordpress-media-link-url/

    Regards

    Tevya
    Participant

    @thefiddler

    Thanks for the info znoob. Not sure if Supermerlion used it, but I appreciate you posting it.

    “image_default_link_type” needs to be set to “none” to make it left blank by default.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Make Image Attachments Default Link To Original Image’ is closed to new replies.