record_image_url
— Get an image URL for a record.
New in version 3.1.
Summary
- record_image_url($record, $imageType = null)
Get an image URL for a record.
- Parameters:
$record (
Omeka_Record_AbstractRecord|string
) –$imageType (
string|null
) – Image size: thumbnail, etc. Pass null to use admin-configured default size
- Returns:
string
Usage
record_image_url
returns the same URL that an equivalent call to record_image
would, only without the wrapping <img>
tag.