Title: Stock Images
Author: Bimal Poudel
Published: <strong>June 18, 2016</strong>
Last modified: June 19, 2016

---

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/stock-images.svg)

# Stock Images

 By [Bimal Poudel](https://profiles.wordpress.org/pbimal/)

[Download](https://downloads.wordpress.org/plugin/stock-images.zip)

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

 [Support](https://wordpress.org/support/plugin/stock-images/)

## Description

Import photos and images from your personally hosted stock images.

Adds a shortcode to access your images. [stockimage width=”450″ height=”300″ name
=”my-photo.jpg”]

After installation, edit the URL of your stock image repository at: Settings > General
> Stock Image URL.

All your photos can be pointed from your configured url.

For example, if you pointed to http://www.example.com/stock-images/%s as your URL,
your photos will be accessed as http://www.example.com/stock-images/my-photo.jpg
in the above example. You can drop photos inside stock-images/ path via FTP or similar.

It can be a very creative replacement of your media library, and works better if
you are describing a product or something else. You will have a total control of
images to be served.

#### Setting up a basic stock image hosting

Create a folder named stock-images inside your FTP account which is accessible from
your website. Drop in all your optimized images there. Stop directory listing with
an empty index.php file. Optionally configure .htaccess for direct/hot-linking into
your images from unauthorised websites or direct image downloaders.

Configure your URL to point into this folder.

Then the pattern `[stockimage width="450" height="300" name="my-photo.jpg"]` will
point to your specific image as `<img src='http://www.example.com/stock-images/my-
photo.jpg' width='450' height='300'>`.

## Installation

#### Method #1

 * Go to your WP Admin > Plugins > Add New page.
 * Search for “Stock Images”.
 * Click install. Click activate.

#### Method #2

 * Download this plugin as a .zip file.
 * Go to WP Admin > Plugins > Add new > Upload Plugin.
 * Upload the .zip file and activate the plugin.

#### Method #3

 * Download the file stock-images.zip.
 * Unzip the file on your computer.
 * Upload folder stock-images (you just unziped) to /wp-content/plugins/ directory.
 * Activate the plugin through the WP Admin > Plugins menu.

Click on [how to install a WordPress Plugin](http://goo.gl/Ims8pt) for more details.

## FAQ

#### I have images of multiple dimensions. How can I classify them?

You can put them in multiple sub-directories. Yes. Just update your file name after
your base url. eg. `[stockimage name='sub-directory/image-name.jpg']`

You can use this trick to classify banners, logos, icons or full sized images.

#### How can I protect my images?

This plugin is to consume your hosted images. Providing safety to your hosted images
is beyond the scope of the plugin. However, you can use .htaccess and index.php 
files to prevent directly listing and hot-linking to your images.

#### How can I setup my hosted server?

Actual hosting of your photography is not the scope of this plugin. But you should
upload your photos anywhere accessible via web. You can use Dropbox or FTP like 
tools to upload your file on your server.

Consult with your hosting provider regarding:

 * How to upload your files
 * Bandwidth you are using

#### Can I upload raw images from my camera?

Not recommended due to file size and bandwidth. Rather make suitable thumbnails 
or at least optimize your images. Your website should always have least possible
content output.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Stock Images” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ Bimal Poudel ](https://profiles.wordpress.org/pbimal/)

[Translate “Stock Images” into your language.](https://translate.wordpress.org/projects/wp-plugins/stock-images)

### Interested in development?

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

## Changelog

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0**
 *  Last updated **10 years ago**
 *  Active installations **10+**
 *  WordPress version ** 4.5.0 or higher **
 *  Tested up to **4.5.33**
 * Tags
 * [collection](https://wordpress.org/plugins/tags/collection/)[images](https://wordpress.org/plugins/tags/images/)
   [stock](https://wordpress.org/plugins/tags/stock/)
 *  [Advanced View](https://wordpress.org/plugins/stock-images/advanced/)

## Ratings

No reviews have been submitted yet.

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

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

## Contributors

 *   [ Bimal Poudel ](https://profiles.wordpress.org/pbimal/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/stock-images/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://bimal.org.np/)