Skip to content
Permalink
Browse files

fixes #9 ability, with a direct link, to download a web size from a r…

…epresentative picture

e Please enter the commit message for your changes. Lines starting
  • Loading branch information
plegall committed Nov 15, 2019
1 parent d943a05 commit e4ec6b1ab41292a53591a8e8994360325ef57d60
Showing with 8 additions and 1 deletion.
  1. +8 −1 main.inc.php
@@ -123,7 +123,14 @@ function dlsize_getFilename($row, $filesize=array())
$filename = $row['filename'];
}
$filename.= '.'.get_extension($row['path']);
if (isset($row['representative_ext']))
{
$filename.= '.'.$row['representative_ext'];
}
else
{
$filename.= '.'.get_extension($row['path']);
}
return $filename;
}

0 comments on commit e4ec6b1

Please sign in to comment.
You can’t perform that action at this time.