跳到内容

Stock Images

v1.0

Bimal Poudel · 2016年6月18日 上架

Hosted stock images and photography linker.

正在使用
10+
评分
暂无
累计下载
1,763
最近更新
2016年6月19日
需要 WordPress 4.5.0+已测试到 4.5.33

贡献者

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'>.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums