[TH] Thumbnails [Deleted]

When manually setting a thumbnail it doesn't work. It always uses the first image in the first post as the thumbnail.
 
When manually setting a thumbnail it doesn't work. It always uses the first image in the first post as the thumbnail.
That is a rather weird issue your having there. Could you please create a ticket with us along with providing some screenshots of the issue to? Doing so will allow our developers to understand what is causing this issue.
 
Hello,
Are thumbnails included in og:image for facebook shares ?
Hiya, we do allow the thumbnail you set to show as an alternative image for the Facebook Open Graph image when you share it to the public, friends, and those you share it with. This is shown in the products feature page here.
 
Weird issue on my forum, i'm unable to enable thumb caching, as soon as i save the changes and reload the page it will be unchecked again
upload_2017-6-19_19-10-18.webp
 
How do you do that?
You can accomplish this by adding a thumbnail image to your forum thread before copying the threads link into Facebook. From there you should be able to choose which image you'd like to use. Your default og image or the thumbnails image.
 
It's not working for me at present - I'll do some more testing. Should it work if the images in the post are placed full-size?
 
Hello, have you tried reinstalling the add-on to see if it fixes the issue?

Just tried but still same problem.

I also noticed my error log is filled by errors (1 or 2 each hour) saying something about this addon and thumbnail proxy

Code:
Server Error Log
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Incorrect string value: '\xE9tatio...' for column 'file_name' at row 1 - library/Zend/Db/Statement/Mysqli.php:214
Generated By: Unknown Account, 49 minutes ago
Stack Trace
#0 /home/libertaire/public_html/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/libertaire/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/libertaire/public_html/library/Zend/Db/Adapter/Abstract.php(632): Zend_Db_Adapter_Abstract->query('UPDATE `xf_thum...', Array)
#3 /home/libertaire/public_html/library/ThemeHouse/Thumbnails/Model/ThumbnailProxy.php(353): Zend_Db_Adapter_Abstract->update('xf_thumbnail_pr...', Array, 'thumbnail_id = ...')
#4 /home/libertaire/public_html/library/ThemeHouse/Thumbnails/Model/ThumbnailProxy.php(110): ThemeHouse_Thumbnails_Model_ThumbnailProxy->_fetchAndCacheThumbnail('http://gallica....', Array)
#5 /home/libertaire/public_html/library/ThemeHouse/Thumbnails/Model/ThumbnailProxy.php(23): ThemeHouse_Thumbnails_Model_ThumbnailProxy->refreshThumbnailIfRequired(Array)
#6 /home/libertaire/public_html/library/ThemeHouse/Thumbnails/Extend/XenForo/ProxyOutput.php(57): ThemeHouse_Thumbnails_Model_ThumbnailProxy->getThumbnail('http://gallica....')
#7 /home/libertaire/public_html/library/ThemeHouse/Thumbnails/Extend/XenForo/ProxyOutput.php(34): ThemeHouse_Thumbnails_Extend_XenForo_ProxyOutput->_outputThumbnail(false)
#8 /home/libertaire/public_html/library/XenForo/ProxyOutput.php(390): ThemeHouse_Thumbnails_Extend_XenForo_ProxyOutput->output()
#9 /home/libertaire/public_html/proxy.php(12): XenForo_ProxyOutput::run()
#10 {main}
Request State
array(3) {
  ["url"] => string(158) "https://www.libertaire.net/proxy.php?thumbnail=http%3A%2F%2Fgallica.bnf.fr%2Fark%3A%2F12148%2Fbpt6k57010037%2Ff6.highres&hash=4df23e471a372bca8f2a937da31fe3f6"
  ["_GET"] => array(2) {
   ["thumbnail"] => string(57) "http://gallica.bnf.fr/ark:/12148/bpt6k57010037/f6.highres"
   ["hash"] => string(32) "4df23e471a372bca8f2a937da31fe3f6"
  }
  ["_POST"] => array(0) {
  }
}
 
Can I set thumbnail image as OG:IMAGE ?

---------------- UPDATE --------------------

I see it set thumbnail image as og:image, but when the thumbnail image link started with https, the og:image link error :(

Untitled.webp

How to remove the board url in og:image tag?
 
Last edited by a moderator:
I don't see the that options in AdminCP ?
It is not an option in the AdminCP, when you post the thread link into Facebook it should use the image you are using on that thread. Or you can select your thumbnail image as an alternate image for your open graph image before you post your thread link on Facebook.
 
It is not an option in the AdminCP, when you post the thread link into Facebook it should use the image you are using on that thread. Or you can select your thumbnail image as an alternate image for your open graph image before you post your thread link on Facebook.
As I say above, my problem is here.
When the thumbnail image link started with https, the og:image link error :(

untitled-png.154273


How to remove the board url in og:image tag?
 
Top Bottom