Changed "'thumb_width', 'thumb_height'" > "$config->get_int('thumb_width'), $config->get_int('thumb_height')"
This commit is contained in:
parent
9a2d694b6a
commit
660f9ca4b0
7 changed files with 7 additions and 7 deletions
|
@ -41,7 +41,7 @@ class Themelet {
|
|||
|
||||
// If file is flash or svg then sets thumbnail to max size.
|
||||
if($image->ext == 'swf' || $image->ext == 'svg'){
|
||||
$tsize = get_thumbnail_size('thumb_width', 'thumb_height'); }
|
||||
$tsize = get_thumbnail_size($config->get_int('thumb_width'), $config->get_int('thumb_height')); }
|
||||
else{
|
||||
$tsize = get_thumbnail_size($image->width, $image->height); }
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ class Themelet {
|
|||
|
||||
// If file is flash or svg then sets thumbnail to max size.
|
||||
if($image->ext == 'swf' || $image->ext == 'svg'){
|
||||
$tsize = get_thumbnail_size('thumb_width', 'thumb_height'); }
|
||||
$tsize = get_thumbnail_size($config->get_int('thumb_width'), $config->get_int('thumb_height')); }
|
||||
else{
|
||||
$tsize = get_thumbnail_size($image->width, $image->height); }
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ class Themelet {
|
|||
|
||||
// If file is flash or svg then sets thumbnail to max size.
|
||||
if($image->ext == 'swf' || $image->ext == 'svg'){
|
||||
$tsize = get_thumbnail_size('thumb_width', 'thumb_height'); }
|
||||
$tsize = get_thumbnail_size($config->get_int('thumb_width'), $config->get_int('thumb_height')); }
|
||||
else{
|
||||
$tsize = get_thumbnail_size($image->width, $image->height); }
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ class Themelet {
|
|||
|
||||
// If file is flash or svg then sets thumbnail to max size.
|
||||
if($image->ext == 'swf' || $image->ext == 'svg'){
|
||||
$tsize = get_thumbnail_size('thumb_width', 'thumb_height'); }
|
||||
$tsize = get_thumbnail_size($config->get_int('thumb_width'), $config->get_int('thumb_height')); }
|
||||
else{
|
||||
$tsize = get_thumbnail_size($image->width, $image->height); }
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ class Themelet {
|
|||
|
||||
// If file is flash or svg then sets thumbnail to max size.
|
||||
if($image->ext == 'swf' || $image->ext == 'svg'){
|
||||
$tsize = get_thumbnail_size('thumb_width', 'thumb_height'); }
|
||||
$tsize = get_thumbnail_size($config->get_int('thumb_width'), $config->get_int('thumb_height')); }
|
||||
else{
|
||||
$tsize = get_thumbnail_size($image->width, $image->height); }
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ class Themelet {
|
|||
|
||||
// If file is flash or svg then sets thumbnail to max size.
|
||||
if($image->ext == 'swf' || $image->ext == 'svg'){
|
||||
$tsize = get_thumbnail_size('thumb_width', 'thumb_height'); }
|
||||
$tsize = get_thumbnail_size($config->get_int('thumb_width'), $config->get_int('thumb_height')); }
|
||||
else{
|
||||
$tsize = get_thumbnail_size($image->width, $image->height); }
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ class Themelet {
|
|||
|
||||
// If file is flash or svg then sets thumbnail to max size.
|
||||
if($image->ext == 'swf' || $image->ext == 'svg'){
|
||||
$tsize = get_thumbnail_size('thumb_width', 'thumb_height'); }
|
||||
$tsize = get_thumbnail_size($config->get_int('thumb_width'), $config->get_int('thumb_height')); }
|
||||
else{
|
||||
$tsize = get_thumbnail_size($image->width, $image->height); }
|
||||
|
||||
|
|
Reference in a new issue