Vote for v1.5 Fixes

PrestaShop Forum: Build a free online shop. Count on the Community!

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum: Build a free online shop. Count on the Community!

Jump to content

Photo

Change Home featured (Front page) images to animated gif


  • Please log in to reply
4 replies to this topic
Ipood

    PrestaShop Apprentice

  • Members
  • PipPip
  • 41 posts

Posted 09 January 2011 - 04:20 PM

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

rocky

    PrestaShop Legend

  • US Moderators
  • 10041 posts

Posted 10 January 2011 - 04:24 AM

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.
Nethercott Constructions - PrestaShop modules and guides

Ipood

    PrestaShop Apprentice

  • Members
  • PipPip
  • 41 posts

Posted 10 January 2011 - 04:28 AM

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.

rocky

    PrestaShop Legend

  • US Moderators
  • 10041 posts

Posted 10 January 2011 - 05:00 AM

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.
Nethercott Constructions - PrestaShop modules and guides

Ipood

    PrestaShop Apprentice

  • Members
  • PipPip
  • 41 posts

Posted 10 January 2011 - 05:15 AM

Thanks for your information. I appreciate it.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users