<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: PDF Featured Image</title>
		<link>https://legacy.forums.gravityhelp.com/topic/pdf-featured-image</link>
		<description>Gravity Support Forums Topic: PDF Featured Image</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:33:58 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/pdf-featured-image" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "PDF Featured Image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pdf-featured-image#post-69336</link>
			<pubDate>Fri, 03 Aug 2012 14:21:10 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">69336@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Instead of the GD library, we can use ImageMagick and &#34;convert&#34; - but it needs to be installed on your server.  Is there a way to get a phpinfo() printout from your server?  I don't want to spend time on something that will ultimately not work due to restrictions on the server where it's going to run.&#60;/p&#62;
&#60;p&#62;Couple of references, so I don't lose them:&#60;br /&#62;
&#60;a href=&#34;http://stackoverflow.com/questions/3833125/how-to-convert-pdf-file-to-png-using-imagemagick-php-api&#34; rel=&#34;nofollow&#34;&#62;http://stackoverflow.com/questions/3833125/how-to-convert-pdf-file-to-png-using-imagemagick-php-api&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://www.linuxquestions.org/questions/linux-software-2/pdf-to-png-converter-57142/&#34; rel=&#34;nofollow&#34;&#62;http://www.linuxquestions.org/questions/linux-software-2/pdf-to-png-converter-57142/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you have ImageMagick and/or convert, you can use the gform_after_submisison hook to run your code after the entry is created, pdf is uploaded and post is created.  You can create the image from the PDF, then assign that image to the post as the featured image.  Sounds like you need a couple sizes of the image.  Does that sound accurate?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vegaskev on "PDF Featured Image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pdf-featured-image#post-69059</link>
			<pubDate>Wed, 01 Aug 2012 18:32:04 +0000</pubDate>
			<dc:creator>vegaskev</dc:creator>
			<guid isPermaLink="false">69059@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for your response Chris.  Let me explain what I'm doing here.&#60;/p&#62;
&#60;p&#62;The site is for School Teachers to share the custom worksheets that they create with each other.  The purpose of having the pdf posted in the thumbnail (featured Image) as an image is so that when a user does a search they can see the thumbnails in the list of search results.  I have also added a prettyphoto box to the featured image function so that if they are searching, they can click on the thumbnail, should they want to see a better version of it.   ...but that is all under the assumption that I can figure out how to get the pdf to be visible in the featured image thumbnail.&#60;/p&#62;
&#60;p&#62;Right now I'm trying to figure out how to have the pdf converted to a jpg upon upload through the gravity forms on the front end, then once I can figure out how to do that, i'm hoping I can figure out how to force the outputted (and newly created) jpg into the featured image for the post.&#60;/p&#62;
&#60;p&#62;I hope that helps you see what it is that I'm trying to do.  If I had the funding to pay someone to sit there and play with it for 20 or 30 hours, I'm sure we could come up with a solution, but I'm the only one funding the project and it is not really geared to generate income, it's more or less being created simply to give back to teachers and help them save time.  All of the teachers I know are spending about 3-6 hours per week finding and modifying extremely old worksheets online to help their students.  Unfortunately, with all of the budget cuts over the last ten years or so, schools haven't bought worksheets for their teachers in ages....I'm just trying to donate my time to give back to the education system.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "PDF Featured Image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pdf-featured-image#post-69055</link>
			<pubDate>Wed, 01 Aug 2012 17:55:23 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">69055@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;How useful would a thumbnail image of the PDF be any way?  Why not use a &#60;a href=&#34;http://4.bp.blogspot.com/-k8Zxa7NXx5c/UAdrZw92MpI/AAAAAAAAAWI/KZ8n8sziFb4/s1600/Adobe-PDF-Alternative.jpg&#34; rel=&#34;nofollow&#34;&#62;default PDF image&#60;/a&#62; in place of the featured image when what they uploaded was a PDF rather than one of the common image formats?&#60;/p&#62;
&#60;p&#62;We were just talking about assigning a default thumbnail when none is uploaded, here:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/assign-default-featured-image-if-none-input#post-68716&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/assign-default-featured-image-if-none-input#post-68716&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you are set on creating an image representation of the PDF, we might be able to give you some pointers on how to automate that.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vegaskev on "PDF Featured Image"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pdf-featured-image#post-68281</link>
			<pubDate>Fri, 27 Jul 2012 16:26:52 +0000</pubDate>
			<dc:creator>vegaskev</dc:creator>
			<guid isPermaLink="false">68281@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I know this isn't exactly a &#34;Gravity Forms Issue&#34; 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.&#60;/p&#62;
&#60;p&#62;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.&#60;/p&#62;
&#60;p&#62;PDF and Featured Images....ugh.&#60;/p&#62;
&#60;p&#62;Most of the docs that teachers will be uploading are worksheets that are in pdf format.  I had planned to use the standard &#34;Featured Image&#34; / &#34;Post Thumbnail&#34; 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.&#60;/p&#62;
&#60;p&#62;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.&#60;/p&#62;
&#60;p&#62;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.&#60;/p&#62;
&#60;p&#62;I have no problem giving credit for anyone who helps me with this in any way.&#60;/p&#62;
&#60;p&#62;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.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
