[Typo3] Image size in iwi image catalog

Michiel Roos systeembeheer at meyson.nl
Wed Sep 21 12:33:10 CEST 2005


In <mailman.1.1127294880.32477.typo3-english at lists.netfielders.de> 
Vlatko_Šurlan  wrote:
> I've setup the size of the thumbnails matrx to 6x6, at 750x800. This 
> gives me the following dimension of thumbnails: 110px x 83px. This is 
> all fine but the size of the images is over 40KB? Any idea how to 
> tweak  this? I've already set image quality to 50 but it did not help 
> much...
>

The plugin does not allow the setting of the image quality (compression).

Please contact the author of the plugin and ask him/her to add something 
like:

$this->conf['imageThumb.']['file.']['params'] = ' -unsharp 1x1.2 -
quality 80 +profile "*"';

to class.tx_iwiimgcatalog_pi1.php

Or preferably:

$this->conf['imageThumb.']['file.']['params'] = ' -unsharp 1x1.2 -
quality '.$quality.' +profile "*"';

Where $quality if configurable.

If you want a quick hack (which will be erased the next time you upgrade 
your plugin) you could add a line like:

$this->conf['imageThumb.']['file.']['params'] = ' -unsharp 1x1.2 -
quality 50 +profile "*"';

Round about line number 135 in the file typo3conf/ext/iwi_img_catalog/
ext_emconf.php

Cheers,

Michiel



More information about the TYPO3-english mailing list