Forums / Install & configuration / Image caching

Image caching

Author Message

Joel Waltner

Wednesday 10 December 2003 8:52:13 am

I'm having trouble getting my images to configure correctly. My guess is that I'm missing a setting somewhere but not sure where. When I upload an image it correctly save to the storage catalog but not to the variations catalog.

<img src="/var/news/storage/variations/image/p/h/p" width="0" height="0" border="0" alt="" />

my image.ini looks like this
[ConverterSettings]
UseConvert=true
UseGD=true

What am I missing? Some other settings I need to change?

Ben Muller

Thursday 11 December 2003 9:22:11 am

I don't know if this will help, but I experienced a similar problem, which I resolved as noted in my post... http://www.ez.no/developer/ez_publish_3/forum/setup_design/uploaded_image_visible_in_admin_but_not_in_user_version

thanks! Ben

Joel Waltner

Friday 12 December 2003 5:45:00 am

Thanks for the tip Ben. From what I can deduce the problem doesn't seem to be where the images are being cached but that they aren't being cached, but that they aren't being converted properly. The images can be found in the var/news/storage/original directory but not the var/news/storage/variations/p/h/p directory, which is the path to them in both my admin and web sites. Does anyone out there have a suggestion as to why the images aren't being converted properly? Are my converter settings only part of the issue here and I'm missing something else?

Marco Zinn

Saturday 13 December 2003 11:21:43 am

Yes, it's probably a image conversion problem with GD or ImageMagick (what are you using?).
It MAY be a filesystem permission issue, but when you used the setip wizard, this checks for the right permissions.
I guess, you have no images in var/new/storage/reference ?
Enable Debugging (Look for "DebugOutput=disabled" and enable it in your site.ini and see, if ez complains about image conversion stuff.

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

Joel Waltner

Monday 15 December 2003 12:49:09 am

I tried debugging and that didn't help resolve the problem. My assumption has been that because my webhosting uses php 4.3.4 that GD will work. Is this an incorrect assumtion? If so how can I resolve this issue. Or better yet how can I find out if GD is running?

Gunnstein Lye

Wednesday 17 December 2003 9:37:47 am

See Set up -> System information. Check the list of PHP extensions.

eZ debug

Timing: Jan 31 2025 04:25:50
Script start
Timing: Jan 31 2025 04:25:50
Module start 'content'
Timing: Jan 31 2025 04:25:50
Module end 'content'
Timing: Jan 31 2025 04:25:50
Script end

Main resources:

Total runtime0.2929 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 587.9219180.8438
Module start 'content' 0.00660.0058 768.765697.8672
Module end 'content' 0.01230.2804 866.6328526.4766
Script end 0.2928  1,393.1094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00351.2014200.0002
Check MTime0.00140.4733200.0001
Mysql Total
Database connection0.00080.270510.0008
Mysqli_queries0.241182.34391410.0017
Looping result0.00130.45491390.0000
Template Total0.280095.610.2800
Template load0.00090.296310.0009
Template processing0.279295.326210.2792
Override
Cache load0.00060.200410.0006
Sytem overhead
Fetch class attribute can translate value0.00070.232510.0007
XML
Image XML parsing0.00030.096010.0003
General
dbfile0.01023.4724200.0005
String conversion0.00000.002530.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