New images not showing after upgrade

Author Message

Halvor M

Wednesday 25 January 2006 3:08:08 pm

I recently upgraded from 3.5 to 3.7.

Now, when I add an article I can still use my old pictures and everything is OK. However, if I upload a new picture it will not appear in the user end of my site. Even though my admin version of the article tells me the file has been linked to the image...

Anyone have any ideas what is happening here?

Halvor M

Monday 30 January 2006 2:39:29 pm

Any ideas...? seems from my searches of this forum that others have had similar experiences...

Halvor M

Sunday 19 February 2006 4:35:49 am

Anyone ??

Halvor M

Monday 27 February 2006 12:22:11 pm

lol, doesnt anybody have one single idea?

Bugging the hell out of me this is ! :-)

James Ward

Monday 27 February 2006 1:13:39 pm

Have you viewed the user portion of the site while logged in as admin to see if it makes any differences? If it does:

Does the anonymous user have the following in their role:

content  	 read  	 Section( Media )

I've noticed some differences when upgrading in the way media access is handled.

working at www.wardnet.com
blogging at www.jamesward.ca

Halvor M

Monday 27 February 2006 1:33:00 pm

thanks for your reply :-)

Yeah, I already tried that, and I have tried playing around with the roles/permissions...

It seems like the problem is on the _upload_ side...

My images are all stored in this folder:
site\var\corporate\storage\images\media\images\imagename

Each image has a folder, and several different sizes of the image are stored in that folder.
My new images however, are stored only in one size. Seems that something is amiss in my storage settings?

(I am running on a winXP, so file permissions is not an issue)

Halvor

Ɓukasz Serwatka

Tuesday 28 February 2006 12:27:14 am

Check your ImageMagick configuration if you use it.

Check if problem also appears when you switch to GD.

settings/override/image.ini.append.php

[ImageMagick]
IsEnabled=false

Clear all cache and ImageAliases cache.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Tore Skobba

Tuesday 28 February 2006 1:34:57 am

Hmm you upgraded to 3.7 and probably updated PHP to 4.4 as well? If yes, then GD is not enabled by default on PHP 4.4 Windows Binaries (GD is an tool which allows PHP to modify images). Either install Imagemagic OR update your php.ini file. More specifically check that ;extension=php_gd2.dll is NOT commented out in php.ini file (usally Windows uses an php.ini file in c:\windwos\, but do an phpinfo(); to see where the php.ini file resides).

Note that if you install imagemagic then you must also edit your image.ini file.

Halvor M

Tuesday 28 February 2006 3:18:11 am

yay !

That did it :-)
I altered this part

[ImageMagick]  
IsEnabled=false

and verified that my extension=php_gd2.dll was not commented out.

So now I can upload images again! :-)

It seems that the quality for some pictures has now been reduced (pixelated).
JPEGs seem to be doing ok though. Is that the preferred format when using GD?

Anyways - thanks for the help EZcrew !

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

Main resources:

Total runtime1.1360 sec
Peak memory usage4,096.0000 KB
Database Queries79

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0085 592.1172152.6406
Module start 'layout' 0.00850.0032 744.757839.4766
Module start 'content' 0.01171.1229 784.2344680.8828
Module end 'content' 1.13460.0014 1,465.117216.1406
Script end 1.1359  1,481.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2981160.0002
Check MTime0.00140.1260160.0001
Mysql Total
Database connection0.00150.129910.0015
Mysqli_queries1.061993.4790790.0134
Looping result0.00070.0636770.0000
Template Total1.097796.620.5489
Template load0.00220.190320.0011
Template processing1.095696.441120.5478
Template load and register function0.00020.015810.0002
states
state_id_array0.00150.132410.0015
state_identifier_array0.00170.147320.0008
Override
Cache load0.00200.1730490.0000
Sytem overhead
Fetch class attribute can translate value0.00070.061740.0002
Fetch class attribute name0.00190.1646110.0002
XML
Image XML parsing0.00180.157740.0004
class_abstraction
Instantiating content class attribute0.00000.0016110.0000
General
dbfile0.00090.0771240.0000
String conversion0.00000.000740.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
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
16content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 36
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs