Title: WP-LatestPhotos
Author: Big Boss
Published: <strong>January 25, 2010</strong>
Last modified: June 1, 2012

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-latestphotos.svg)

# WP-LatestPhotos

 By [Big Boss](https://profiles.wordpress.org/andddd/)

[Download](https://downloads.wordpress.org/plugin/wp-latestphotos.1.0.4.zip)

 * [Details](https://test.wordpress.org/plugins/wp-latestphotos/#description)
 * [Reviews](https://test.wordpress.org/plugins/wp-latestphotos/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/wp-latestphotos/#installation)
 * [Development](https://test.wordpress.org/plugins/wp-latestphotos/#developers)

 [Support](https://wordpress.org/support/plugin/wp-latestphotos/)

## Description

WP-LatestPhotos is a WordPress plugin which extends your media library and gives
the ability to highlight some of your latest photos. Selected images can be shown
in your sidebar—or wherever you need them to be—through the shortcode or inline 
PHP code.

#### Features

 * Sidebar widget and shortcode support
 * Photo randomizer
 * Highly customizable through CSS. Plugin provides example CSS which can be used
   for demo purposes and can be switched off in the plugin settings. This way you
   can define your own CSS for your thumbnail galleries without being stuck with
   the excessive styles which most plugins come with, slowing down your website.
 * Plugin provides the ability to include Thickbox bundled with your WordPress installation
   but you also can switch it off and use any other external library. It supports:
   Thickbox, Fancybox, Lightbox, Shadowbox. If you would like to use any other media
   viewer you’re should install an appropriate plugin.
 * Thumbnails are located in the default image folder and named according to the
   WordPress convention.
 * No performance bottlenecks. Thumbnails are generated only once—when marked.
 * AJAXified thumbnail image cache gets rebuilt in case you change thumbnail size
   in the settings. Re-generating 10 images per request occurs with a little delay,
   so your server won’t be overloaded and scripts won’t stop working with a timeout
   error.

#### Usage

Use WP-LatestPhotos shortcode to add your photos to your post.

    ```
    [WP-LatestPhotos limit="6"]
    ```

Also you can do it using these lines of PHP:

    ```
    $options = array('limit' => 6, 'echo' => 1, 'link' => 'thickbox');
    wp_latestphotos($options);
    ```

#### Options

 * `limit` – number of images to display (6 by default)
 * `id` – you can specify an ID for the unordered list of images
 * `link` – one or more values that determine the URL of where a clicked image takes
   the user to

Possible values for **link option** are:

 * `post_parent` – URL of the post to which the image is attached (it works only
   if image is actually attached, doh)
 * `attachment` – attachment page URL (works only if page is attached to a post)
 * `full` – full-size image URL
 * `thickbox, fancybox, lightbox or shadowbox` – media viewer dependent link
 * empty value means no link

You can mix these values up too. For example, you can use a sequence like this: 
post_parent, thickbox. If an image is attached to some post it uses a link to this
post, otherwise it uses a Thickbox-dependent link.

 * `before, after` – additional HTML before and after an IMG tag of each photo
 * `echo` – 0 or 1, automatically outputs generated HTML; useful when applying a
   function inside PHP templates

## Screenshots

 * [[
 * In action (custom CSS)
 * [[
 * Settings page
 * [[
 * Manage directly from media library

## Installation

WP-LatestPhotos requires WordPress 2.8 or higher.

 * Download and extract the plugin files onto your hard drive
 * Copy the extracted folder into your WP plugin directory (usually `wp-content/
   plugins`)
 * Activate the plugin

## FAQ

n/a

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WP-LatestPhotos” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Big Boss ](https://profiles.wordpress.org/andddd/)

[Translate “WP-LatestPhotos” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-latestphotos)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-latestphotos/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-latestphotos/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-latestphotos/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-latestphotos/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.4

 * Fixed thickbox bug

#### 1.0.3

 * Fixed image cache bugs

#### 1.0.2

 * Image randomizer bug fix

#### 1.0.1

 * Image generation major bug fix

#### 1.0

 * Initial release

## Meta

 *  Version **1.0.4**
 *  Last updated **14 years ago**
 *  Active installations **10+**
 *  WordPress version ** 2.8 or higher **
 *  Tested up to **3.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-latestphotos/)
 * Tags
 * [attachment](https://test.wordpress.org/plugins/tags/attachment/)[images](https://test.wordpress.org/plugins/tags/images/)
   [photos](https://test.wordpress.org/plugins/tags/photos/)
 *  [Advanced View](https://test.wordpress.org/plugins/wp-latestphotos/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/wp-latestphotos/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-latestphotos/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-latestphotos/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-latestphotos/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-latestphotos/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-latestphotos/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-latestphotos/reviews/)

## Contributors

 *   [ Big Boss ](https://profiles.wordpress.org/andddd/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-latestphotos/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://codeispoetry.ru/)