I've added a couple of new features to lyMediaManagerPlugin:
- plugin can be configured to provide a custom file browser/uploader for FCKeditor, the same feature that is already available for TinyMCE in the current version. Refer to README file for all details.
- It's now possible to generate thumbnails for all graphic formats supported by ImageMagick and PDF files.
This second feature should be considered experimental as I've made very few tests. There is also a bug in sfThumbnailPlugin that affects the creation of thumbnails for PDF files and makes the process extremely slow when the document has many pages. A patch exists and I recommend to apply it if you want to test this feature (thanks halfer for pointing it out in symfony forum).
Here is an example of plugin configuration to generate thumbnails for common image formats and PDF files
all:
lyMediaManager:
thumbnails:
small:
width: 84
height: 84
shave: true
medium:
width: 194
height: 152
create_thumbnails_for: [image/jpeg,image/png,image/gif,application/pdf]
allowed_extensions: [jpg,png,gif,pdf]
mime_types: [image/jpeg,image/png,image/gif,application/pdf]
use_ImageMagick: true
Obviously ImageMagick must be installed on the server.
I've not created a new package yet, source code can be downloaded from GitHub (click Downloads button > download source not packages or you won't get the latest changes). Package can then be extracted in plugins/lyMediaManagerPlugin to perform a manual installation of the plugin as usual.
I've some other fixes to make then I'll release a new version.
