<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Getting your Facebook share thumbnail into your article from your Joomla website</title>
	<atom:link href="http://hypertransitory.com/blog/2010/06/02/getting-your-facebook-share-thumbnail-into-your-article-from-your-joomla-website/feed/" rel="self" type="application/rss+xml" />
	<link>http://hypertransitory.com/blog/2010/06/02/getting-your-facebook-share-thumbnail-into-your-article-from-your-joomla-website/</link>
	<description>Comics, Art, 3D, Web, Tech, Social Media &#38; other stuff by John Garrett</description>
	<lastBuildDate>Sat, 04 Feb 2012 00:53:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: JG</title>
		<link>http://hypertransitory.com/blog/2010/06/02/getting-your-facebook-share-thumbnail-into-your-article-from-your-joomla-website/#comment-4394</link>
		<dc:creator>JG</dc:creator>
		<pubDate>Fri, 09 Dec 2011 04:40:46 +0000</pubDate>
		<guid isPermaLink="false">http://hypertransitory.com/?p=371#comment-4394</guid>
		<description>Ah, that&#039;s good news! I&#039;m glad you got it sorted out, man. It can be extremely frustrating when it&#039;s not working.</description>
		<content:encoded><![CDATA[<p>Ah, that&#8217;s good news! I&#8217;m glad you got it sorted out, man. It can be extremely frustrating when it&#8217;s not working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: navy challenge coins</title>
		<link>http://hypertransitory.com/blog/2010/06/02/getting-your-facebook-share-thumbnail-into-your-article-from-your-joomla-website/#comment-4383</link>
		<dc:creator>navy challenge coins</dc:creator>
		<pubDate>Fri, 09 Dec 2011 03:46:21 +0000</pubDate>
		<guid isPermaLink="false">http://hypertransitory.com/?p=371#comment-4383</guid>
		<description>Thanks for trying to help me. I got it! In case this helps other people, I had put a default image for the site when I couldn’t get the specific article’s picture on FB posts. I added JG’s code, but it kept over-riding his hack. I commented it out, then deleted the code, and it still kept showing the default image.</description>
		<content:encoded><![CDATA[<p>Thanks for trying to help me. I got it! In case this helps other people, I had put a default image for the site when I couldn’t get the specific article’s picture on FB posts. I added JG’s code, but it kept over-riding his hack. I commented it out, then deleted the code, and it still kept showing the default image.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Takisha Sortore</title>
		<link>http://hypertransitory.com/blog/2010/06/02/getting-your-facebook-share-thumbnail-into-your-article-from-your-joomla-website/#comment-4090</link>
		<dc:creator>Takisha Sortore</dc:creator>
		<pubDate>Wed, 23 Nov 2011 01:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://hypertransitory.com/?p=371#comment-4090</guid>
		<description>I don&#039;t use Joomla but I heard so much about this. It is very difficult to me to work with joomla because I can&#039;t familiarize the codes.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t use Joomla but I heard so much about this. It is very difficult to me to work with joomla because I can&#8217;t familiarize the codes.<br />
<span class="cluv">Takisha Sortore recently posted..<a class="1399ccf83c 4090 p" href="http://repossesedcars.net/">Repo Cars</a><span class="heart_tip_box"><img class="heart_tip p 4090" alt="My Profile" style="border:0" width="16" height="14" src="http://hypertransitory.com/wp-content/plugins/commentluv/images/littleheartplus.gif"/></span></span></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JG</title>
		<link>http://hypertransitory.com/blog/2010/06/02/getting-your-facebook-share-thumbnail-into-your-article-from-your-joomla-website/#comment-2220</link>
		<dc:creator>JG</dc:creator>
		<pubDate>Tue, 22 Feb 2011 16:35:40 +0000</pubDate>
		<guid isPermaLink="false">http://hypertransitory.com/?p=371#comment-2220</guid>
		<description>Sorry, guys! The site did that. I&#039;ve been trying to figure out how to stop that. I think you might be able to use &quot;pre&quot; tags to post the code.

I&#039;ll figure it out and then post the examples above the comment box.

anyway glad it worked out Gandahar!

Did you try the Linter?:

http://developers.facebook.com/tools/lint/</description>
		<content:encoded><![CDATA[<p>Sorry, guys! The site did that. I&#8217;ve been trying to figure out how to stop that. I think you might be able to use &#8220;pre&#8221; tags to post the code.</p>
<p>I&#8217;ll figure it out and then post the examples above the comment box.</p>
<p>anyway glad it worked out Gandahar!</p>
<p>Did you try the Linter?:</p>
<p><a href="http://developers.facebook.com/tools/lint/">http://developers.facebook.com/tools/lint/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gandahar</title>
		<link>http://hypertransitory.com/blog/2010/06/02/getting-your-facebook-share-thumbnail-into-your-article-from-your-joomla-website/#comment-2219</link>
		<dc:creator>Gandahar</dc:creator>
		<pubDate>Tue, 22 Feb 2011 16:22:24 +0000</pubDate>
		<guid isPermaLink="false">http://hypertransitory.com/?p=371#comment-2219</guid>
		<description>can&#039;t post some code here?

the code have been deleted

sorry mates ;)

it was only an example of how to do it with simple php function ;)


see you guys !</description>
		<content:encoded><![CDATA[<p>can&#8217;t post some code here?</p>
<p>the code have been deleted</p>
<p>sorry mates ;)</p>
<p>it was only an example of how to do it with simple php function ;)</p>
<p>see you guys !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gandahar</title>
		<link>http://hypertransitory.com/blog/2010/06/02/getting-your-facebook-share-thumbnail-into-your-article-from-your-joomla-website/#comment-2218</link>
		<dc:creator>Gandahar</dc:creator>
		<pubDate>Tue, 22 Feb 2011 16:20:22 +0000</pubDate>
		<guid isPermaLink="false">http://hypertransitory.com/?p=371#comment-2218</guid>
		<description>Thanks guys !

then random number at the end of the URL fix this problem !!

php function  rand(1,9999)

[code]
$text=&#039;
&lt;a&gt;&#039;;
[/code]



thanks again

;)</description>
		<content:encoded><![CDATA[<p>Thanks guys !</p>
<p>then random number at the end of the URL fix this problem !!</p>
<p>php function  rand(1,9999)</p>
<p>[code]<br />
$text='<br />
<a>';<br />
[/code]</p>
<p>thanks again</p>
<p>;)</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fernette</title>
		<link>http://hypertransitory.com/blog/2010/06/02/getting-your-facebook-share-thumbnail-into-your-article-from-your-joomla-website/#comment-2187</link>
		<dc:creator>Fernette</dc:creator>
		<pubDate>Sun, 13 Feb 2011 20:52:36 +0000</pubDate>
		<guid isPermaLink="false">http://hypertransitory.com/?p=371#comment-2187</guid>
		<description>Hey JG,

Thanks for trying to help me. I got it!  In case this helps other people, I had put a default image for the site when I couldn&#039;t get the specific article&#039;s picture on FB posts. I added JG&#039;s code, but it kept over-riding his hack. I commented it out, then deleted the code, and it still kept showing the default image.

What I needed to do was completely delete the image.jpg or thumbnail.jpg in the folder. Facebook took the one without the itemid first, but if that wasn&#039;t there, then it took the correct or article-specific one.

Also at first I thought it didn&#039;t work when I put the thumbnail into the status  or link windows on facebook and didn&#039;t see any thumbnail, but then I remembered seeing somewhere that sometimes FB doesn&#039;t take long URLs and show the thumbnail. When I converted the link via bit.ly, it worked!

Thanks again JG. Really appreciate it!</description>
		<content:encoded><![CDATA[<p>Hey JG,</p>
<p>Thanks for trying to help me. I got it!  In case this helps other people, I had put a default image for the site when I couldn&#8217;t get the specific article&#8217;s picture on FB posts. I added JG&#8217;s code, but it kept over-riding his hack. I commented it out, then deleted the code, and it still kept showing the default image.</p>
<p>What I needed to do was completely delete the image.jpg or thumbnail.jpg in the folder. Facebook took the one without the itemid first, but if that wasn&#8217;t there, then it took the correct or article-specific one.</p>
<p>Also at first I thought it didn&#8217;t work when I put the thumbnail into the status  or link windows on facebook and didn&#8217;t see any thumbnail, but then I remembered seeing somewhere that sometimes FB doesn&#8217;t take long URLs and show the thumbnail. When I converted the link via bit.ly, it worked!</p>
<p>Thanks again JG. Really appreciate it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JG</title>
		<link>http://hypertransitory.com/blog/2010/06/02/getting-your-facebook-share-thumbnail-into-your-article-from-your-joomla-website/#comment-2170</link>
		<dc:creator>JG</dc:creator>
		<pubDate>Fri, 11 Feb 2011 00:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://hypertransitory.com/?p=371#comment-2170</guid>
		<description>Hey Fernette,

No worries, sometimes this stuff gets a little confusing!

Yes you would just name the image &quot;thumbnail44.jpg&quot; and put it in the fbthumbs folder. 

If your article is #44, then the code you place in there will simply add that number onto the end of the string and when it goes looking for that image, it will be there in the folder.

You can always email me from my contact form too if you&#039;re having trouble and I can take a look in there for you. Just let me know! Good luck!</description>
		<content:encoded><![CDATA[<p>Hey Fernette,</p>
<p>No worries, sometimes this stuff gets a little confusing!</p>
<p>Yes you would just name the image &#8220;thumbnail44.jpg&#8221; and put it in the fbthumbs folder. </p>
<p>If your article is #44, then the code you place in there will simply add that number onto the end of the string and when it goes looking for that image, it will be there in the folder.</p>
<p>You can always email me from my contact form too if you&#8217;re having trouble and I can take a look in there for you. Just let me know! Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fernette</title>
		<link>http://hypertransitory.com/blog/2010/06/02/getting-your-facebook-share-thumbnail-into-your-article-from-your-joomla-website/#comment-2169</link>
		<dc:creator>Fernette</dc:creator>
		<pubDate>Thu, 10 Feb 2011 19:04:22 +0000</pubDate>
		<guid isPermaLink="false">http://hypertransitory.com/?p=371#comment-2169</guid>
		<description>Thanks so much JG,

I was just thinking of switching away from Joomla. Question from ignorant noobie.

I put the codes into template index file as suggested, but what is it that I need to name the photo in the article?  For instance if I have article 44, do I name the photo thumbnail44.jpg and put it in the fbthumbs folder and facebook should be able to find it? What does it mean when you say I need to add a link tag (sorry - this is probably a dumb question).

To maybe complicate matters - when I couldn&#039;t get the thumb thing to work, I did figure out how to add a default image if FB couldn&#039;t find the right image. I used this code: 01 function insert_image_src_rel_in_head() {
02 global $post;
03 if ( !is_singular()) //if it is not a post or a page
04 return;
05 if(!has_post_thumbnail( $post-&gt;ID )) { //the post does not have
featured image, use a default image
06 $default_image=&quot;http://example.com/image.jpg&quot;; //replace
this with a default image on your server or an image in your media
library
07 echo &#039;&#039;;
08 }
09 else{
10 $thumbnail_src = wp_get_attachment_image_src(
get_post_thumbnail_id( $post-&gt;ID ), &#039;medium&#039; );
11 echo &#039;&#039;;
12 }
13 echo &quot;\n&quot;;
14 }
15 add_action( &#039;wp_head&#039;, &#039;insert_image_src_rel_in_head&#039;, 5 );

Do I need to delete this from functions.php if I do your fix?  I would prefer the right image for the right article rather than a default. 

Thanks very much. You make me think I&#039;m pretty close...</description>
		<content:encoded><![CDATA[<p>Thanks so much JG,</p>
<p>I was just thinking of switching away from Joomla. Question from ignorant noobie.</p>
<p>I put the codes into template index file as suggested, but what is it that I need to name the photo in the article?  For instance if I have article 44, do I name the photo thumbnail44.jpg and put it in the fbthumbs folder and facebook should be able to find it? What does it mean when you say I need to add a link tag (sorry &#8211; this is probably a dumb question).</p>
<p>To maybe complicate matters &#8211; when I couldn&#8217;t get the thumb thing to work, I did figure out how to add a default image if FB couldn&#8217;t find the right image. I used this code: 01 function insert_image_src_rel_in_head() {<br />
02 global $post;<br />
03 if ( !is_singular()) //if it is not a post or a page<br />
04 return;<br />
05 if(!has_post_thumbnail( $post-&gt;ID )) { //the post does not have<br />
featured image, use a default image<br />
06 $default_image=&#8221;http://example.com/image.jpg&#8221;; //replace<br />
this with a default image on your server or an image in your media<br />
library<br />
07 echo &#8221;;<br />
08 }<br />
09 else{<br />
10 $thumbnail_src = wp_get_attachment_image_src(<br />
get_post_thumbnail_id( $post-&gt;ID ), &#8216;medium&#8217; );<br />
11 echo &#8221;;<br />
12 }<br />
13 echo &#8220;\n&#8221;;<br />
14 }<br />
15 add_action( &#8216;wp_head&#8217;, &#8216;insert_image_src_rel_in_head&#8217;, 5 );</p>
<p>Do I need to delete this from functions.php if I do your fix?  I would prefer the right image for the right article rather than a default. </p>
<p>Thanks very much. You make me think I&#8217;m pretty close&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JG</title>
		<link>http://hypertransitory.com/blog/2010/06/02/getting-your-facebook-share-thumbnail-into-your-article-from-your-joomla-website/#comment-2124</link>
		<dc:creator>JG</dc:creator>
		<pubDate>Sun, 06 Feb 2011 01:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://hypertransitory.com/?p=371#comment-2124</guid>
		<description>Sander, sorry I forgot to get back to this one.

Yeah you&#039;ll need to put that all in there to get my solution to work. If you can&#039;t get it going you can always email me from my contact form and I can help you out.</description>
		<content:encoded><![CDATA[<p>Sander, sorry I forgot to get back to this one.</p>
<p>Yeah you&#8217;ll need to put that all in there to get my solution to work. If you can&#8217;t get it going you can always email me from my contact form and I can help you out.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

