Forums / Install & configuration / Image Scaling Issues / Reference image concept

Image Scaling Issues / Reference image concept

Author Message

Marco Zinn

Saturday 20 September 2003 12:52:11 pm

Hi Folks,

I've installed ezP3.2 on a Solaris system and we use ImageMagick for Image handling.
Problem: I cannot disable "ScaleLargerThanOriginal", because then, the reference image is not created. I guess, the problem is the > character in the geometry specification.
I had big trouble with this in ezP2 on a linux system with safe mode on, as the > character was escaped.
But this system has "safe mode off" (says phpinfo and ez system information).
Does anyone have a clue, what it could be? Solaris? ImageMagick version? Some Security "feature" in ezP, that escapes the shell command, despite of safe mode being off?
(The same setup _works_ with ezP3.2 on a linux installation: Safe mode off, ImageMagick, and "ScaleLargerThenOriginal" off).

The problem is: When I enable "ScaleLargerThanOriginal", everything works, but every reference image is very large (ie 600x600 pixels). Most of our pictures are smaller than this, so we will loose a lot of harddisc space for huge reference images.

A work-around would be to disable the reference image creation and create the needed variations directly from the original image file. Can this be done?
For us, reference images don't make much sence, as we will have a lot of small images. And images, that are larger then 600x600 usually are screenshots, which we need to display in "original" size.
Any hints are highly appreciated!

Marco
http://www.hyperroad-design.com

eZ debug

Timing: Jan 31 2025 03:42:05
Script start
Timing: Jan 31 2025 03:42:05
Module start 'content'
Timing: Jan 31 2025 03:42:05
Module end 'content'
Timing: Jan 31 2025 03:42:05
Script end

Main resources:

Total runtime0.1883 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 588.1797370.2656
Module start 'content' 0.00660.0112 958.44531,001.6250
Module end 'content' 0.01780.1705 1,960.07033,891.5391
Script end 0.1883  5,851.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00452.4159200.0002
Check MTime0.00150.7981200.0001
Mysql Total
Database connection0.00080.434910.0008
Mysqli_queries0.095650.77911410.0007
Looping result0.00120.63911390.0000
Template Total0.170190.310.1701
Template load0.00080.412610.0008
Template processing0.169389.885710.1693
Override
Cache load0.00050.290910.0005
Sytem overhead
Fetch class attribute can translate value0.00201.041310.0020
XML
Image XML parsing0.00030.147110.0003
General
dbfile0.00583.0980200.0003
String conversion0.00000.003030.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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