method getThumbsName documentation in bbn\Appui\Medias

Returns the name of the thumb file corresponding to the given name and size

function(string $name, array $size = array ( 0 => 60, 1 => 60, )) { $tmp = explode('.', $name); if (isset($tmp[1]) && $ext = '.'.$tmp[1]) { return $tmp[0].'_w'.$size[0].'h'.$size[1].$ext; } return null; }

Returns the name of the thumb file corresponding to the given name and size BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.