[Feature Request] PDF Thumbnail
-
Really loving the plugin great work. Is it possible to add a feature?
Trying to make the thumbnails generated by the wordpress media library a bit more palatable for working with A LOT of PDFs.Google has a great converter via their googledocs viewer. I was wondering if you could add a bulk thumbnail generator that would add image previews of the pdf document I upload. I could do the (convert on the fly) process but I don’t want to constantly rely on the googledocs service and slow down the user experience so a cached thumbnail would be lovely.
https://docs.google.com/viewer?url=http://www.website.com/wp-content/uploads/2013/01/00001.pdf&a=bi&pagenumber=1&w=250
I managed to just copy one test file but my php skills are poor tbh and would not be at a level to add this into an automated process without your help.
$doc2copy = 'http://www.website.com/wp-content/uploads/2013/01/00001.pdf'; $file = 'https://docs.google.com/viewer?url=$doc2copy&a=bi&pagenumber=1&w=250'; $newfile = 'img/full1_1_3.png'; if (!copy($file, $newfile)) { echo "failed to copy $file...\n"; }
If this feature could be added that would be awesome 🙂
If not your plugin has already solved so many problems for me.
Thank you.http://wordpress.org/extend/plugins/media-library-assistant/
- The topic ‘[Feature Request] PDF Thumbnail’ is closed to new replies.