|
|
@ -122,8 +122,7 @@ class ObjectHelper { |
|
|
|
$dsID = variable_get('fedora_default_display_dsid', 'TN'); |
|
|
|
$dsID = variable_get('fedora_default_display_dsid', 'TN'); |
|
|
|
$mimeType = 'image/jpeg'; |
|
|
|
$mimeType = 'image/jpeg'; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
$url = variable_get('fedora_base_url', 'http://localhost:8080/fedora') . '/objects/' . $pid . '/datastreams/' . $dsID . '/content'; |
|
|
|
$url = variable_get('fedora_base_url', 'http://localhost:8080/fedora') . '/get/' . $pid . '/' . $dsID; |
|
|
|
|
|
|
|
if ($version) { |
|
|
|
if ($version) { |
|
|
|
$url .= '/' . $version; //drupal_urlencode($version); |
|
|
|
$url .= '/' . $version; //drupal_urlencode($version); |
|
|
|
} |
|
|
|
} |
|
|
|