/** * Created by PhpStorm. * User: Amedora * Date: 2/27/15 * Time: 5:39 AM */ function Thumb($obj, $options = array(), $tag = true) { $thumb = new Thumb($obj, $options); return $tag ? $thumb->tag() : $thumb->url(); }