[xwiki-users] Issue with adding a hyperlink to an image using the WYSIWYG editor
Pleeeeease help!!! this is something I thought would be really trivial but it seems not!! In the WYSIWYG editor I have inserted an image, used the add link to add a link to the image (as a file attachement) and clicked 'save and view'. The resultant page does not display the image, instead it shows {image:projector.gif|ReplaceTravelerData.wmv} The code the WYSIWYG editor has produced (that is clearly not being interpreted properly) is: {attach:{image:projector.gif|106|106}|ReplaceTravelerData.wmv} Can anyone save my sanity and point out the obvious mistake?? Many Thanks Steve Borrett *********************************************************************************** This e-mail and attachments are intended for the above name only and may be confidential. If they have come to you in error, you must take no action based on them, nor must copy or show them to anyone; please reply to this e-mail and report the error. Security warning: Please note that this e-mail has been created in the knowledge that the internet is not a one hundred percent secure communication medium. We advise that you understand and observe this lack of security when e-mailing us. Virus: Although we have taken steps to ensure that this e-mail and attachments are free from any virus, we advise that in keeping with good practice the recipient should ensure they are actually virus free. If you have received this e-mail in error please notify: [email protected] This message has been scanned for viruses by MailControl - www.mailcontrol.com
Steve Borrett wrote:
Pleeeeease help!!! this is something I thought would be really trivial but it seems not!!
In the WYSIWYG editor I have inserted an image, used the add link to add a link to the image (as a file attachement) and clicked 'save and view'.
The resultant page does not display the image, instead it shows {image:projector.gif|ReplaceTravelerData.wmv}
The code the WYSIWYG editor has produced (that is clearly not being interpreted properly) is: {attach:{image:projector.gif|106|106}|ReplaceTravelerData.wmv}
Can anyone save my sanity and point out the obvious mistake??
Many Thanks Steve Borrett
The current WYSIWYG editor is kind of deprecated, so it doesn't support linking to an image. You must enter in the wiki (text) editor: {image:projector.gif|link=true} More information on the Image macro here: http://code.xwiki.org/xwiki/bin/Macros/ImageMacro -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (2)
-
Sergiu Dumitriu -
Steve Borrett