summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r--phpfspot.class.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index f54a5d6..92c0fd2 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -3780,6 +3780,22 @@ class PHPFSPOT {
} // get_photo_version_name()
+ /**
+ */
+ public function is_valid_width($image_width)
+ {
+ if(in_array($image_width,
+ Array($this->cfg->thumb_width,
+ $this->cfg->photo_width,
+ $this->cfg->mini_width,
+ 30)))
+
+ return true;
+
+ return false;
+
+ } // is_valid_width()
+
} // class PHPFSPOT
?>