WordPress plugin intelligence profile

ChoiceCuts Image Juggler

ChoiceCuts Image Juggler resizes images, generates thumbnails, adds lightboxes and enhances image presentation in WordPress.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 3.0
Current version0.8.3.2, 12/10/2010
WordPress coverageTested up to WordPress 3.0
Minimum stackWP 2.5 · PHP —
Directory statusactive
Last directory update12 Oct 201016y ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records ChoiceCuts Image Juggler version 0.8.3.2, 12/10/2010 as active, updated 16y ago and tested up to WordPress 3.0.

Overview

About this plugin

ChoiceCuts Image Juggler makes all image handling a piece of cake. Stripping images, resizing to Landscape, resizing to Portrait and creating Thumbnails are all handled. A couple of lightboxes can easily be slipped into the process so as present your images in their original glory.

Using the new admin screen it is now very easy to activate site wide image juggling. There are several options to choose from.

For WordPress users who are not afraid to do some template customisation, the library of functions is still available to do some great things with images, very simply.

The core aim of this plugin is to make the life of someone who regularly uses WordPress a lot easier, in so far as to remove the need to do any image resizing while at the same time giving theme and template developers a tool to go way beyond the restricted, native image resize options of WordPress. Just upload post images at full size, anywhere within the content of your post, then the plugin will take care of everything else!

com.

com

Usage Exmaples

SHOW JUST THE FIRST IMAGE AS A LANDSCAPE BANNER

– Get the first image from the current Post and output it as a 480px x 100 px and remove all other images from Post Content.

<< php code start >>

the_post();

$postContent = get_the_content();

ccImj_firstLandscape( $postContent, 480, 100 );

echo ccImj_noImg( $postContent );

<< php code end >>

CREATE A THUMBNAIL FOR EACH OF 10 MOST RECENT POSTS IN THE BLOG CATEGORY

– Get all posts from the ‘Blog’ category and output them as 60px square thumbnails, as well as the post title and post excerpt.

<< php code start >>

query_posts( “category_name=Blog&showposts=10&orderby=date&order=DESC” );

while(have_posts()) {

the_post();

$postContent = get_the_content();

ccImj_firstThumb( $postContent, 60, get_permalink() );

the_title();

the_excerpt();

}

<< php code end >>

Full Plugin API

B. All functions are technical documented within the plugin code. php within the plugin install folder for more information.

// ————————————————————————– IMAGE EXRACTION UTILITIES

ccImj_getFirstImg

– extract the first image from passed $content, return image file path only

<< php code start >>

>

<< php code end >>

ccImj_getAllImg

– extract all images from passed $content, returns a multi-dimensional array. The returned array contains an element for each image found. Within each element is an associative array as follows: [‘tag’] – full html img tag.

[‘url’] – image file path only.

<< php code start >>

>

<< php code end >>

ccImj_noImg

– remove all images from the passed parameter, typically post content

<< php code start >>

>

<< php code end >>

// ————————————————————————– IMAGE MANIPULATION PREPARATION

ccImj_resizeWidthURL

– resize image to specified width, pass min_height to ensure consistent image dimensions. Return only the image resize URL, without embedding any HTML tags

<< php code start >>

>

<< php code end >>

ccImj_resizeHeightURL

– resize image to specified height. Return only the image resize URL, without embedding any HTML tags

<< php code start >>

>

<< php code end >>

ccImj_resizeWidth

– resize image to specified width. Return full HTML IMG tag for resized image

<< php code start >>

>

<< php code end >>

ccImj_resizeHeight

– resize image to specified height. Return full HTML IMG tag for resized image

<< php code start >>

>

<< php code end >>

ccImj_cropLandscape

– proportionally resize image to specified width, then crop excess height as required

<< php code start >>

>

<< php code end >>

ccImj_cropPortrait

– proportionally resize image to specified height, then crop excess width as required

<< php code start >>

>

<< php code end >>

ccImj_cropSquareCtr

– resize image to specified size, then crop a square from the centre

<< php code start >>

$image_html = ccImj_cropSquareCtr( $img_path, 60, ‘class=”special-image-style”‘ )

<< php code end >>

// ————————————————————————– ‘GET FIRST’ FUNCTIONS

ccImj_firstLandscape

– extract the first image from the passed content, resize image to specified width, crop the excess if required and wrap it in a hyperlink if desired

<< php code start >>

>

<< php code end >>

ccImj_firstPortrait

– extract the first image from the passed content, resize image to specified height, crop the excess if required and wrap it in a hyperlink if desired

<< php code start >>

>

<< php code end >>

ccImj_firstThumb

– extract the first image from the passed content, then crop a square from the centre and wrap it in a hyperlink if desired

<< php code start >>

>

<< php code end >>

// ————————————————————————– RESIZE & CROP PASSED IMAGE FUNCTIONS

ccImj_linkedLandscape

– resize image to specified width and height, then wrap it in a hyperlink if desired

<< php code start >>

>

<< php code end >>

ccImj_linkedPortrait

– resize image to specified height and width, then wrap it in a hyperlink if desired

<< php code start >>

>

<< php code end >>

ccImj_linkedThumb

– resize image to specified size, then crop a square from the centre and wrap it in a hyperlink if desired

<< php code start >>

com’, FALSE, ‘class=”thumbnail-image-style”‘ )

<< php code end >>

// ————————————————————————– FILTER ALL FUNCTIONS

ccImj_flexiWidth

– resize all images, to be within specified width sizes, in every post. if image is larger than max_width resize and present original via lightbox, or if smaller than min_width resize up to min_width.

** To use this function edit the constant ‘FILTER_FLEXI_WIDTH’ value to be TRUE. Find this at the top of the plugin code.

ccImj_allWidth

– resize all images, to specified width, and wrap it in a hyperlink if desired

** To use this function edit the constant ‘FILTER_ALL_WIDTH’ value to be TRUE. Find this at the top of the plugin code.

ccImj_allCrop

– resize all images, to specified square thumbnail size, in every post to specified height and wrap it in a hyperlink if desired

** To use this function edit the constant ‘FILTER_ALL_CROP’ value to be TRUE. Find this at the top of the plugin code.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • content
  • extraction
  • images
  • posts
  • resize
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 3.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.0
Minimum requirementsWordPress 2.5 · PHP not listed
Update activity12 Oct 201016y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.