Wednesday 21 April 2004 4:41:59 pm
Hi Tony!
We have always put pictures in the xml-fields by using the add related objects, and then use insert object in the editor. BUT, put a link on an image have never worked for us :/ I've tried it a hundred times, but with no luck. All our upgrades are made by the ez team, and also the OE upgrades. I then thought that this was not supported in the ez-editor, so I created an attribute on the Image-class called Link. And here could every user add a link to an image, and when adding an image in the editor through related objects and then insert, the image was then clickable. Pretty silly done actually. I have now removed this code I added from embed_class_5.tpl, but adding links to images still don't work. When I add a link(insert link) to a related image in the editor, the code which is stored is correct, but the images will not be clickable. Maybe someone from the ez team can answer this question, since they set up this system..we're soon going to have a course in howto add links to images etc., so this thing has to be operative. The code from the xml-field which I tested to put a link on an image is like this:
<object id="23791" size="medium" align="center" href="http://www.ez.no/" target="_self" />
...but it's not working :(
|