Merge pull request #3817 from laf/issue-3738

This commit is contained in:
Søren Rosiak
2016-07-18 22:07:41 +02:00
committed by GitHub
@@ -58,5 +58,11 @@ if( defined('show_settings') || empty($widget_settings) ) {
}
else {
$widget_settings['title'] = $widget_settings['image_title'];
if (strstr($widget_settings['image_url'], '?')) {
$widget_settings['image_url'] .= "&".mt_rand();
}
else {
$widget_settings['image_url'] .= "?".mt_rand();
}
$common_output[] = '<a target="_blank" href="'.$widget_settings['target_url'].'"><img class="minigraph-image" style="max-width: '.$widget_dimensions['x'].'px; max-height:'.$widget_dimensions['y'].'px;" src="'.$widget_settings['image_url'].'"/></a>';
}