Upload a gif image to product using backend
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: 86
- Joined: 12 Jan 2019, 15:17
Upload a gif image to product using backend
I tried to upload a gif image to product using backend but on upload the image is coverted to simple image with no animation. Please give some suggestion on how to resolve this.
Re: Upload a gif image to product using backend
This may work in 2018.10 and you need the latest version of the Aimeos core. Execute "composer update" first to get
Code: Select all
aimeos/aimeos-core: 2018.10.14
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
Re: Upload a gif image to product using backend
I'm working in 2018.10 and am experiencing the same issue. I am trying to find the location where I can turn off the resizing of images in general, as to surpass this problem as it seems that .gifs that I upload get boiled down to just their first frame. Where can I find this, or is there a way that we can upload .gifs without losing all but the first frame?
Re: Upload a gif image to product using backend
We've already added some code to prevent scaling:
https://github.com/aimeos/aimeos-core/c ... b87c2d2925
For that, no maxwidth and maxheight parameters for images must be set which isn't the case by default:
https://github.com/aimeos/aimeos-larave ... t.php#L271
You can find the whole image processing here:
- https://github.com/aimeos/aimeos-core/b ... andard.php
- https://github.com/aimeos/aimeos-core/t ... edia/Image
https://github.com/aimeos/aimeos-core/c ... b87c2d2925
For that, no maxwidth and maxheight parameters for images must be set which isn't the case by default:
https://github.com/aimeos/aimeos-larave ... t.php#L271
You can find the whole image processing here:
- https://github.com/aimeos/aimeos-core/b ... andard.php
- https://github.com/aimeos/aimeos-core/t ... edia/Image
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
-
- Posts: 86
- Joined: 12 Jan 2019, 15:17
Re: Upload a gif image to product using backend
aimeos wrote:We've already added some code to prevent scaling:
https://github.com/aimeos/aimeos-core/c ... b87c2d2925
For that, no maxwidth and maxheight parameters for images must be set which isn't the case by default:
https://github.com/aimeos/aimeos-larave ... t.php#L271
You can find the whole image processing here:
- https://github.com/aimeos/aimeos-core/b ... andard.php
- https://github.com/aimeos/aimeos-core/t ... edia/Image
I have tried with these file i m also using aimeos 2018.10 butt no changes.
Still Its saving .gif images without animation