Extends Nos\Orm\Model.
Returns: | True or false depending on whether the deletion was successful. |
---|
Delete the original media file from the disk.
Returns: | True or false depending on whether the deletion was successful. |
---|
Delete all the cached versions (thumbnails) of the media files from the disk.
Returns: | Relative media file virtual path. |
---|
Returns: | Public media file URL relative to base href. |
---|
Returns: | Private media file path relative to Novius OS root directory. |
---|
Parameters: |
|
||||
---|---|---|---|---|---|
Returns: | If the media file is an image, a HTML <img> tag with src, width and height attributes, depends of $params. False otherwise. |
Parameters: |
|
---|---|
Returns: | If the media file is an image, a HTML <img> tag with src, width and height attributes. False otherwise. |
Alias of get_img_tag(array('width' => $max_width, 'height' => $max_height)).
Parameters: |
|
---|---|
Returns: | If the media file is an image, an associative array with keys src, width and height depends of size parameters. False otherwise. |
Parameters: |
|
---|---|
Returns: | If the media file is an image, media URL relative to base href for specify size parameters. False otherwise. |
Returns: | True or false, depend if media is an image. |
---|