Forums / Setup & design / Loading non png images

Loading non png images

Author Message

Lydie Soler

Thursday 26 May 2005 5:34:37 am

Hello,

I try to load non png images (like gif for example) in an image class.
and when I try to see this image through the public site I get this error:
None of the handlers can convert MIME-Type image/png

Error: eZImageManager::createImageAlias 	May 26 2005 14:51:56

Failed converting var/site_unite_metarisk/storage/images/media/images/image_gif/1132-1-fre-FR/image_gif.gif to alias original in directory var/site_unite_metarisk/storage/images/media/images/image_gif/1132-1-fre-FR

I works fine fine jpg, png.

With bmp I can't event create the class.
It seems that there are some limitations... Can anyone tell me which ones or explain me how to solve the problem (especially for gif)

Thanks a lot

Lydie

Łukasz Serwatka

Monday 30 May 2005 12:59:35 am

Hi,

What image conversion system, eZ publish version do you use

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

Lydie Soler

Monday 30 May 2005 1:18:01 am

Hi,

I use the 3.5.1 EzPublish version.
where can I see the version of the image conversion system? Sorry I am using EzPublish for only 2 weeks

Thanks

Lydie

Lydie Soler

Monday 30 May 2005 1:34:11 am

hi again,

in may image.ini.append.php I have the following:

[ImageMagick]
IsEnabled=false

should I set it to true?

Lydie

Łukasz Serwatka

Monday 30 May 2005 1:52:51 am

If eZ publish set

[ImageMagick]
IsEnabled=false

to flase, probadly ImageMagick doesn`t exists in your system. You can check your php version in eZ publish in Setup->System information or better is create simple script

<php phpinfo(); ?>

 

and check what GD version you have.

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

Lydie Soler

Monday 30 May 2005 2:07:18 am

here is what I have:

PHP
Version: 4.3.2
Extensions: yp, xml, wddx, tokenizer, sysvshm, sysvsem, standard, sockets, shmop, session, pspell, posix, pcre, overload, openssl, mbstring, iconv, gmp, gettext, gd, ftp, exif, domxml, dio, dbx, dba, curl, ctype, calendar, bz2, bcmath, zlib, apache2filter, imap, ldap, mysql, pgsql

So indeed it seems that ImageMagic is not installed.....

Sorry for this trivial question but I had not understood that this was a php module....

Thanks a lot for your help

Łukasz Serwatka

Monday 30 May 2005 2:12:05 am

Make file info.php and paste code above.

Than access file info.php like http://www.example.com/info.php

then look for GD section and GD Version.

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

Łukasz Serwatka

Monday 30 May 2005 2:18:31 am

Your PHP version is 4.3.2. Probadly your GD dosen`t support GIF conversion. I suggest upgrade your PHP to 4.3.4 or later as min recommend for eZ publish and some important security fixes...

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