2011-08-18 78 views

回答

1

查看此页面: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. */