Great product, but I'm looking for a way to have the system generate more than just the maximum size image and thumbnail image. I would like to have it create an intermediate size image. For example:
Currently full size image is in:
/userfiles/images
And thumbnail is in:
/userfiles/_thumbs/Images/
I would like to have a third size created, something like:
/userfiles/_medium/Images/
and I would like to set the max width and height for this image
I see the following three lines in the config:
But I can't see how to utilize this.
Does this functionality already exist and I am just missing it? Appreciate the help in advance
Currently full size image is in:
/userfiles/images
And thumbnail is in:
/userfiles/_thumbs/Images/
I would like to have a third size created, something like:
/userfiles/_medium/Images/
and I would like to set the max width and height for this image
I see the following three lines in the config:
$config['plugin_imageresize']['smallThumb'] = '90x90'; $config['plugin_imageresize']['mediumThumb'] = '120x120'; $config['plugin_imageresize']['largeThumb'] = '180x180';
But I can't see how to utilize this.
Does this functionality already exist and I am just missing it? Appreciate the help in advance
Re: Generate multiple thumbnail sizes
Re: Generate multiple thumbnail sizes
Ideally I'd like to have the upload create the large and thumb images (as it does now), and then automatically fire the imageresize plugin action to create the other three sizes (small, medium, large).
Wiktor?? Anyone?
Re: Generate multiple thumbnail sizes
This is doable, but to achieve this you should write a simple PHP plugin:
Check the documentation. Unfortunately, in this case, the documentation is more complicated that the task that you actually just need to perform.
Check the watermark plugin. Basically you want to do almost the same thing - work with the file that has been just uploaded. You need to add your own event handler to $config['Hooks']['AfterFileUpload'].
To create a thumbnail call:
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+