Upload PNG Problem
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 20
- Joined: 13 Jul 2016, 08:03
Upload PNG Problem
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.
Last edited by wassim.hattab on 01 Aug 2016, 13:24, edited 1 time in total.
-
- Posts: 20
- Joined: 13 Jul 2016, 08:03
Re: Upload Failed (undefined)
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
-
- Posts: 20
- Joined: 13 Jul 2016, 08:03
Re: Upload Failed (undefined)
This is a screen shot about the image i'm trying to upload and the result when i upload it via aimeos
- Attachments
-
- Untitled-1.jpg (95.63 KiB) Viewed 2933 times
-
- Posts: 20
- Joined: 13 Jul 2016, 08:03
Re: Upload PNG Problem
The problem was solved when adding this row in save function:
imagesavealpha($this->image, TRUE);
imagesavealpha($this->image, TRUE);
Re: Upload PNG Problem
This has been fixed three weeks ago and it should be already in the 2016.07.2 stable release
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star