ezpublish processing images on *every* page load

ezpublish processing images on *every* page load

Friday 29 February 2008 4:07:24 am - 3 replies

Author Message

Xavier Dutoit

Monday 03 March 2008 3:58:52 am

Hi,

That's what it's supposed to do by default.

Are you sure your image cache is writable ? what about the modification date ? are you sure you don't have a backup process or something that updates the modification time of the images ?

(no idea why it does that)

X+

http://www.sydesy.com

Kristof Coomans

Monday 03 March 2008 5:47:25 am

Hi

If you're using eZ Publish 4.0.0, this might be caused by http://issues.ez.no/12386. This issue is fixed and eZ Publish 4.0.1 (release date unknown) will include this fix.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

stephen Gazard

Wednesday 05 March 2008 3:55:39 am

Sorry for the lack of details. I wrote that initial post a bit hastily.

I'm using eZpublish 3.8.10 (I know it's not supported). The cache is writable (CHMOD 0755). I don't have the cron job running (probably should but can't get that working without knocking over the site, I think).

The images are certainly created, with proper dates on them. All the image aliases are being generated, but it seems ezpublish is ignoring them.

The settings for the cache (that I can find; I could be missing things) are as follows. Note, the override and siteaccess settings are further down the page:
/settings/site.ini

[RoleSettings]
EnableCaching=false

[RegionalSettings]
TextTranslation=enabled
TranslationCache=enabled

[FileSettings]
CacheDir=cache

[TemplateSettings]
NodeTreeCaching=disabled
TemplateCache=disabled

[ContentSettings]
CacheThreshold=60
PreviewCacheUsers[]
PreviewCacheUsers[]=anonymous

[OverrideSettings]
Cache=enabled

/settings/override/site.ini.append.php

[TemplateSettings]
TemplateCompression=disabled
[

<b>Note, this is where I think the problem may lie. However, the aliases have been created by the admin using the same code below...</b>
/settings/siteaccess/site/image.ini.append.php

[<?php /* #?ini charset="iso-8859-1"?

[AliasSettings]
AliasList[]
AliasList[]=small
AliasList[]=collection
AliasList[]=thumb
AliasList[]=medium
AliasList[]=listitem
AliasList[]=articleimage
AliasList[]=articlethumbnail
AliasList[]=gallerythumbnail
AliasList[]=imagelarge
AliasList[]=large
AliasList[]=product
AliasList[]=artist
AliasList[]=rss
AliasList[]=logo
AliasList[]=pressFull
AliasList[]=aboutImage

[artist]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=100;160


[aboutImage]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=170;170

[collection]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=40;40


[small]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=60;120

[thumb]
Reference=
Filters[]
#Filters[]=geometry/scaledownonly=80;80!
Filters[]=geometry/scale=80;80

[pressFull]
Reference=
Filters[]=geometry/scale=700;1000

[medium]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=200;290

[large]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=400;400


[largeold]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=360;440!


[product]
Reference=
Filters[]
Filters[]=geometry/scale=240;240!


[rss]
Reference=
Filters[]
Filters[]=geometry/scale=88;31

[logo]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=250;58

[listitem]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=110;170

[articleimage]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=170;350

[articlethumbnail]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=70;150

[gallerythumbnail]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=70;150

[imagelarges]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=360;440
*/ ?>

/public_html/clients/econe/settings/siteaccess/site/site.ini.append.php

[FileSettings]
VarDir=var/shop_site[FileSettings]
VarDir=var/shop_site

Looking forward to understanding if I've misconfigured something

You must be logged in to post messages in this topic!

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