foreach ($sizes as $size) { if (strpos($size, 'x'
) === false
) { $size =
$size . 'x' .
$size;
} $fileName =
str_replace( '.' .
$this->extension,
'_' .
$size .
$suffix . '.' .
$this->extension,
$this->
getFileName() );
$path =
$this->
getThumbnailDir() .
$fileName;
$path =
str_replace(Shopware()->
DocPath(), '',
$path);
if (DIRECTORY_SEPARATOR !== '/'
) { $path =
str_replace(DIRECTORY_SEPARATOR, '/',
$path);
} $thumbnails[$size] =
$path;
} return $thumbnails;
} /**
* @return ArrayCollection
*/