Remove automatic links by default when adding images to your pages and posts in WordPress
When you insert images from your gallery in WordPress you will notice that all your images are linked with the url to your original image upload. Notice also that WordPress suggests a link in the Link URL field. Under the field you will also have 3 buttons, “None”, “File URL” and “Post URL”. If you don’t want the link to be created you can choose “None” and you notice also that the content in Link URL field will be gone.
This default behaviour can be changed if you’d like your images not to be automatically linked. Preferably in your templates function.php file so you can make sure you can update WordPress later with no lost setup.
update_option('image_default_link_type','none');
The other options are 'file' and 'post'.
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.