Saturday 19 November 2005 6:09:29 pm
Thanks for the tip Roy! I have succesfully managed to adapt layer.tpl to make it return only the full url to the image generated by texttoimage:
content of layer.tpl: {$layer.imagepath|ezroot("single")} The "single" parameter adds single quotes to the url. Handy for applying this to the css statement. However, as you've mentioned, it has its drawbacks. I've seen that Imagefile() also makes use of this template. Sorry if this sounds crazy, but is there any way to create an override just for the texttoimage function? The perfect solution would be a method, function or a parameter to either image() or texttoimage() telling I only want the url of the image. So far I haven't found anything :(
|