Forums / Setup & design / Images quality (definition)
Catherine Mollet
Tuesday 01 December 2009 9:43:07 am
Hello,
Using eZwebin, I have problems with the quality of images, especially the ones uploaded with "Image" attribute. Very bad quality, seems to be extremely compressed.
In the template, image is set with
{attribute_view_gui attribute=$node.data_map.image}
In the image.ini.append.php file, settings are :
[MIMETypeSettings] Quality[] Quality[]=image/jpeg;100
What can I do to have good quality images ?
Gaetano Giunta
Tuesday 01 December 2009 12:37:00 pm
I am sure you checked, but since you are not specifying the image variant, it might be that you are producing small-resolution images upscaled (badly) by the browser?
Principal Consultant International Business Member of the Community Project Board
Wednesday 02 December 2009 3:14:16 am
Thanks Gaetano. I didn't know, then you gave a direction to look at. I put
{attribute_view_gui attribute=$node.data_map.image image_class=articleimage}
in the template to have load a different image variation. Indeed, myimage_articleimage.jpg is loaded, but quality is still bad. Original image size is 24 ko and myimage_articleimage.jpg is 5 ko... Quite an awful compression.
Wednesday 16 December 2009 9:01:51 am
Up...
Nicolas Pastorino
Monday 25 January 2010 10:29:49 am
Hello Catherine,
Did you make sure that the 'articleimage' transformation (defined in image.ini) is not applying quality-degrading filters ? And what image processing backend are you using ? ImageMagick or GD ?
You may want to give us the details of the 'articleimage' filter btw.
Let us know,
-- Nicolas Pastorino Director Community - eZ Member of the Community Project Board eZ Publish Community on twitter: http://twitter.com/ezcommunity t : http://twitter.com/jeanvoye G+ : http://plus.tl/jeanvoye
Thursday 28 January 2010 6:54:52 am
Hi Nicolas,
I guess it's GD, because in phpinfo(), I see that GD is enabled, and in settings/override/image.ini.append.php, there is
[ImageMagick] IsEnabled=false
But, in extensions/myextension/settings/image.ini.append.php, there's
[ImageMagick] Filters[]=centerimg=-gravity center -crop %1x%2+%3+%4
So I don't understand very well.
And for "articleimage", details are
[articleimage] Reference= Filters[] Filters[]=geometry/scaledownonly=170;350
Is that details you asked for ? I really don't know where to look at...
Thanks