Kama Thumbnail free WordPress plugin
Description
Convenient way to create post thumbnails on the fly without server overload. The best alternative to scripts like “thumbnail.php”. Supports Multisite. Usage The plugin for developers firstly, because it don’t do anything after install. In order to the plugin begin to work, you need use one of plugin function in your theme or plugin. Example: Using the code in the loop you will get ready thumbnail IMG tag. Plugin takes post thumbnail image or find first image in post content, resize it and create cache. Also creates custom field for the post with URL to original image. In simple words it cache all routine and in next page loads just take cache result. You can make thumbs from custom URL, like this: The URL_TO_IMG must be from local server: by default, plugin don’t work with external images, because of security. But you can set allowed hosts on settings page: Settings > Media. All plugin functions: // return thumb url URL echo kama_thumb_src( $args, $src ); // return thumb IMG tag echo kama_thumb_img( $args, $src ); // return thumb IMG tag wraped with . A link of A will leads to original image. echo kama_thumb_a_img( $args, $src ); // to get image width or height after thumb creation echo kama_thumb( $optname ); // ex: echo ‘‘; Parameters: $args (array/string) Arguments to create thumb. Accepts: w | width (int) desired width. h | height (int) desired height. if parameters w and h not set, both of them became 100 – square thumb 100х100 px. notcrop (isset) if set crop parameter become false – crop=false. crop (isset) Control image cropping. By default always true. To disable cropping set here false/0/no/none or set parameter ‘notcrop’. Then image will not be cropped and will be created as small copy of original image by sizes settings
Features
Cost:
Free
Provider:
Kama
Popularity:
Low
WPMarket

