SiteOrgin’s Features Widget allows the user to use a custom icon image. However, the image actually used is the thumbnail of the original. This caused my icons to look very low resolution. In the Features Widget code (/wordpress/wp-content/plugins/so-widgets-bundle/widgets/features/tpl/default.php) there is a line of php

$attachment = wp_get_attachment_image_src($feature['icon_image']);

According to WordPress Support the function wp_get_attachment_image_src() will return the url of the thumbnail of the image. To get it to return the full size image the line needs to be changed to

$attachment = wp_get_attachment_image_src($feature['icon_image'], $size = 'original');

Every time the plugin is update this line will need to be changed.

I have submitted a support ticket with SiteOrigin. Hopefully they will add the ability to return the original image as a feature.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>