Browse Source

updated broken thumbnail url

pull/122/merge
Paul Pound 13 years ago
parent
commit
ad875e69a3
  1. BIN
      images/Crystal_Clear_action_filenew.png
  2. 4
      islandora_basic_collection/theme/islandora_basic_collection.theme.inc

BIN
images/Crystal_Clear_action_filenew.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

4
islandora_basic_collection/theme/islandora_basic_collection.theme.inc

@ -101,8 +101,8 @@ function islandora_basic_collection_preprocess_islandora_basic_collection(&$vari
$thumbnail_img = '<img src="' . $base_path . $object_url . '/datastream/TN/view"' . '/>'; $thumbnail_img = '<img src="' . $base_path . $object_url . '/datastream/TN/view"' . '/>';
} }
else { else {
//TODO: change this default image url $image_path = drupal_get_path('module', 'islandora');
$thumbnail_img = '<img src="http://codesprint-centos.islandora.ca/islandora/object/islandora%3A52/datastream/TN"' . '/>'; $thumbnail_img = '<img src="' .$base_path . $image_path . '/images/Crystal_Clear_action_filenew.png"/>';
} }
$associated_objects_array[$pid]['thumbnail'] = $thumbnail_img; $associated_objects_array[$pid]['thumbnail'] = $thumbnail_img;
$associated_objects_array[$pid]['title_link'] = l($title, $object_url, array('html' => TRUE, 'attributes' => array('title' => $title))); $associated_objects_array[$pid]['title_link'] = l($title, $object_url, array('html' => TRUE, 'attributes' => array('title' => $title)));

Loading…
Cancel
Save