function mediafront_get_image in MediaFront 6.2
Same name and namespace in other branches
- 6 mediafront.module \mediafront_get_image()
Returns an image field path provided the ImageCache preset name and file name.
1 call to mediafront_get_image()
- mediafront_playlist_node in ./
mediafront.module - Implementation of hook_playlist_node()
File
- ./
mediafront.module, line 747
Code
function mediafront_get_image($preset_name, $filename) {
return file_create_url(file_directory_path() . '/imagecache/' . $preset_name . '/' . $filename);
}