I know this isn't exactly a "Gravity Forms Issue" by any standards, however, I'm using Gravity Forms to execute a portion of this task for a free project that I'm putting together for School Teachers and I'm hoping that someone here has done something similar.
The project involves a Teacher Sharing Community where teachers have the ability to upload/download/share worksheets, activities and lesson plans for their students. They will be uploading them in .doc, and .pdf format through Gravity Forms. I've created a Custom Post Type for these different types uploads. Everything is done...except one final issue...lol.
PDF and Featured Images....ugh.
Most of the docs that teachers will be uploading are worksheets that are in pdf format. I had planned to use the standard "Featured Image" / "Post Thumbnail" function to display the items for viewers to view during their search queries on the site. This would work great if they were uploading images, as everything would be automatic (yes, that was a Wordpress Founders play on words). However with PDF's I have run into a snag. The featured image / thumbnail function only supports images, so when they upload a pdf, I can have the forms display the download link in a custom field in the post, however, I can't hook the pdf to be displayed as a featured image. I've already coded my featured images to be clickable and displayed in a lightbox for easy viewing before download, but getting a condensed version of the pdf into the thumbnail is where I run into some serious snags.
I've researched ghostscript to convert the pdf into a jpg, though I don't know how to automate this upon upload, nor do I know how to have the outputted jpg automatically generated into the featured image / thumbnail function either.
Any help would be greatly appreciated. I'm looking for some serious guidance. I'd love to be able to just pay a php developer to work on it for a week or so to get the solution, but this project is funded only by my own personal pocket (which is very thin at the moment) and I have no sponsors yet to help me see the project through. This is the only aspect of the project that I'm stumbling on.
I have no problem giving credit for anyone who helps me with this in any way.
I know this is a long shot...I'm posting a similar thread in other quality WP forums as well. Thanks in advance for any assistance.