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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 01:29:54
Script start
Timing: Jan 31 2025 01:29:54
Module start 'layout'
Timing: Jan 31 2025 01:29:54
Module start 'content'
Timing: Jan 31 2025 01:29:54
Module end 'content'
Timing: Jan 31 2025 01:29:54
Script end

Main resources:

Total runtime0.0238 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.1328151.2109
Module start 'layout' 0.00520.0038 739.3438220.6875
Module start 'content' 0.00900.0130 960.0313997.7891
Module end 'content' 0.02200.0017 1,957.820329.9922
Script end 0.0238  1,987.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002811.8884140.0002
Check MTime0.00114.7257140.0001
Mysql Total
Database connection0.00093.748110.0009
Mysqli_queries0.00239.499530.0008
Looping result0.00000.055110.0000
Template Total0.00125.110.0012
Template load0.00104.099710.0010
Template processing0.00020.965610.0002
Override
Cache load0.00072.802610.0007
General
dbfile0.00020.948580.0000
String conversion0.00000.037140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs