Image way oversized?

Author Message

Clemens T

Monday 19 September 2005 5:10:40 am

Hey all,

I'm trying to upload an image to my site a bullet of 10x10 pixels. However when I add it to the site, the site resizes the image (for small: 100x100pixels.. large.. 300x300 pixels etc).

This occurs in 3.7.0 RC2, is this a bug? Off course I set all the geometry/scale to 100;100 for small etc... but it doesn't work.. it drives me crazy :).

Please help, thanks a lot!
Clemens

Kristian Hole

Monday 19 September 2005 5:22:01 am

If you use geometry/scaledownonly it will only scale images down if they are to big.

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

Clemens T

Monday 19 September 2005 5:31:13 am

But it doesn't scale the image down, it turns a
10x10 pixels image
into
100x100 pixels image?

When I use:

<embed ... size='small'>

in my article.

But I'll try your suggestion and let you know here if it works!

edit: WORKS GREAT! thanks! Now, I need to put the text next to the image (pfff)

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 19 2025 15:19:18
Script start
Timing: Jan 19 2025 15:19:18
Module start 'layout'
Timing: Jan 19 2025 15:19:18
Module start 'content'
Timing: Jan 19 2025 15:19:19
Module end 'content'
Timing: Jan 19 2025 15:19:19
Script end

Main resources:

Total runtime0.6563 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0089 590.5000152.6094
Module start 'layout' 0.00890.0043 743.109439.4141
Module start 'content' 0.01320.6417 782.5234530.7656
Module end 'content' 0.65490.0014 1,313.289112.1875
Script end 0.6563  1,325.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5393160.0002
Check MTime0.00150.2262160.0001
Mysql Total
Database connection0.00130.202310.0013
Mysqli_queries0.611293.1180570.0107
Looping result0.00040.0665550.0000
Template Total0.623495.020.3117
Template load0.00260.390520.0013
Template processing0.620894.585320.3104
Template load and register function0.00020.025410.0002
states
state_id_array0.00070.112910.0007
state_identifier_array0.00060.094620.0003
Override
Cache load0.00190.2852210.0001
Sytem overhead
Fetch class attribute can translate value0.00050.075720.0002
Fetch class attribute name0.00110.163240.0003
XML
Image XML parsing0.00070.107720.0004
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00200.2996160.0001
String conversion0.00000.001940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs