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

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 19 2025 01:24:28
Script start
Timing: Jan 19 2025 01:24:28
Module start 'layout'
Timing: Jan 19 2025 01:24:28
Module start 'content'
Timing: Jan 19 2025 01:24:29
Module end 'content'
Timing: Jan 19 2025 01:24:29
Script end

Main resources:

Total runtime0.6045 sec
Peak memory usage4,096.0000 KB
Database Queries72

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 590.5781152.6250
Module start 'layout' 0.00510.0033 743.203139.4453
Module start 'content' 0.00840.5945 782.6484600.0625
Module end 'content' 0.60300.0015 1,382.710916.1719
Script end 0.6045  1,398.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.5154160.0002
Check MTime0.00130.2086160.0001
Mysql Total
Database connection0.00070.117810.0007
Mysqli_queries0.537288.8690720.0075
Looping result0.00060.0956700.0000
Template Total0.576195.320.2881
Template load0.00210.354720.0011
Template processing0.574094.946420.2870
Template load and register function0.00020.035110.0002
states
state_id_array0.00060.100610.0006
state_identifier_array0.00100.172420.0005
Override
Cache load0.00190.3080550.0000
Sytem overhead
Fetch class attribute can translate value0.00050.079920.0002
Fetch class attribute name0.00110.178590.0001
XML
Image XML parsing0.00060.106620.0003
class_abstraction
Instantiating content class attribute0.00000.0044120.0000
General
dbfile0.00080.1326180.0000
String conversion0.00000.001740.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
8content/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
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 38
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs