English 中文(简体)
Cakephp MeioUploadmovOrginal
原标题:Cakephp MeioUpload removeOrginal

拆除 原件 Dont work on MeioUpload !

i 在我的职位模式中加入这一守则:

/model/post.php

 public $actsAs = array(
             MeioUpload.MeioUpload  => array(
               avatar  =>array(
                  thumbnails  => true ,
                  thumbsizes  => array( small   => array( width =>100,  height =>100)),
                  thumbnailQuality  => 75, 
                  thumbnailDir  =>  thumb ,
                  removeOriginal  => true 

               )
            )
        );

i 只需要上下载,我不需要来源图。

(cakephp 2.1.2)

thanks

问题回答




相关问题
How to access thumbnail cache of vista and 7 using c#

I wanted to access the thumb cache of vista and 7 to be used in my ImageList. I know how to do it in XP by means of the thumbs.db files, but in vista and 7 the thumbs.db is not present so how will i ...

User-Defined Thumnails for Django Project?

I m putting together a Web site that makes heavy use of images. Those images need to be thumbnailed at various sizes to fit different templates. I m aware of solutions like sorl-thumbnail, which ...

How to thumbnail faster in c#

I m trying to thumb an image as fast as possible regardless of the usage of resources to be used in my ImageList and listview and this is currently how i m doing it but it seems to be slow: public ...

CGImage create thumbnail image with desired size

I want to create the thumbnail using the CG. It creates the thumbnails. Here i want to have the thumbnail with the size 1024 (with aspect ratio.) Is it possible to get the desired size thumbnail ...

IThumbnailProvider and IInitializeWithItem

I am trying to develop an IThumbnailProvider for use in Windows 7. Since this particular thumbnail would also be dependant on some other files in the same directory, I need to use something other than ...

热门标签