Forums / General / problem with image load in ez 3.10
christian bencivenni
Saturday 16 February 2008 9:19:31 am
Hi to you all. I have a strange problem with ez. I'm trying to create image object with ez but I find a problem. If I load directly the image.jpg in the online editor it will be created correctly and placed in front end. But if I create an image object in the back end where I load the image.jpg and write title and alternate text, the image is not displayed. The object is correctly created but the image is not displayed (even if it is displayed in the preview). And in Image gallery there are the boxes of the image but without image itself (and link).Someone can tell me why?
Monday 18 February 2008 5:59:26 am
In the debug output I can read:
Warning: PHP Feb 18 2008 14:56:30 exif_read_data(Immagine-monnezza-1.jpg) [<a href='function.exif-read-data'>function.exif-read-data</a>]: incorrect APP1 Exif Identifier Code in /home/xtian/3.10.0/lib/ezimage/classes/ezexifimageanalyzer.php on line 63 Warning: eZImageShellHandler::convert Feb 18 2008 14:56:30 Failed executing: /usr/bin/convert '-quality' '75' '-geometry' '105x100>' 'var/ezwebin_site/storage/images/locali-e-disco/galleria-\'er-monnezza/immagine-monnezza-1/1929-3-ita-IT/Immagine-monnezza-1.jpg' 'JPEG:var/ezwebin_site/storage/images/locali-e-disco/galleria-\'er-monnezza/immagine-monnezza-1/1929-3-ita-IT/Immagine-monnezza-1_gallerythumbnail.jpg', Error code: 2 Error: eZImageManager::createImageAlias Feb 18 2008 14:56:30 Failed converting var/ezwebin_site/storage/images/locali-e-disco/galleria-'er-monnezza/immagine-monnezza-1/1929-3-ita-IT/Immagine-monnezza-1.jpg to alias 'original' in directory 'var/ezwebin_site/storage/images/locali-e-disco/galleria-'er-monnezza/immagine-monnezza-1/1929-3-ita-IT' Warning: eZImageShellHandler::convert Feb 18 2008 14:56:30 Failed executing: /usr/bin/convert '-quality' '75' '-geometry' '105x100>' 'var/ezwebin_site/storage/images/locali-e-disco/galleria-\'er-monnezza/immagine-due/1933-1-ita-IT/immagine-due.jpg' 'JPEG:var/ezwebin_site/storage/images/locali-e-disco/galleria-\'er-monnezza/immagine-due/1933-1-ita-IT/immagine-due_gallerythumbnail.jpg', Error code: 2 Error: eZImageManager::createImageAlias Feb 18 2008 14:56:30 Failed converting var/ezwebin_site/storage/images/locali-e-disco/galleria-'er-monnezza/immagine-due/1933-1-ita-IT/immagine-due.jpg to alias 'original' in directory 'var/ezwebin_site/storage/images/locali-e-disco/galleria-'er-monnezza/immagine-due/1933-1-ita-IT' Error: eZImageManager::createImageAlias Feb 18 2008 14:56:30 The reference alias original file var/ezwebin_site/storage/images/locali-e-disco/galleria-'er-monnezza/tre/1937-2-ita-IT/tre.jpg does not exist Error: Feb 18 2008 14:56:30 Original alias does not exists, cannot create other aliases without it Warning: eZImageShellHandler::convert Feb 18 2008 14:56:30 Failed executing: /usr/bin/convert '-quality' '75' '-geometry' '105x100>' 'var/ezwebin_site/storage/images/locali-e-disco/galleria-\'er-monnezza/flash/1949-1-ita-IT/flash.jpg' 'JPEG:var/ezwebin_site/storage/images/locali-e-disco/galleria-\'er-monnezza/flash/1949-1-ita-IT/flash_gallerythumbnail.jpg', Error code: 2 Error: eZImageManager::createImageAlias Feb 18 2008 14:56:30 Failed converting var/ezwebin_site/storage/images/locali-e-disco/galleria-'er-monnezza/flash/1949-1-ita-IT/flash.jpg to alias 'original' in directory 'var/ezwebin_site/storage/images/locali-e-disco/galleria-'er-monnezza/flash/1949-1-ita-IT'
André R.
Monday 18 February 2008 6:29:54 am
Have you tested to create the image in the same spot in the same manner using the frontend editor?You haven't changed the storage dir on the admin / front end site access?
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom
Monday 18 February 2008 6:36:03 am
Yes I tried. But searching a way to resolve I found the it does not exist the image folder in var/ezwebin_site/storage/images/. I don't know why it was not created during wizard setup but I think it can be the origin of the problem.Wha do you think?
Tuesday 19 February 2008 7:31:20 am
No. :-( It seems not to be a image directory problem. The directory is created or destroyed with the cache and clar cache. Also I can find the images "name.jpg" inside the sudirectorydirectory of var.I cannot understand what is the problem. No one have this problem?
Tuesday 19 February 2008 7:36:49 am
Mmmm.... So strange. I made another try and... If I surf until the media/images folder in the backend and copy an existing image object into the gallery folder in home/gallery it is displayed correctly.Very strange.