I’ll see what I can do. Seems simple enough but it’s designed for post attachments so it’ll require some tweaking.
Right now my priority is working on this image and video lightbox feature. I’m making progress but it requires a lot of fine-tuning. I also just finished a csv reader that will, on pageload, automatically generate files that link, when clicked, to urls of your choice, specified in a csv you drop in any directory you want. So you can create a table or list with a thousand links if you want, just drop the csv, with two columns (url, filename), into a directory. It creates the hyperlink .htm files, adds them to the table, then deletes the csv, all before the page loads. I’ll provide an example csv in the next update when the feature arrives. It also works with recursive tables if you drop multiple csv files in different subdirectories.
Coming in 3.0, but I have not been able to get the thumbnails to crop. It only lets me generate pdf thumbs in preserved dimensions. Anyway, it works.
Thank you so much for incorporating this! This will be great once I am able to implement it.
I’ve added thumbnails to the shortcode, but still not seeing any in my table. I’ve tried both transient and permanent to no avail. Here’s my shortcode:
[fileaway base=1 type=”table” style=”silver-bullet” heading=”My Worksets” sortfirst=”mod-desc” manager=”on” bulkdownload=”on” only=”.pdf” thumbnails=”transient” thumbstyle=”widesharp” makedir=”true” size=”no” drawerlabel=”Workset” encryption=”on” paginate=”true” pagesize=”10″ ]
I’m using a free hosting provider at the time, so maybe it’s a server issue? Any ideas?
Thank you!
PDF thumbnails only work with permanent, not with transient. And it requires imageMagick to be installed on your server. If you have FTP access, add a temporary check to /wp-content/plugins/file-away/lib/cls/class.fileaway.php
Open up the file, go to line 14 and before this line:
if(isset($atts['style'])) $atts['theme'] = $atts['style'];
add this line:
echo function_exists('exec') ? 'I should have thumbs.' : 'My host sucks.';
Save the document then refresh the page where your fileaway table is posted.
Don’t grab the line from your email. I had a typo, but I fixed it in an edit.