$details = $this->parent->get_photo_details($idx);
foreach(Array($this->parent->cfg->thumb_width, $this->parent->cfg->photo_width) as $resolution)
- $this->parent->resize_image($this->parent->translate_path($details['directory_path']) ."/". $details['name'], $resolution);
+ $this->parent->create_thumbnail($this->parent->translate_path($details['directory_path']) ."/". $details['name'], $resolution);
if($width == "")
$fullpath = $this->parent->translate_path($details['directory_path']) ."/". $details['name'];