How To Set Default Attachment Display Settings In WordPress?
describes how to set the default link behaviour for embedded images for self-hosted WordPress.
How do you do this in WordPress.com blogs?
It is such a pain having to manually set this preference *every* time you include an image.
The blog I need help with is geotopoi.wordpress.com.
Unless you’ve disabled it, the Photo Carousel is the default display for images displayed via the Gallery feature. If you disabled it, then you have your choice of None, Attachment page or Media file.
For individual images, WordPress.com is supposed to remember the last choice you made in the Media Uploader/Handler. I assume by your comment that this is not working for you?
I’m using Add Media / Insert Media / Media Library and selecting individual images to insert into posts.
The Attachment Display Settings / Link To option always defaults to ‘Media file’, even when I have previously selected ‘Attachment Page’.
Also, do you delete your browser cookies/cache each time you shut down your browser?
Chrome Version 30.0.1599.101 m
Flash version 11.9.900.117
Cookies are not deleted and the cache not cleared on browser exit.
Looking at your sites, the only thing I can think to suggest besides using the Gallery feature (default is the overlay Photo Carousel), which you don’t appear to be using, or you could simply select multiple images to insert at once.
Choose your images (after adding captions, etc.), pick the image size, select “Link to Attachment page” and double check that all your images show the same settings and when you click the “Insert into post” button, they all should be inserted in your post and linked to the Attachment page.
Thanks for your suggestions, Jen.
I’ll probably just live with having to set this option every time.
The reason I don’t insert multiple images at once is that I usually change the order of the images from that in the media library. All that cutting and pasting afterwards would outweigh any saving gained in not having to select from the dropdown for each one.
Actually, I have just tried a test of this. It appears that with multiple images selected, changing the ‘Link To’ dropdown setting only applies to the currently highlighted item of the multiple selection. Pretty flaky behaviour, really.
I’ve just gone through my Media Handler after previously inserting multiple images with the link to Attachment page selected and on every image I click on, it’s still showing Attachment page as the current linkto selection. I don’t know why this isn’t happening for you, we’re both using the same browser and settings, so I’ll tag this for a staff assist.
The media uploader should be “remembering” your last choice. I just tested it myself: I uploaded some images, and as I did so I switched from attachment page to media file, and saved that post. Then I created a new post, and when I went to upload images it defaulted to media file automatically.
Hi Jackie. I’m pleased it is working for you, although sadly that doesn’t help me any. For me, the setting reverts to Media File on the next insert within the same post after having changed it for the previous item to Attachment Page, never mind remembering it between posts.
Is there no way of setting image_default_link_type and making it stick?
Is it something to do with the theme (The Journalist v1.9) I’m using?
The setting should update when you save a post. I just tested it in Journalist 1.9 and it still works.
Just so I’m clear: you create a new post, and add media. From there you upload images, change them to attachment page, and insert them, and save the post. Next time you do the same thing but the setting has defaulted back to media file?
You are running Windows?
Can you try a different browser to see if the behavior is the same or works as designed?
Yes, Windows 8 64 bit.
1. Posts / Add new
2. Add Media / Select item from Media Library – Link To is ‘Media File’, so change the dropdown selection to ‘Attachment Page’ / Insert into post
3. Repeat 2 with different item from Media Library – Link To has reverted to ‘Media File’, so change it again.
4. Save Draft
5. Repeat steps 1-4 with new post – Link To is always defaulting to ‘Media File’
In addition to Chrome, I get identical behaviour in:
Hi Jackiedana- we’re both using Chrome 30 and where it works for me (remembering the last choice), it isn’t working for the OP. Since there are many photos on his site that link to the Media file and not an attachment page, I have to wonder if this may be a problem with selecting an item from a drop down menu as described here. https://en.forums.wordpress.com/topic/difficulty-updating-my-profile
Off to try it in FireFox.
I’m on Win7Pro
Everything works as expected for me in FF24
@gastepen, again, you can insert multiple images at the same time, no need to insert one by one. You can make any necessary changes in the Media Handler before inserting them in your post.
Of course still doesn’t solve why your settings seem to keep reverting to “media file”. :(
I’m at a loss here since we can’t reproduce this issue. @gastephen, have you tried selecting attachment page for the setting when creating a gallery? Does that make any difference?
@justjennifer, thanks, but again, inserting multiple creates more work in re-ordering afterwards.
@jackiedana, interestingly the option defaults to ‘Attachment page’ when creating a gallery, but again does not remember its setting if this is changed.
Just out of interest, are you trying to reproduce this on Win 8?
It looks like this is something specific to your blog. I have reported it to our developers and I’ll let you know what I find out.
@jackiedana, thanks very much for your help. will look forward to hearing the outcome of this.
Hello, I would like to join in the thread – I have the same issues as gastephen and I am using a Mac with Safari browser. When adding a group of images to a gallery and selecting attachment page only one of the images is loaded as attachment – so it is less time consuming in the long run to add images one by one.
The topic ‘How To Set Default Attachment Display Settings In WordPress?’ is closed to new replies.