Jump to content

[已解决]如何解决thickbox自动生成的图片缩小问题?


mofeewong

Recommended Posts

Back Office >> Preferences >> Image >> 修改thickbox


可能是我没有表述清楚,我在BO设置的是thickbox像素为600x600,但实际上我在前台浏览图片的时候,在thickbox窗口内,图片被自动缩小成457x457,而不是600x600,见图

16944_mP7Argv0hRHF6uVcz0YO_t

Link to comment
Share on other sites

用于thickbox的图片宽度或高度要大于600px。这张图片,你如果用photoshop增加图片的宽度到567px,或则缩短高度到400px,prestashop的thickbox就回自动缩放图片到600x600px。


是的,thickbox的工作原理我大概清楚,应该是按照一定的比例缩小的,大概是原始图片的82%,但是我想能不能直接通过程序修改直接实现,这样就不用处理重新处理所有的图片了。:P
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...