completely replaced get_thumbnail_src it get_thumbnail_url

or get_thumbnail_path

git-svn-id: http://piwigo.org/svn/trunk@1609 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2006-11-15 04:25:12 +00:00
parent c8a07e4c0b
commit 221d839769
6 changed files with 45 additions and 63 deletions
-11
View File
@@ -680,17 +680,6 @@ function get_pwg_themes()
return $themes;
}
/**
DEPRECATED use get_thumbnail_path or get_thumbnail_url
*/
function get_thumbnail_src($path, $tn_ext = '', $with_rewrite = true)
{
if ($with_rewrite)
return get_thumbnail_url( array('path'=>$path, 'tn_ext'=>$tn_ext) );
else
return get_thumbnail_path( array('path'=>$path, 'tn_ext'=>$tn_ext) );
}
/* Returns the PATH to the thumbnail to be displayed. If the element does not
* have a thumbnail, the default mime image path is returned. The PATH can be
* used in the php script, but not sent to the browser.