Page 1 of 1
Image Field in page content
Posted: Mon Dec 15, 2008 5:26 pm
by loicnvision
Hello,
I'm a neewby in CMSMS and I'd like to use the image field of page content to illustrate my page title.
Unfortunately, i don't know how could I display the selected image. I try with the tag "{image_content}", but it doesn't work.
Could somone help me?
Re: Image Field in page content
Posted: Thu Dec 18, 2008 6:56 am
by elfduck
I for one have never even heard of a tag "{image_content}", if there is such a thing, please point me to the correct info/module page... I might be able to help you after reading that
If you are trying to put page title on an image, you could create a div over an image and put "{title}" in it...
Re: Image Field in page content
Posted: Thu Dec 18, 2008 7:10 am
by cyberman
loicnvision wrote:
Unfortunately, i don't know how could I display the selected image. I try with the tag "{image_content}", but it doesn't work.
Correct characters, wrong order

...
Try to use {content_image block='iblock' dir='images'} inside your template.
Re: Image Field in page content
Posted: Mon Dec 29, 2008 9:22 am
by christiaans
I reckon (if I have interpreted the question properly), using something like:
(for XHTML)
is more convenient, since you can then style everything you want, and the image is relative to the page you are on..
just my 2 cents though

..