Change Home featured (Front page) images to animated gif - Configuring & using PrestaShop - PrestaShop

Jump to content

Photo

Change Home featured (Front page) images to animated gif

#1

Posted 09 January 2011 - 04:20 PM

Ipood

    PrestaShop Apprentice

  • Members
  • PipPip
  • 41 Active Posts
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

#2

Posted 10 January 2011 - 04:24 AM

rocky

    PrestaShop Legend

  • US Moderators
  • 10222 Active 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.
Nethercott Constructions - PrestaShop modules and guides

#3

Posted 10 January 2011 - 04:28 AM

Ipood

    PrestaShop Apprentice

  • Members
  • PipPip
  • 41 Active 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.



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

#4

Posted 10 January 2011 - 05:00 AM

rocky

    PrestaShop Legend

  • US Moderators
  • 10222 Active Posts
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

#5

Posted 10 January 2011 - 05:15 AM

Ipood

    PrestaShop Apprentice

  • Members
  • PipPip
  • 41 Active Posts
Thanks for your information. I appreciate it.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cookies help us deliver our services. By using our services, you agree to use our cookies.     Learn more