PrestaShop图像 [英] PrestaShop Images

查看:131
本文介绍了PrestaShop图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的PHP项目安装了Prestashop 1.4.9.0。当我添加新产品时,我上传了PNG格式的图像,但是当它在客户端显示时,图像是JPG格式。

I have Prestashop 1.4.9.0 installed with my PHP project. When I add a new product, I upload an image in PNG format, but when it is shown on the client side, the image is in JPG format.

你怎么能保持图片扩展名?

How can you keep the image extension?

推荐答案

在后台>偏好设置>图片中,您有3个图像质量选项:

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


  • 使用JPEG

  • 仅当基本图像为PNG格式时才使用PNG

  • 对所有图像使用PNG

默认情况下,所有图像均为JPEG(PNG已转换),因此您可以选择使用第二个选项(不转换图像)或第三个选项 - 将JPEG图像转换为PNG。

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.

这篇关于PrestaShop图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆