Forums / General / eZpublish modified original image

eZpublish modified original image

Author Message

Joanna Grzegorczyk

Friday 06 February 2009 6:13:23 am

It already happened a few times that eZpublish modified original images. It happened in different eZpublish versions (3.8.9, 4.0, 4.0.1).

Normally the original images are stored in the var/storage directory and have original sizes. But sometimes I don't know what happens but original image is modified as well when creating other image aliases.

Do you know why it can happen?

http://ez.no/certification/verify/253200

Jakub Derdziak

Monday 24 May 2010 12:41:24 am

Now I have the same problem after upgrade from 4.0.0 to 4.3.0. What strange, eZPublish destroys only images that was uploaded before upgrade. New added images are fine. Any sugestions what can by done?

Steven E. Bailey

Monday 24 May 2010 4:22:38 am

I've never had ezpublish do this to my originals - but I have managed to do this myself while testing imagemagick on the command line on a test machine. If I accidentally reverse the input and output names for convert it ends up creating a 0kb file overwriting the original. Is this what is happening - 0kb files?

A few other questions - are you on a windows or linux machine? Are you using imagemagick or only GD? Are any of your extensions manipulating images?

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

Jakub Derdziak

Monday 24 May 2010 5:03:54 am

Hi Steven.

I'm on Linux. Only GD. No, no extensions. We think we found a problem - in some moment of upgrade eZPublish has hard-linked some image aliases with their originals. So while system re-generating aliases it regenerates orignal too. But now it's just a teory.