PrestaShop Images

我只是一个虾纸丫 提交于 2019-12-05 09:23:43

At Back Office > Preferences > Images you have 3 options for "Image quality":

  • Use JPEG
  • Use PNG only if the base image is in PNG format
  • Use PNG for all images

By default all the images are in JPEG (PNG are converted), so you can either choose to use the 2nd option (to not convert images) or the 3rd option - to convert the JPEG images to PNG.

If you have try first answer (At Back Office > Preferences > Images you have 3 options for "Image quality":) it mast work, but you will see image extension .jpg. But if you will look to image code it will be png. If you need different extensions you need to change core and .htaccess.

After changing the image pref in the CMS it should work. The images will still show as jpg but will keep the transparency properties of a png.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!