WordPress plugin intelligence profile

GS Alternate Images

A plugin to add alternate images ability to the page/post editor

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 3.0
Current version1.0
WordPress coverageTested up to WordPress 3.0
Minimum stackWP 2.9 · PHP —
Directory statusactive
Last directory update13 Aug 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 GS Alternate Images version 1.0 as active, updated 16y ago and tested up to WordPress 3.0.

Overview

About this plugin

GS Alternate Images is a plugin that adds a meta box to the page and post edit pages.

Users can add images to this area by clicking on the “Add Alterante Images” button and browsing the gallery or media library.

Once images are added to the Alternate Images area, they can be extracted in a number of ways.

In it’s most basic form, the attachment ID’s are added to a postmeta as an array. A programmer could use existing wp functions

to extract the array from the postmeta and manipulate the images as they see fit, also using existing wp functionality.

In addition this plugin add shortcode support allowing non programmers to produce a gallery of images, or ustilize the images in

some other fashion.

For example.

To get an array of alternate images attachment IDs

$array_of_IDs = gs_get_alt_image_ids($post_ID); // post_ID = the page/post ID that you want to retreive the images for.

use this method to get an array of objects of images. $args = array ( 'post_id' => int // the numeric ID of page/post, if left black the current post is assumed. 'class' => string // a class name that will be appended to the image html that is generated 'size' => string/array // if it's a string us standard WP imagse sizes ex: 'thumbnail' if it's an array define with and height array(50,50) if left blank it defaults to thumbnail ); $array_of_objects = gs_get_alt_images( $args )

Or use a short code

accepts args of order = the image in the order as it's displayed in the panel size = the displayed iamge size thumbnail, small, array 100,100 width,height example size=100,100 class = the class that will be inserted into the img tag

You can also use included content as a template for the image like this. -- this will create an image with a hyper link to the full size image -->

" /> {img_url} = the urls to the sized image {img_att_url} = the url to the full sized attachment

Here is one way to use a short code and build a small gallery that alerts the actual image url. [gsaltimg size=80,80] <div style = "text-align: center; float: left; clear: none; margin-left: 10px; cursor: pointer; background-color: #0000FF; padding: 3px;" onclick = "alert('hello I am {img_att_url}');"{img_html} <p style = "color: #FFF; text-align: center;clear: both;">Click me</p></div> [/gsaltimg]

Arbitrary section

com/capabilities/wordpress-plugin/gs-alternate-images/

WordPress.org metadata

Plugin tags

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

  • alternate images
  • gallery
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.9 · PHP not listed
Update activity13 Aug 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.