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

eZ debug

Timing: Jan 19 2025 11:48:55
Script start
Timing: Jan 19 2025 11:48:55
Module start 'content'
Timing: Jan 19 2025 11:48:55
Module end 'content'
Timing: Jan 19 2025 11:48:55
Script end

Main resources:

Total runtime0.1839 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.9453180.8438
Module start 'content' 0.00640.0054 769.7891101.9766
Module end 'content' 0.01180.1720 871.7656530.7500
Script end 0.1838  1,402.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00341.8279200.0002
Check MTime0.00130.7280200.0001
Mysql Total
Database connection0.00110.596610.0011
Mysqli_queries0.138375.20081410.0010
Looping result0.00130.71901390.0000
Template Total0.171793.410.1717
Template load0.00080.428510.0008
Template processing0.170992.924810.1709
Override
Cache load0.00060.307810.0006
Sytem overhead
Fetch class attribute can translate value0.00090.494910.0009
XML
Image XML parsing0.00030.152910.0003
General
dbfile0.00422.3026200.0002
String conversion0.00000.002230.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs