[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f03qJCMXeBiyLTtJwEbacwu_3v4fPbkmmwqnhCYvUHjI":3},{"slug":4,"display_name":4,"profile_url":5,"plugin_count":6,"total_installs":7,"avg_security_score":8,"avg_patch_time_days":9,"trust_score":10,"computed_at":11,"plugins":12},"kestrel_id","https:\u002F\u002Fprofiles.wordpress.org\u002Fkestrel_id\u002F",1,10,100,30,94,"2026-04-04T18:29:21.832Z",[13],{"slug":14,"name":15,"version":16,"author":4,"author_profile":5,"description":17,"short_description":18,"active_installs":7,"downloaded":19,"rating":20,"num_ratings":20,"last_updated":21,"tested_up_to":22,"requires_at_least":23,"requires_php":21,"tags":24,"homepage":30,"download_link":31,"security_score":8,"vuln_count":20,"unpatched_count":20,"last_vuln_date":32,"fetched_at":33},"choicecuts-image-juggler","ChoiceCuts Image Juggler","0.8.3.2, 12\u002F10\u002F2010","\u003Cp>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.\u003C\u002Fp>\n\u003Cp>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.\u003C\u002Fp>\n\u003Cp>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!\u003C\u002Fp>\n\u003Cp>The plugin uses the fantastic PHP Thumbnail library by http:\u002F\u002Fphpthumb.gxdlabs.com.\u003C\u002Fp>\n\u003Cp>Plug-in Homepage: www.workwithchoicecuts.com\u003C\u002Fp>\n\u003Ch3>Usage Exmaples\u003C\u002Fh3>\n\u003Cp>SHOW JUST THE FIRST IMAGE AS A LANDSCAPE BANNER\u003Cbr \u002F>\n– 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.\u003C\u002Fp>\n\u003Cp>\u003C\u003C php code start >>\u003Cbr \u002F>\n    the_post();\u003Cbr \u002F>\n    $postContent = get_the_content();\u003Cbr \u002F>\n    ccImj_firstLandscape( $postContent, 480, 100 );\u003Cbr \u002F>\n    echo ccImj_noImg( $postContent );\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Cp>CREATE A THUMBNAIL FOR EACH OF 10 MOST RECENT POSTS IN THE BLOG CATEGORY\u003Cbr \u002F>\n– Get all posts from the ‘Blog’ category and output them as 60px square thumbnails, as well as the post title and post excerpt.\u003C\u002Fp>\n\u003Cp>\u003C\u003C php code start >>\u003Cbr \u002F>\n    query_posts( “category_name=Blog&showposts=10&orderby=date&order=DESC” );\u003Cbr \u002F>\n    while(have_posts()) {\u003Cbr \u002F>\n        the_post();\u003Cbr \u002F>\n        $postContent = get_the_content();\u003Cbr \u002F>\n        ccImj_firstThumb( $postContent, 60, get_permalink() );\u003Cbr \u002F>\n        the_title();\u003Cbr \u002F>\n        the_excerpt();\u003Cbr \u002F>\n    }\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Ch3>Full Plugin API\u003C\u002Fh3>\n\u003Cp>N.B. All functions are technical documented within the plugin code. Read through file cc_image_juggler.php within the plugin install folder for more information.\u003C\u002Fp>\n\u003Cp>\u002F\u002F ————————————————————————– IMAGE EXRACTION UTILITIES\u003C\u002Fp>\n\u003Cp>ccImj_getFirstImg\u003Cbr \u002F>\n– extract the first image from passed $content, return image file path only\u003Cbr \u002F>\n\u003C\u003C php code start >>\u003Cbr \u002F>\n    $image = ccImj_getFirstImg( $postContent ); ?>\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Cp>ccImj_getAllImg\u003Cbr \u002F>\n– 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.\u003Cbr \u002F>\n\u003C\u003C php code start >>\u003Cbr \u002F>\n    $images = ccImj_getAllImg( $postContent ); ?>\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Cp>ccImj_noImg\u003Cbr \u002F>\n– remove all images from the passed parameter, typically post content\u003Cbr \u002F>\n\u003C\u003C php code start >>\u003Cbr \u002F>\n    $contentWithoutImages = ccImj_noImg( $postContent ); ?>\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Cp>\u002F\u002F ————————————————————————– IMAGE MANIPULATION PREPARATION\u003C\u002Fp>\n\u003Cp>ccImj_resizeWidthURL\u003Cbr \u002F>\n– resize image to specified width, pass min_height to ensure consistent image dimensions. Return only the image resize URL, without embedding any HTML tags\u003Cbr \u002F>\n\u003C\u003C php code start >>\u003Cbr \u002F>\n    $resizeUrl = ccImj_resizeWidthURL( $img_path, 480, 120 ); ?>\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Cp>ccImj_resizeHeightURL\u003Cbr \u002F>\n– resize image to specified height. Return only the image resize URL, without embedding any HTML tags\u003Cbr \u002F>\n\u003C\u003C php code start >>\u003Cbr \u002F>\n    $resizeUrl = ccImj_resizeHeightURL( $img_path, 300 ); ?>\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Cp>ccImj_resizeWidth\u003Cbr \u002F>\n– resize image to specified width. Return full HTML IMG tag for resized image\u003Cbr \u002F>\n\u003C\u003C php code start >>\u003Cbr \u002F>\n    $image_html = ccImj_resizeWidth( $img_path, 480, ‘class=”special-image-style” rel=”ajax-link-code-13″‘ ); ?>\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Cp>ccImj_resizeHeight\u003Cbr \u002F>\n– resize image to specified height. Return full HTML IMG tag for resized image\u003Cbr \u002F>\n\u003C\u003C php code start >>\u003Cbr \u002F>\n    $image_html = ccImj_resizeHeight( $img_path, 300, ‘class=”special-image-style”‘ ); ?>\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Cp>ccImj_cropLandscape\u003Cbr \u002F>\n– proportionally resize image to specified width, then crop excess height as required\u003Cbr \u002F>\n\u003C\u003C php code start >>\u003Cbr \u002F>\n    $image_html = ccImj_cropLandscape( $img_path, 300, 240 ); ?>\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Cp>ccImj_cropPortrait\u003Cbr \u002F>\n– proportionally resize image to specified height, then crop excess width as required\u003Cbr \u002F>\n\u003C\u003C php code start >>\u003Cbr \u002F>\n    $image_html = ccImj_cropPortrait( $img_path, 300, 240, ‘class=”special-image-style” alt=”Your Blog”‘ ); ?>\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Cp>ccImj_cropSquareCtr\u003Cbr \u002F>\n– resize image to specified size, then crop a square from the centre\u003Cbr \u002F>\n\u003C\u003C php code start >>\u003Cbr \u002F>\n    $image_html = ccImj_cropSquareCtr( $img_path, 60, ‘class=”special-image-style”‘ )\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Cp>\u002F\u002F ————————————————————————– ‘GET FIRST’ FUNCTIONS\u003C\u002Fp>\n\u003Cp>ccImj_firstLandscape\u003Cbr \u002F>\n– 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\u003Cbr \u002F>\n\u003C\u003C php code start >>\u003Cbr \u002F>\n    ccImj_firstLandscape( $postContent, 480, TRUE, FALSE, ‘class=”special-image-style”‘ ); ?>\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Cp>ccImj_firstPortrait\u003Cbr \u002F>\n– 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\u003Cbr \u002F>\n\u003C\u003C php code start >>\u003Cbr \u002F>\n    ccImj_firstPortrait( $postContent, 600, TRUE, FALSE, ‘class=”special-image-style”‘ ); ?>\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Cp>ccImj_firstThumb\u003Cbr \u002F>\n– extract the first image from the passed content, then crop a square from the centre and wrap it in a hyperlink if desired\u003Cbr \u002F>\n\u003C\u003C php code start >>\u003Cbr \u002F>\n    $image_html = ccImj_firstThumb( $content, 130, FALSE, TRUE, ‘class=”thumbnail-image-style”‘ ); ?>\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Cp>\u002F\u002F ————————————————————————– RESIZE & CROP PASSED IMAGE FUNCTIONS\u003C\u002Fp>\n\u003Cp>ccImj_linkedLandscape\u003Cbr \u002F>\n– resize image to specified width and height, then wrap it in a hyperlink if desired\u003Cbr \u002F>\n\u003C\u003C php code start >>\u003Cbr \u002F>\n    ccImj_linkedLandscape( $img_path, 600, 200, FALSE, FALSE, ‘class=”mega-banner”‘ ); ?>\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Cp>ccImj_linkedPortrait\u003Cbr \u002F>\n– resize image to specified height and width, then wrap it in a hyperlink if desired\u003Cbr \u002F>\n\u003C\u003C php code start >>\u003Cbr \u002F>\n    $your_variable = ccImj_linkedPortrait( $img_path, 400, 180, TRUE, TRUE, ‘class=”thumbnail-image-style”‘ ); ?>\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Cp>ccImj_linkedThumb\u003Cbr \u002F>\n– resize image to specified size, then crop a square from the centre and wrap it in a hyperlink if desired\u003Cbr \u002F>\n\u003C\u003C php code start >>\u003Cbr \u002F>\n    ccImj_linkedThumb( $img_path, 200, ‘http:\u002F\u002Fwww.workwithchoicecuts.com’, FALSE, ‘class=”thumbnail-image-style”‘ )\u003Cbr \u002F>\n\u003C\u003C php code end >>\u003C\u002Fp>\n\u003Cp>\u002F\u002F ————————————————————————– FILTER ALL FUNCTIONS\u003C\u002Fp>\n\u003Cp>ccImj_flexiWidth\u003Cbr \u002F>\n– 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.\u003Cbr \u002F>\n** To use this function edit the constant ‘FILTER_FLEXI_WIDTH’ value to be TRUE. Find this at the top of the plugin code.\u003C\u002Fp>\n\u003Cp>ccImj_allWidth\u003Cbr \u002F>\n– resize all images, to specified width, and wrap it in a hyperlink if desired\u003Cbr \u002F>\n** To use this function edit the constant ‘FILTER_ALL_WIDTH’ value to be TRUE. Find this at the top of the plugin code.\u003C\u002Fp>\n\u003Cp>ccImj_allCrop\u003Cbr \u002F>\n– resize all images, to specified square thumbnail size,  in every post to specified height and wrap it in a hyperlink if desired\u003Cbr \u002F>\n** To use this function edit the constant ‘FILTER_ALL_CROP’ value to be TRUE. Find this at the top of the plugin code.\u003C\u002Fp>\n","ChoiceCuts Image Juggler resizes images, generates thumbnails, adds lightboxes and enhances image presentation in WordPress.",6289,0,"","3.0.5","2.5",[25,26,27,28,29],"content","extraction","images","posts","resize","http:\u002F\u002Fwww.workwithchoicecuts.com","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fchoicecuts-image-juggler.zip",null,"2026-03-15T10:48:56.248Z"]