<img class="lazy" title="Windows 8" alt="Windows 8" src="http://b.a.org/sites/default/files/styles/thumbnail/public/category_pictures/Windows%20Media%20Player%20alt.png?itok=NXy-3w5_" href="lazy" data-original="http://b.a.org/sites/default/files/styles/thumbnail/public/category_pictures/Windows%20Media%20Player%20alt.png?itok=NXy-3w5_">
I would like to adjust the src so that it can display "/sites/all/themes/s5/images/blank.jpg" rather than the image url. Can you help me modify the below code I am using in Drupal 7's template.php to make this happen?
function s5_preprocess_image(&$variables) {
if ($variables['style_name'] == 'thumbnail') {
$variables['attributes']['class'][] = 'lazy';
$variables['attributes']['data-original'][] = file_create_url($variables['path']);
}}
Thanks very much!!