Error in search results when no image set

Posted in: Newspaper
Post count: 21

Hi there,

On the search results page, there seems to be an error displaying pages without an image or thumbnail assigned: http://bestforcats.co.uk/?s=Newsletter

The placeholder image appears, but the error seems to interfere with this. Is there any way around this?

Thanks!

Post count: 23312

Hello bestword1,

This error -> http://screencast.com/t/XW2ZouO2hQe comes up in the search/block 21/module 16 when a post has no featured image set to it. This is the case because the search uses the default WP thumbnail. We are working on a fix for this and until we can implement it, you can use this workaround:

You need to edit td_config.php and add this code:

td_api_thumb::add('thumbnail',
array(
'name' => 'thumbnail',
'width' => 150,
'height' => 150,
'crop' => array('center', 'top'),
'post_format_icon_size' => 'normal',
'used_on' => array(
'Big grid 1, 3, 7 - small image'
)
)
);

It should look like so: http://screencast.com/t/RTkWKH6me
Basically, you are just adding another thumbnail to the list in between the existing ones. Then the error will not display anymore.

I recommend you to change the module for Search from Theme panel, like this -> http://screencast.com/t/I0AmPRbybZZN

Hope this helps and let us know how it goes!

Thank you for the message!

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.