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.

WP Image Borders


WP Image Borders makes it easy to:

  • automatically add borders around images in posts
  • selectively add borders around images in any part of your site
  • change image border styles
  • change image border colors
  • change image border width
  • add shadows to images in your posts

To add borders around images in your posts, simply check the checkbox in the settings titled “Add borders to all images in blog posts.” This will automatically add the borders you’ve created to all images in your blog posts.

To add borders around images in specific parts of your site, you can add a comma-delimited list of CSS classes of the image containers. You can use this to add borders to images in a certain part of your site, or in addition to adding borders to all images in your blog posts.

WP Image Borders comes with the following options for you to style your image borders with:

  • 8 Border styles (solid, dotted, dashed, double, groove, ridge, inset, outset)
  • Border width (in px)
  • Border radius (in px)
  • Border color (color picker)
  • Drop shadows (distance, blur, spread, and color options)

Additionally, you can use this plugin to remove unwanted borders on images by leaving all border style options at their default values.


  • This is the WP Image Borders options page
  • This is an example of an image modified with WP Image Borders. It's been given a white border and box shadow.


  1. Download the plugin
  2. Go to your Plugins page, then click on Add new and select the plugin’s .zip file
  3. Alternatively, you can extract the contents of the zip file directly to your wp-content/plugins/ folder
  4. Finally, go to your Plugins page and activate WP Image Borders


How do I change the direction of the drop shadows?

A positive Horizontal Distance value will put the shadow on the right side of the image, but if you make this value negative, it will move the shadow the same distance to the left instead. If you create a negative value for the Vertical Distance, it will move the shadow above the image rather than below.

What is Border Radius?

Border radius is the level of curvature of the image’s border. A higher border radius will result in rounder corners, while a border radius of zero will result in crisp right angled corners.



First of all, “Add borders to all images in blog posts” do not work so I am forced to use CSS classes manually for each image.

Secondly, the CSS class syntax is also inconsistent with the Image CSS class in Image Details (Advanced Options). While the plugin setting takes classes with a “.” in front, the image settings take classes without “.”.

These two issues forced me to spend a good amount of time debugging.

Lastly, the borders do not fit correctly in neither tablet and mobile modes. The right sides are cut off screen, including parts of the image. Other plugins such as the Slider WD has the borders and images fitting correctly.

Fine but not instructions

This plugin works fine but of course the problem is that you have no instruction AT ALL.

This is very worying.

I spent quite some time to understand the way it works.

Well finally I found this page, just it and you will make it work properly :

Read all 40 reviews

Contributors & Developers

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


Translate “WP Image Borders” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • updated incorrect namespace for color picker function


  • fixed 404 to stylesheet


  • improved image targeting
  • simplified how custom css classes are handled
  • internationalized
  • minor style & copy updates to settings page
  • codebase refactored and reorganized
  • added additional sanitization and now preventing direct access to php files


  • Fixed CSS 404 error


  • Fixed bug with styles not enqueueing


  • removed Support Dash
  • added a default ‘add’ instead of default ‘remove’ checkbox
  • added option to add image borders based on specific CSS classes
  • now correctly enqueueing and adding inline styles
  • updated plugin banner


  • fixed mistake in uploading 1.4.4


  • Updated Support Dash script


  • Fixed error in previous update


  • Now works on all pages too


  • Updated to override other css generated


  • Fixed potential error with multisite installs


  • Fixed bug where gray line would appear – certain unset fields now default to zero


  • Fixed link error


  • Fixed bug with drop shadows still appearing
  • added link to review below options form
  • added settings link on plugin page
  • added screenshots
  • add plugin banner to public plugin page
  • changed tags
  • added video tutorial


  • Initial release