[TYPO3-dam] Warning: imagecreatefrompng()

georg kuehnberger georg at georg.org
Sun Jul 6 23:30:33 CEST 2008


Brian,
first, please check your IM / GD Config, by verifying that all graphic 
checks in the install-tool work OK;
then clean out typo3temp completelyy
and try to reproduce the error;
georg

Brian Bendtsen wrote:
> Hi
> 
> When I log in as a non-admin user and use the DAM Media list module I 
> get these warnings for every picture in the current folder/category:
> 
> Warning: imagecreatefrompng() [function.imagecreatefrompng]: 
> '/var/www/typo3/domain.dk/typo3temp/readPG_f7e9e96016ff69721edaf54c9dbd610a.png' 
> is not a valid PNG file in 
> /var/www/typo3/domain.dk/typo3_src-4.2.0/t3lib/class.t3lib_iconworks.php 
> on line 503
> 
> Warning: imagecolorstotal(): supplied argument is not a valid Image 
> resource in 
> /var/www/typo3/domain.dk/typo3_src-4.2.0/t3lib/class.t3lib_iconworks.php 
> on line 386
> 
> Warning: imagedestroy(): supplied argument is not a valid Image resource 
> in 
> /var/www/typo3/domain.dk/typo3_src-4.2.0/t3lib/class.t3lib_iconworks.php 
> on line 452
> 
> Any idea what causes this?
> 
> Apparently it has something to do with the icons?
> 
> /Brian


More information about the TYPO3-project-dam mailing list