Use Image->get_image_link() on ICO files
This commit is contained in:
parent
1dd0dfc591
commit
05da5d0b4f
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
class IcoFileHandlerTheme extends Themelet {
|
||||
public function display_image(Page $page, Image $image) {
|
||||
$ilink = make_link("get_ico/{$image->id}/{$image->id}.ico");
|
||||
$ilink = $image->get_image_link();
|
||||
$html = "
|
||||
<img id='main_image' src='$ilink'>
|
||||
";
|
||||
|
|
Reference in a new issue