Jump to content

Change Home featured (Front page) images to animated gif


Recommended Posts

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.

Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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.

Link to comment
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
×
×
  • Create New...