Forums / Setup & design / Image size in an article

Image size in an article

Author Message

Peter Schnuerer

Monday 14 July 2003 4:28:30 am

How can I change the size of an image in an article? Is it possible to put images between text parts or are they always put at the end?

Valentin Svelland

Monday 14 July 2003 4:34:28 am

You can define imagesizes in your site.ini file under [Image settings] :

SmallSizeWidth=100
SmallSizeHeight=50
MediumSizeWidth=150
MediumSizeHeight=75
LargeSizeWidth=600
LargeSizeHeight=600
ReferenceSizeWidth=600
ReferenceSizeHeight=600

Modify article.tpl and line_article.tpl (/design/yoursite/override/templates/) to show images elsewhere in the text.

Bjørn Kaarstein

Monday 14 July 2003 4:58:59 am

It's also possible to use size='original' , besides small, medium or large.

If you use object relation in an XML-field instead of an image in the article, you can basically put your pictures where you want them, by using ordinary HTML tables.

Bjørn