When adding an image on to the wysiwyg editor, i click on link to add a link to an image and it all looks great. When publishing/saving the node the link doesn't work and actually appears above the image as a little (external link) arrow.

I check the code and it all looks fine (html)....

So I can't add links to any images I add through the wysiwyg using media.

Comments

effortDee created an issue. See original summary.

TwoD’s picture

Assigned: effortDee » Unassigned
Category: Bug report » Support request
Priority: Major » Normal
Status: Active » Fixed
Issue tags: -links, -images

Sounds like you need to reconfigure the text format (admin/config/content/formats) you assigned the editor profile to.

Wysiwyg module has nothing to do with actually rendering your content. If the markup looks OK after detaching the editor (click "Disable rich-text", Wysiwyg has done its job and something else (like a serverside filter active on your format) does something before the content is rendered.

Sounds like you may have External Link Filter or a similar module enabled.
A quick look at its code suggests it adds a class to any image found inside an external link. (Did not check what it considers "external" or whether that's configurable).

Are you using this together with Media module? If so, try re-ordering the filters for your format and see if that helps.

Other than those sugestions, I don't think there's much more I can do without more information.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.