Page 1 of 1

Image Template Help

Posted: Tue Sep 19, 2006 5:40 pm
by baby2boy
Hi Everyone,

First post so please be kind.  ;D

Been playing around in the demo and there is so much to see that I seem to have lost one of the major things I might require for this to work on a particular site. Please help: I thought I saw a way of creating a small image gallery, which could go in the third column of my template enabling me to add say 3 images from the server using a particular image template (from what I remember) without having to create thumbnails and adding links to the larger image from the wysiwyg; so basically all I'd do is choose the images, choose the template/layout and press save..... page relevent mini-gallery sorted.

Could somebody either tell me I'm tripping, thinking of something else or point me in the right direction?

Many thanks in advance and nice to meet you all.

Regards
Jon

Re: Image Template Help

Posted: Sat Sep 30, 2006 12:02 am
by Dr.CSS
There are numerous ways to add images to a page, the simplest way is to have a content edit box in the template {content block='images'} then when you edit the page you can just add images to that box...
But then you can go farther with the album module or the Image tag...

Help for the image tag
What does this do?

Creates an image tag to an image stored within your images directory
How do I use it?

Just insert the tag into your template/page like: {image src="something.jpg"}
What parameters does it take?

    * (required) src - Image filename within your images directory.
    * (optional) width - Width of the image within the page. Defaults to true size.
    * (optional) height - Height of the image within the page. Defaults to true size.
    * (optional) alt - Alt text for the image -- needed for xhtml compliance. Defaults to filename.
    * (optional) class - CSS class for the image.
    * (optional) title - Mouse over text for the image. Defaults to Alt text.
    * (optional) addtext - Additional text to put into the tag