mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
feature 2548 multisize
- rewrote local site sync + metadata sync git-svn-id: http://piwigo.org/svn/trunk@12831 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -42,10 +42,7 @@ final class SrcImage
|
||||
}
|
||||
elseif (!empty($infos['representative_ext']))
|
||||
{
|
||||
$pi = pathinfo($infos['path']);
|
||||
$file_wo_ext = get_filename_wo_extension($pi['basename']);
|
||||
$this->rel_path = $pi['dirname'].'/pwg_representative/'
|
||||
.$file_wo_ext.'.'.$infos['representative_ext'];
|
||||
$this->rel_path = original_to_representative($infos['path'], $infos['representative_ext']);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user