Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

When I place a photo or image in a page/post WP automatically applies a link to the image, and when a mouse goes over the image it indicates that it is a link, and if you click it, it just opens a page with the image in it.

Since I place the images at their largest size, clicking them does not open a page with a bigger version, etc. So it seems pointless. A client asked me to make the images "not-linked" which I did by simple removing the

Is there any way around this?

Thanks!

share|improve this question
remove the <a> tag from the image. it may look like <a href="LINK_TO_MAIN_FILE"><img src="LINK_TO_MAIN_FILE" /></a>. After you remove the anchor tag, it will be like <img src="LINK_TO_MAIN_FILE" />! Isn't that you want? – HungryCoder Jun 18 '12 at 17:17
That's what I've been doing and it's fine except the images don't show up in IE8. Sorry, I see I didn't put code marks around that in my first post so it isn't clear that that's what I've been doing. – PVA Jun 18 '12 at 17:55
yes, can you please edit the question and put your codes? – HungryCoder Jun 18 '12 at 19:01
Actually, I've found the problem and it's my fault -- I had just moved the site from a subfolder to the root. I had to updated link locations and everything is fine. Sorry and Thanks for trying to help! – PVA Jun 18 '12 at 20:06

closed as too localized by Stephen Harris, toscho Jul 13 '12 at 22:27

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

1 Answer

Actually, I've found the problem and it's my fault -- I had just moved the site from a subfolder to the root. I had to update link locations and everything is fine. Sorry and Thanks for trying to help! –

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.