Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > WebsitePainter
HTML code... Enhancement

Lester Callif
Guest
Quote
2012-01-06 11:42:16

I have encountered an issue where I need to change the path given for an image to a variable. I would prefer to do this within the "HTML code..." area. The current code is:
<img src="wsp_images/abcdef.gif" id="wsp_4d4382a7" alt="" title="" />

What I want is:
<img src="{root_dir}abcdef.gif" id="wsp_4d4382a7" alt="" title="" />

Thanks,

Lester


niko
Moderator
Quote
2012-01-06 15:01:31

Hm, if you only want to change the directory for the images, you can change this in the settings (Publish -> Settings). The default is 'wsp_images', but you can change it to anything you want. If you leave it empty, this will go into the root directory then.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Intern?tional" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact