0
在iimagemanager配置文件里面可以选择制作特定宽度和高度的缩略图。使用tinyMCE imagemanager插件制作两种类型的缩略图
但是,如果我想要2种不同类型的缩略图。配置中没有这样的选项。
有没有办法做2种类型?
在iimagemanager配置文件里面可以选择制作特定宽度和高度的缩略图。使用tinyMCE imagemanager插件制作两种类型的缩略图
但是,如果我想要2种不同类型的缩略图。配置中没有这样的选项。
有没有办法做2种类型?
查看此页面:http://www.tinymce.com/wiki.php/MCImageManager:upload.format
这里就是我在配置文件中已经使用了创建2条额外的拇指(除了由create_thumbnail创建的)
//extra thumbnail creation
$mcImageManagerConfig['upload.format'] = '600x600=thumbs600/%f.%e,200x200=thumbs200/%f.%e'; //creates a 610x610 in thumbs610/ and 225x225 in thumbs225/
/* upload.format options:
%f -> Filename without extension for example "myimage".
%e -> Extension the extension part of the image for example "gif".
%w -> Output image width, the proportional value.
%h -> Output image height, the proportional valie.
%tw -> Target width/specified width by the resize option.
%th -> Target height/specified height by the resize option.
%ow -> Original width, before the image gets resized.
%oh -> Original height, before the image gets resize. */