'.$llimit.'-'.$hlimit.' '; endfor; ?>

test img

 
/>
/>

/>

/>

=')) { ?>
x
/>
/>
/>      
/>
/>

/>
/>

x
/>

x

/>
/>
/>

/>
x

x

x

/>

x
/>
/>
/>
/>
/>

/>
/>

/>
/>
/>
/>





) a wordtube media (media=) input in metadata, it will be used to display the thumbnail.', 'post-thumb-admin'); ?>


pt_meta_thumb.', 'post-thumb-admin'); ?>
























Base path: Absolute path to website. For example, /httpdocs or /yourdomain.com. Used to find location of thumbnails on server. http://yourdomain.com/images/pth/thumb_picture.jpg would actually be /httpdocs/images/pth/thumb_picture.jpg. No trailing '/'", 'post-thumb-admin'); ?>


Full domain name: This is the actual domain that contains your blog. Includes the http://. No trailing '/'", 'post-thumb-admin'); ?>


Initial default value: These are values of 'Base path' and 'Domain name' calculated by Post-Thumb from informations retrieved from your blog installation.", 'post-thumb-admin'); ?>


Folder name: Set the relative path to thumbs. Make sure directory exists and is writable. No trailing '/'", 'post-thumb-admin'); ?>


Default image: The location of the default image to use if no picture can be found. Enter in the relative url, eg. images/default.jpg', 'post-thumb-admin'); ?>


Use meta data: Will tell Post-thumb to use metadata or not in its post scan.', 'post-thumb-admin'); ?>


Use Category Names: if category names are used, this will override 'Default Image' and 'Default Image for Videos' and use a category specific image instead.", 'post-thumb-admin'); ?>
























', 'post-thumb-admin'); ?>


', 'post-thumb-admin'); ?>










































$L_ratio) { $src_w = $orig_height * $dst_w / $dst_h; $src_x = ($orig_width - $src_w)/2 ; $src_y = $crop_h; $src_h = $orig_height; } else { $src_h = $orig_width * $dst_h / $dst_w; $src_y = ($orig_height - $src_h)/2 ; $src_x = $crop_w; $src_w = $orig_width; } // sizes should be integers settype($src_x, 'integer'); settype($src_y, 'integer'); settype($src_w, 'integer'); settype($src_h, 'integer'); settype($dst_w, 'integer'); settype($dst_h, 'integer'); $tmpimage = imagecreatetruecolor($dst_w, $dst_h); imagecopyresampled($tmpimage, $tmpimg, $dst_x, $dst_y, $src_x, $src_y, $dst_w, $dst_h, $src_w, $src_h); imagedestroy($tmpimg); $save_dir = get_pt_options('base_path').'/'.get_pt_options('folder_name'); $save_url = get_pt_options('full_domain_name').'/'.get_pt_options('folder_name'); $rename_to = 'test-test.jpg'; if (file_exists($save_dir .'/'. $rename_to)) @unlink($save_dir .'/'. $rename_to); @imagejpeg($tmpimage, ($save_dir .'/'. $rename_to)); imagedestroy($tmpimage); if (file_exists($save_dir."/".$rename_to)) return true; else return false; } ?>