Hi,

I have a custom image insert template which looks like this:

<!--- @@displayname: Normal image --->
<cfoutput><img src="/images/#stobj.imagefile#" alt="#stobj.alt#"
title="#stobj.title#" /></cfoutput>

When I insert an image with the tinyMCE editor, it always seems to
prepend "../" to the src tag of the image, the image therefore does not
show.

I have also tried using the following template:

<!--- @@displayname: L2 Normal image --->
<cfoutput><img src="#application.url.webroot#/images/#stobj.imagefile#"
alt="#stobj.alt#" title="#stobj.title#" /></cfoutput>

but the problem is the same.

Furthermore, If I edit the src manually in the html edit window then
when I submit it, it prepends "../" again!

Does anyone know what I need to do to get this to work? I want the src
to look like this :

"#application.url.webroot#/images/#stobj.imagefile#"

Many thanks

Joe


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/farcry-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to