Share on Facebook does not show thumbnail images
Posted
by
matt_tm
on Pro Webmasters
See other posts from Pro Webmasters
or by matt_tm
Published on 2010-11-18T13:36:20Z
Indexed on
2011/03/10
0:19 UTC
Read the original article
Hit count: 360
I have a PHP application which has a "Share on Facebook" button that,
On the development server shows the thumbnail images correctly and allows the user to select between them
On the live server, it does NOT show the thumbnail images at all.
The relevant portion of the .htaccess file is:
# Set up caching on media files for 2 days
<FilesMatch "\.(gif|jpg|jpeg|png|flv)$">
ExpiresDefault A172800
Header append Cache-Control "public"
</FilesMatch>
I'm using the exact same set of php files and .htaccess, but the server configuration is different.
What could be causing this? Note that the text appears fine.
Edit1
We are also doing some URL rewriting related to images in the .htaccess (on both servers):
...
RewriteRule ^.*/content/image/(.*)$ content/image/$1 [L]
...
RewriteRule ^.*/images/(.*)$ images/$1 [L]
...
Would that be somehow making a difference? Images appear fine all throughout the site.
(I posted this question earlier as http://stackoverflow.com/questions/4142597/share-on-facebook-does-not-show-thumbnail-images) )
© Pro Webmasters or respective owner