Jump to content
  • 0
Ipood

Change Home featured (Front page) images to animated gif

Question

I would like to use animated gif images instead of still images on the front page. Is this possible? What converts the images to jpg? How can I stop this conversion.

Thanks

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

You can't. PrestaShop hardcodes all image URLs with .jpg on the end and converts all images to JPGs so that they can be properly resized. It would be very difficult to change this behaviour. It's a feature request that the PrestaShop team are considering for a future PrestaShop version, but it isi unlikely it will make it into v1.4.

Share this post


Link to post
Share on other sites
  • 0
You can't. PrestaShop hardcodes all image URLs with .jpg on the end and converts all images to JPGs so that they can be properly resized. It would be very difficult to change this behaviour. It's a feature request that the PrestaShop team are considering for a future PrestaShop version, but it isi unlikely it will make it into v1.4.


What is the purpose of this feature? I assume it is intended to be this way.

Share this post


Link to post
Share on other sites
  • 0

Yes, it's by design. Most people don't have animated GIFs as product images. I think it's done so that product images have an appropriate amount of compression, otherwise merchants might upload huge images and then complain that the images take too long to load. Also, the GD library is used to resize images to create thumbnails. I'm not sure how well it handles resizing GIF and PNG images. I doubt it would resize animated GIFs.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×