QF-GetThumb is a plug-in that extracts the image data from the content and the argument, and makes the thumbnail. Outside RSS can be read depending on
It is very easy to use QF-GetThumb. You write in "" the source of theme. Include various settings in a function, if necessary.
[first-options] num : Index of take out the image in the source of content. (type: integer , defualt : 0) width, height : Image-width and image-height. If set width or height only one, The image size fits numerical value. When You set both value, The image size is within both value. (type: integer , default : 0, It means automatic detection of size of the original image.) tag : That you output the HTML tag of the image is the setting that you do not do. When You set 1, the source of tag is output, and the URL of the image is output when You set 0. (type: boolean 0 or 1 , defualt / 1) global : It is setting whether or not it limits an object of the extraction to data in the local server. (type: boolean 0 or 1 , defualt / 0 local server only) crop_w : It is width when it does a crop of an image. (defualt / 0, It means don't crop.) crop_h : It is height when it does a crop of an image. (defualt / 0, It means don't crop.) find : Only an image according for the character string that You appointed does this setting in an output object. (defualt / Null)
[second-option] default_image : The path of the image, that is used when an image is not included in the source of content. (default / The optional setting is used.)
[third-option] source : HTML code of target, The object of the image extraction is set. the_excerpt and custom_field can be specified, and other codes specify it. (default / the_content() is used.)
Requires: 2.6 or higher
Compatible up to: 2.7
Last Updated: 8 years ago
Active Installs: 1,000+
Got something to say? Need help?