This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Recent Photos


Recent Photos Plugin provides with a widget to display n numbers of recent photos from the media library in the sidebar.
The display can be customized through custom css or integrated in main style sheet file.
Also provides an option to use Thickbox (along with the patch code necessary for running thickbox)


Operation with default theme

Customized Version

Author info:

Follow me on Twitter or become my Friend on facebook

Configuration Options

  • Title: Title for the widget will be displayed as per your theme
  • Number of the photos: Number of photos that will be displayed in the sidebar
  • Randomize: Check to display photos in random order
  • Browse Photo Link: Full link to your photos/gallery page
    Leave blank if you don’t want to show the link.
  • Use Thickbox: Enables/Disables the use of thickbox for this widget
  • WordPress Path: Applicable only if Thickbox is enabled
    This option is necessary to provide the patch for thickbox to correctly display thickbox related images
    (loadinganimation and close). If your wordpress installation is in a subdirectory provide the path for the same
    followed by a forward slash
    Eg. wordpress/
    When the WP installation is in ‘wordpress’ subdirectory
  • Use Custom CSS: Enable/Disables the use of Custom CSS
  • Custom CSS: For styling this plugin requires following CSS ids and classes to be defined
    #recent_photos_envelope{margin:0 0 30px 0;}
    .recent_photo_image a {float:left;display:inline;margin:0 16px 15px 0;border:1px dashed #888;padding:5px}
    .recent_photo_image a:hover {border:1px dashed #000}
    The above css code is default css provided with the plugin


How to integrate css code in your default style sheet?

Copy the default css code into your style sheet

recent_photos_envelope{margin:0 0 20px 0;}

.recent_photo_image a {float:left;display:inline;margin:0 16px 15px 0;border:1px dashed #888;padding:5px}
.recent_photo_image a:hover {border:1px dashed #000}

browsephotos{margin: 0 25px 10px 12px; float:right;}

Enable Use Custom CSS option in the widget admin

Make sure Custom CSS code textarea is blank (Should contain no spaces also)



  • Added option to randomize photos


  • Initial Release

Contributors & Developers

This is open source software. The following people have contributed to this plugin.


Browse the code