Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there feature to create thumbnail as well #1

Closed
pcnalanda opened this issue Aug 16, 2012 · 3 comments
Closed

Is there feature to create thumbnail as well #1

pcnalanda opened this issue Aug 16, 2012 · 3 comments
Labels

Comments

@pcnalanda
Copy link

Thanks to create plugin. Is there setting to create thumbnail too and max limit to file upload.

@hugodias
Copy link
Owner

Hello ! Yes you need only add an index in the array 'image versions' ( https://github.com/hugodias/FileUpload/blob/master/Controller/Component/UploadComponent.php#L48 ) specifying the settings of your thumbnail. You can follow this example ( https://github.com/blueimp/jQuery-File-Upload/blob/master/server/php/upload.class.php#L42 )

@hugodias
Copy link
Owner

Btw, all upload settings are in this file.

@pcnalanda
Copy link
Author

I want to change setting on runtime when call component.
How to pas 2nd parameter ($options) when call UploadComponent __construct( ComponentCollection $collection, $options = null ) function from controller action(method)

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants