Image Field in page content

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
loicnvision
New Member
New Member
Posts: 5
Joined: Mon Dec 15, 2008 5:19 pm

Image Field in page content

Post 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?
User avatar
elfduck
Forum Members
Forum Members
Posts: 27
Joined: Thu Dec 18, 2008 6:45 am

Re: Image Field in page content

Post 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...
Well it computes a little...
cyberman

Re: Image Field in page content

Post 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 ;D ...

Try to use {content_image block='iblock' dir='images'} inside your template.
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

Re: Image Field in page content

Post 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 :)..
Post Reply

Return to “Layout and Design (CSS & HTML)”