Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
boro_boy Posted October 6, 2016 Posted October 6, 2016 But Facebook Pages and Twitter do show them. This is the link to my pages: https://plus.google.com/+Fansfootballforum Facebook: https://www.facebook.com/fansfootballforum Twitter: https://twitter.com/myfootieforum But as you can see, all the images on google+ page are broken. They used to work but they don't anymore and I haven't got a clue what is up!! Has anyone else got or had this problem? Thank You
opentype Posted October 6, 2016 Posted October 6, 2016 If I share a page from your site on Google+, I also get a broken image. I checked it out in the code. Two things are unusual: a) you use a GIF animation as Open Graph sharer image. B) I can’t open any of your upload/ images in the browser. Your server forces a download for all of them. I guess Google doesn’t like at least one of these things.
boro_boy Posted October 6, 2016 Author Posted October 6, 2016 Ok thank you, i'll have a look at changing the open graph sharer to a normal image.
boro_boy Posted October 6, 2016 Author Posted October 6, 2016 I don't know why they are downloading and not showing!!!
boro_boy Posted October 11, 2016 Author Posted October 11, 2016 This is annoying me now!!!! What should my upload folder be set to? Its currently 0777 Are there any image settings which could be causing this?
TSP Posted October 12, 2016 Posted October 12, 2016 It sounds like your server is sending the header content-disposition: attachment; or something equivalent of that for the resources. However, testing with some images now, I can't see what @opentype said happens about them being forced to be downloaded. You would most likely have to talk with your host if it's a case of content-disposition: attachment;
boro_boy Posted October 12, 2016 Author Posted October 12, 2016 I noticed this in my /uploads folder Its a .htaccess file with the following contents #<ipb-protection> <Files ~ "^.*\.(php|cgi|pl|php3|php4|php5|php6|phtml|shtml)"> Order allow,deny Deny from all </Files> <ifModule mod_headers.c> Header set Content-Disposition attachment </ifModule> #</ipb-protection> #<ipb-protection> <Files ~ "^.*\.(php|cgi|pl|php3|php4|php5|php6|phtml|shtml)"> Order allow,deny Deny from all </Files> <ifModule mod_headers.c> Header set Content-Disposition attachment </ifModule> #</ipb-protection> Will that be causing it as all other images I try to view outside of the /uploads folder load up correctly.
TSP Posted October 12, 2016 Posted October 12, 2016 Yes, you should remove this part: <ifModule mod_headers.c> Header set Content-Disposition attachment </ifModule>
boro_boy Posted October 12, 2016 Author Posted October 12, 2016 Excellent, thank you very much i'll do that now.
boro_boy Posted October 12, 2016 Author Posted October 12, 2016 Images still not loading for my Google+ Page: With this image: So more investigations required for me. Thanks for your help though.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.