Home > plugin > QF-GetThumb 1.1.2 Release

QF-GetThumb 1.1.2 Release

Summary:

New!!

The upgrade of QF-GetThumb was done. It was not only the_content, and it came to be able to set the others ..the_excerpt and custom_field.. arbitrariness for the code. This plug-in analyzes the image tag in the content and the specified code, and The image of one point is made thumbnail and cache from among the specified code by this plugin.

I was aimed for the index generation of the list of contents and the theme customization of mobile contents, and I developed this plug in.

QF-GetThumb 出力画面

Characteristic:

There is as follows characteristic in QF-GetThumb.

  1. This can appoint favorite thumbnail size with an argument every output theme or a page.
  2. As well as a thumbnail, the trimming is possible, too.
  3. The image which became a thumbnail accumulates for cache once.
  4. If a former image is updated, the cache is updated automatically.
  5. In the reference of the image, not only the local server but also the remote server is possible.
  6. Condition appointment is possible which image in the content you take out.
  7. The image to be able to treat is JPEG, GIF, and PNG format.
  8. New!! Not only the content but also an additionally ..the_excerpt and custom_field.. arbitrary argument can be used.

Download:

Archive:QF-GetThumb 1.1
Version 1.0 is here!!

Install & Usage:

Installation is the following procedures.

  1. Defrost the archive which you downloaded and throw every folder into the plug-in directory of Wordpress.
  2. Activate the plugin through the “Plugins” menu in Wordpress.
  3. With a Settings, perform necessary setting.* Automatic setting is performed at the time of installation.You should be able to almost work by default setting.
  4. In the loop of the theme file “while (have_posts()){”, You insert the following cords.

    Need accepts it and sets an option.
    * I explain the option by later description.

PAINTER WORKS
The demonstration site of QF-GetThumb.

Settings:

Parameter setting example:

At first You recommend what insert a value of the setting example in for trial, Because parameter setting is slightly incomprehensible. If the description of the parameter is considered to be it precisely, the order of descriptions does not have any problem. When it is the example mentioned above, even “num=0&width=160″ is “width=160&num=0″, but the indication result does not turn.

The explanation of each parameter is as follows.

  • num : (default = 0)

    Among images in the content, it is setting displaying the image. The HTML code description order of the content determines the image order. Because options begin with 0, as well as an arrangement, please warn the number. In addition, an image of the end is displayed most when a designated number exceeds the number of the images in the content.

    num option

  • width : (default = 0)

    It is the width of the thumbnail image.The unit becomes the pixel. When there was width appointment, the width of the image is resized by aspect ratio maintenance to designated size. For example, appointment reduces the image of width 150px in width 100px in the case of width 100px, and the image of width 80px is enlarged in width 100px.

    width option

  • height : (default = 0)

    It is the height appointment of the thumbnail image.The basic setting is the same as width.

  • tag : (default = 1)

    That return an image tag is the setting that you do not return. This return only the uniform resource locator of the image in the case of value is 0 and return a source on an image tag in the case of value is 0.

    tag option

  • global : (default = 0)

    That you make the image of the remote server cache is the setting that you do not do. It is assumed that the image of the remote server is inapplicable in the case of 0, and the image of the remote server becomes a thumbnail in the case of 1. A copyright-involved problem may produce it to copy an image to a local server unlike a link when the image of the remote server performs cache. Please be careful. Therefore default 0 is appointed. The remote server of this description is a settings of QF-GetThumb and is all besides an appointed domain.

    global option

  • crop_w : (default = 0)

    It is width appointment in the image trimming. As for the unit, trimming is performed in width appointed in a pixel here. A value is not trimmed in the case of default value and Null. The trimming is performed after resize by all means. For example, when You trimmed it in 80px after former size made an image of width 150px width appointment 100px, At first after the resize (reduction) of the image was performed from 150px to 100px; 100px - 20px which is for difference of 80px is cut out of both sides of the image by each 10px. The standard coordinate of the trimming by all means of the image become central, and trimming becomes the taken way from the outside.

    crop_w option

  • crop_h : (default = 0)

    It is height appointment in the image trimming.The basic setting is the same as crop_w.

  • find : (default = ”)

    It is the character string search appointment of the image tag.Only as for the image tag including the specific character string in the content of the thumbnail can intend for it. For example, a thumbnail can intend for only an image having specific id-code and class-code, alt-code by an image and CSS having a specific directory path. Processing to decide an image position to take out in settings of “num” is possible after having squeezed an object in settings of “find” to some extent because You can use it together with settings of “num”.

    find option

Besides a parameter, the appointment of the default image is possible, too.

A default image is an image to display when there was not an image to become the object in the content at all. For example, You use it when You want to let display an image such as “NowPrinting” in the content when there is not an image. When there is not appointment, a default image attached in a plug-in folder of “QF-GetThumb” is inserted automatically. Please do the setting as follows.

A path of the default image is an absolute path, but even relative path does not have any problem.

New!!

A new option joined. The source specification to be extracted is optional. Extracting, making to the thumbnail, and the cache of the image can be done for the argument specified with not only the content but also the extraction object. the_excerpt, custom_field, and even additionally, any specified content can be specified.

Please do as follows to the setting.

Any specification of the source is not cared about in case of the content of strings.

When the argument is not specified, the content is automatically read.

There is complexed setting whether you say it and a piece of instructions.When You appointed both settings of width and settings of height of the image, resize is performed at size to be delivered to the both. For example, width 150px, the image of height 200px are resized in width 75px, height 100px when You set “width=100″, “height=100″. It is specifications same as Wordpress. You had better appoint only one without appointing both values when only width or height either should be able to take the adjustment. In addition, You make the aspect ratio appointment to maintain it by all means, but You output only image URL in “tag=0″ when You do not want to maintain the aspect ratio and am possible if You appoint the value of the tag in a theme forcibly and do it.

Comments:4

Li-An 09-03-23 [ 23:07 ]

The translation program does not work. Can you fix this so I can read what’s new in your plugin ? Thank you :-)

Li-An 09-03-24 [ 01:14 ]

Hello,
I tried the plugin on a test blog but it does not seem to work for the moment. There is something I did not understand: where should the default directory for the thumbnails be ?
Thank you for an eventual answer.

admin 09-03-24 [ 08:52 ]

> Li-An

the default directory for the thumbnails are uploads folder.

wp-content > uploads

When I confirmed it, it seems not to operate normally when setting of path of the uploads folder has been changed.
I want to improve it immediately so that the plug-in may detect the setting of the uploads folder automatically.

thank you!

admin 09-03-24 [ 10:08 ]

> Li-An

A plug-in correction was completed.
The path of uploads folder by the setting was automatically corrected to recognize it.
However, the test has not ended yet.
It uploads it as soon as the test ends.

Comment Form
Remember personal info

Trackbacks:1

Trackback URL for this entry
http://la-passeggiata.com/admin/wp-trackback.php?p=290
Listed below are links to weblogs that reference
QF-GetThumb 1.1.2 Release from la passeggiata
pingback from orioa » links for 2009-03-23 09-03-24 [ 12:01 ]

[...] QF-GetThumb 1.1.2 リリース - la passeggiata 投稿記事内の画像をサムネイルにしてインデックス化することができる。 /* [...]

Home > plugin > QF-GetThumb 1.1.2 Release

Sponsored link
Recent Posts
Tag Cloud
Pages

Return to page top