1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 13:21:54 +02:00

Gallery Portfolio Thumbnails added.

This commit is contained in:
Cameron
2014-01-14 08:16:12 -08:00
parent 67cef013f3
commit 4c3f3288ce
4 changed files with 99 additions and 24 deletions

View File

@@ -1906,6 +1906,43 @@ class e_parse extends e_parser
/**
* Set or Get the value of the thumbNail Width.
* @param $width (optional)
*/
public function thumbWidth($width=null)
{
if($val !== null)
{
$this->thumbWidth = intval($width);
}
return $this->thumbWidth;
}
/**
* Set or Get the value of the thumbNail height.
* @param $height (optional)
*/
public function thumbHeight($height= null)
{
if($val !== null)
{
$this->thumbHeight = intval($height);
}
return $this->thumbHeight;
}
/**
* Generate an auto-sized Image URL.
* @param $url - path to image or leave blank for a placeholder.