Hi,
I would like to add an image inside the content area in the static pages plugin. I've uploaded this image into the ./img subfolder inside my template e.g.: ./templates/myblog/img/sample.gif
I'm searching for any possibility to do something like this
<img="{serendipity_getFile file="img/sample.gif"}"> however this does not work.
Can I use s9y function inside the HTML code of a static page?
cu,
Roaster
Adding image in static page plugin
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Adding image in static page plugin
No, sadly you can't. You need to use the full image path to put into your HTML code.
I think there is someone working on a Smarty markup plugin, so that you could use those functions. If not, I just added it to our Todo list.
Regards,
Garvin
I think there is someone working on a Smarty markup plugin, so that you could use those functions. If not, I just added it to our Todo list.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/