Does "ScaleLargerThenOriginal=false" work?

Author Message

Alex Jones

Tuesday 29 July 2003 7:42:35 am

Even though I have included ScaleLargerThenOriginal=false in both the site.ini and site.ini.append files, images are still being scaled larger than their original size when displayed in the browser. Is this not supported right now?

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Alex Jones

Wednesday 13 August 2003 11:52:27 am

Is anyone else having this problem?

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Bård Farstad

Thursday 14 August 2003 7:37:13 am

Yes, it does work but only with convert. This is not supported with GD yet. GD will always scale larger.

BTW: there is a spelling error. It should be "Than" instead of "Then", if I'm not mistaking. I will change this for 3.2, but keep compatibility if you have the old spelling.

--bård

Documentation: http://ez.no/doc

Alex Jones

Thursday 14 August 2003 7:40:50 am

Ahh! That explains it. :) I am using GD and was going nuts trying to get it to work. Is there any chance of having the capability added for those of us using GD? Or is there a quick change I can make to the code on my end to enable the functionality?

As you mentioned the spellling does need to be changed.

Thanks for letting me know.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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 18 2025 11:44:16
Script start
Timing: Jan 18 2025 11:44:16
Module start 'layout'
Timing: Jan 18 2025 11:44:16
Module start 'content'
Timing: Jan 18 2025 11:44:17
Module end 'content'
Timing: Jan 18 2025 11:44:17
Script end

Main resources:

Total runtime0.6735 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0104 589.4375152.6250
Module start 'layout' 0.01040.0037 742.062539.4453
Module start 'content' 0.01410.6579 781.5078550.2422
Module end 'content' 0.67190.0015 1,331.750012.1406
Script end 0.6735  1,343.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5547160.0002
Check MTime0.00160.2405160.0001
Mysql Total
Database connection0.00110.168210.0011
Mysqli_queries0.615691.3998600.0103
Looping result0.00060.0896580.0000
Template Total0.631293.720.3156
Template load0.00200.300420.0010
Template processing0.629293.416320.3146
Template load and register function0.00010.015810.0001
states
state_id_array0.00100.143610.0010
state_identifier_array0.00180.267420.0009
Override
Cache load0.00160.2437210.0001
Sytem overhead
Fetch class attribute can translate value0.00070.104120.0004
Fetch class attribute name0.00130.188160.0002
XML
Image XML parsing0.00090.129820.0004
class_abstraction
Instantiating content class attribute0.00000.002480.0000
General
dbfile0.00100.1415230.0000
String conversion0.00000.001340.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 5

Time used to render debug report: 0.0001 secs