GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
This is Issue 98 moved from a Google Code project.
Added by 2010-11-08T14:48:54.000Z by m...@nurfuerspam.de.
Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Defect, Priority-Medium
The default thumpnail is shown in picture-size, not using the configured thumpnail-Size for Sidebar.
<b>What steps will reproduce the problem?</b>
1. post am article without an article image
2. setup the widget "Tabbed Sidebar" or "Featured Stories"
<b>What versions of WordPress and Arras Theme are you using?</b>
I took a look into the thumpnails.php and found the problem on Line 76. $empty_thumpnail ist not using width and height. In my installation I fixed it as below:
Move line 76 to line 102 (after $w and $h is set) and manipulate the img-src like this:
$empty_thumbnail = '<img src="' . get_bloginfo('template_directory') . '/library/timthumb.php?src=/images/thumbnail.png&w=' . $w . '&h=' . $h . '&zc=1" alt="' . get_the_excerpt() . '" title="' . get_the_title() . '" />';