Page 1 of 1

Upload PNG Problem

Posted: 29 Jul 2016, 11:29
by wassim.hattab
I'm trying to add catalogs in aimeos all is fine but when i try to add a media in the catalog i get Upload Failed (undefined) i tried to upload jpg and png images and i got same error.

Re: Upload Failed (undefined)

Posted: 01 Aug 2016, 11:15
by wassim.hattab
When i removed the debugger from the config all goes fine but when i upload a png image with transparency it replace the transparency with a color (white or yellow or black it depends on the image) does anyone faced this problem

Re: Upload Failed (undefined)

Posted: 01 Aug 2016, 13:12
by wassim.hattab
This is a screen shot about the image i'm trying to upload and the result when i upload it via aimeos

Re: Upload PNG Problem

Posted: 01 Aug 2016, 13:55
by wassim.hattab
The problem was solved when adding this row in save function:
imagesavealpha($this->image, TRUE);

Re: Upload PNG Problem

Posted: 01 Aug 2016, 14:55
by aimeos
This has been fixed three weeks ago and it should be already in the 2016.07.2 stable release