projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
limit percentage of font-size for tag cloud entries to intenger values
[phpfspot.git]
/
phpfspot_img.php
diff --git
a/phpfspot_img.php
b/phpfspot_img.php
index 4bafa42bbf8a3ef6c1b532b6a5395bb8e7f4042e..0afdd7b2d8dc5f728492d0dffd32b8ff405bd143 100644
(file)
--- a/
phpfspot_img.php
+++ b/
phpfspot_img.php
@@
-22,10
+22,9
@@
class PHPFSPOT_IMG {
public function show($idx, $width = "")
{
public function show($idx, $width = "")
{
- $
details = $this->parent->get_photo_detail
s($idx);
+ $
this->parent->gen_thumb
s($idx);
- foreach(Array($this->parent->cfg->thumb_width, $this->parent->cfg->photo_width) as $resolution)
- $this->parent->create_thumbnail($this->parent->translate_path($details['directory_path']) ."/". $details['name'], $resolution);
+ $details = $this->parent->get_photo_details($idx);
if($width == "")
$fullpath = $this->parent->translate_path($details['directory_path']) ."/". $details['name'];
if($width == "")
$fullpath = $this->parent->translate_path($details['directory_path']) ."/". $details['name'];