Plugin Directory

WPVN - Thumbnailer

Author: Minh-Quan Tran (aka link2caro - a member of WordPressVN)

This plugin is destined to intermediate users.

It helps you find image that is attached to a post in this priority: - Custom field (name can be one of these: img, image, thumbnail) - Uploaded/Attached image

NOTE If you have allowurlfopen you can get image from an URL Path for Custom Field to your uploaded files is: /year/month/image or /image (depends on your settings for upload directory)

Custom fields use these sets * (img, imgtitle, imgalt, imgclass) -> CSS: img-[imgclass] * (image, imagetitle, imagealt, imageclass) -> CSS: image-[imageclass] * (thumbnail, thumbnailtitle, thumbnailalt, thumbnailclass) -> CSS: thumbnail-[imageclass] * The value of imgclass or imageclass or thumbnail_class is case non-sensitve (Ex: CSSClass will be cssclass) * case sensitive and non-permutable

Example

To be used best in the Loop carotheimage($post->ID); shows the custom-size image. carogettheimage($post->ID); returns the custom-size image HTML code. carotheimageurl($post->ID); shows the URL of the custom-size image. carogettheimageurl($post->ID); returns the URL of the custom-size image.

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(1 ratings)