Changed "'thumb_width', 'thumb_height'" > "$config->get_int('thumb_width'), $config->get_int('thumb_height')"
This commit is contained in:
parent
9a2d694b6a
commit
660f9ca4b0
@ -41,7 +41,7 @@ class Themelet {
|
|||||||
|
|
||||||
// If file is flash or svg then sets thumbnail to max size.
|
// If file is flash or svg then sets thumbnail to max size.
|
||||||
if($image->ext == 'swf' || $image->ext == 'svg'){
|
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{
|
else{
|
||||||
$tsize = get_thumbnail_size($image->width, $image->height); }
|
$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 file is flash or svg then sets thumbnail to max size.
|
||||||
if($image->ext == 'swf' || $image->ext == 'svg'){
|
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{
|
else{
|
||||||
$tsize = get_thumbnail_size($image->width, $image->height); }
|
$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 file is flash or svg then sets thumbnail to max size.
|
||||||
if($image->ext == 'swf' || $image->ext == 'svg'){
|
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{
|
else{
|
||||||
$tsize = get_thumbnail_size($image->width, $image->height); }
|
$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 file is flash or svg then sets thumbnail to max size.
|
||||||
if($image->ext == 'swf' || $image->ext == 'svg'){
|
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{
|
else{
|
||||||
$tsize = get_thumbnail_size($image->width, $image->height); }
|
$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 file is flash or svg then sets thumbnail to max size.
|
||||||
if($image->ext == 'swf' || $image->ext == 'svg'){
|
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{
|
else{
|
||||||
$tsize = get_thumbnail_size($image->width, $image->height); }
|
$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 file is flash or svg then sets thumbnail to max size.
|
||||||
if($image->ext == 'swf' || $image->ext == 'svg'){
|
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{
|
else{
|
||||||
$tsize = get_thumbnail_size($image->width, $image->height); }
|
$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 file is flash or svg then sets thumbnail to max size.
|
||||||
if($image->ext == 'swf' || $image->ext == 'svg'){
|
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{
|
else{
|
||||||
$tsize = get_thumbnail_size($image->width, $image->height); }
|
$tsize = get_thumbnail_size($image->width, $image->height); }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user