Title: Hot Random Image
Author: Hot Themes
Published: <strong>2014 年 12 月 28 日</strong>
Last modified: 2025 年 12 月 3 日

---

搜索插件

![](https://ps.w.org/hot-random-image/assets/banner-772x250.jpg?rev=1826019)

![](https://ps.w.org/hot-random-image/assets/icon-256x256.jpg?rev=1826049)

# Hot Random Image

 作者：[Hot Themes](https://profiles.wordpress.org/hotwptemplates/)

[下载](https://downloads.wordpress.org/plugin/hot-random-image.1.9.3.zip)

 * [详情](https://cn.wordpress.org/plugins/hot-random-image/#description)
 * [评价](https://cn.wordpress.org/plugins/hot-random-image/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/hot-random-image/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/hot-random-image/#developers)

 [支持](https://wordpress.org/support/plugin/hot-random-image/)

## 描述

Hot Random Image by [Hot Themes](https://www.hotjoomlatemplates.com/) is a basic
plugin that shows a randomly picked image from a selected folder where images are
stored. You can define a folder and the plugin will show all the images from this
folder in a random order. Also, it’s possible to select only certain images from
the folder that will be added in rotation. Each image can be linked. Alt text is
optional. Image dimensions (width and height) can be defined in any format (pixels,
percents, auto-mode…). Therefore, this plugin is appropriate for all responsive 
websites.

## 屏幕截图

 * [[
 * Sample screen shot of the Hot Random Image widget.
 * [[
 * Screen shot of the Hot Random Image widget parameters.
 * [[

## 区块

该插件提供了 1 个区块.

 *   Hot Random Image Hot Random Image shows a randomly picked image from a selected
   folder where images are stored.

## 安装

 1. Install plugin as usually from WordPress.org repository.
 2. 通过WordPress的“插件”菜单激活插件。
 3. Insert the Hot Random Image block in your page or post, or insert the plugin’s 
    shortcode, or publish the Hot Random Image widget into the available widget sidebar.
 4. To get some images displayed, you should enter a folder where your images are stored.
    This can be any folder from your site.
 5. In the plugin options, you can see other parameters that defines the widget’s output(
    width, height, alt text, image link). Experiment with these options to configure
    the plugin for your site.
 6. The shortcode format for this block is `[randomimage path="images/random" width
    ="100%" height="auto" alt="Random image" link="https://yourwebsite.com/"]` where
    the first parameter is folder with images (relative path from WordPress root folder),
    the second parameter is image width (if not set, value 100% will be used), the 
    third parameter is image height (if not set, value auto will be used), the fourth
    parameter is ALT text (optional) and the fifth parameter is link of the images (
    optional).

## 常见问题

### How to use the block?

Make sure that the Hot Random Image plugin is installed and active. Edit your page/
post and when inserting a new block, search for “random image”. Click on the icon
to add the block. Set block parameters per your requirements.

### How to use the plugin shortcode?

If you want to add shortcode inside your posts, use this format `[randomimage path
="images/random" width="100%" height="auto" alt="Random image" link="https://yourwebsite.
com/"]` where the first parameter is folder with images (relative path from WordPress
root folder), the second parameter is image width (if not set, value 100% will be
used), the third parameter is image height (if not set, value auto will be used),
the fourth parameter is ALT text (optional) and the fifth parameter is link of the
images (optional).

### How to publish the plugin in a widget position?

Go to Appearance > Widgets and drop Hot Random Image widget into any widget position.
Then open it to see the widget options. Enter folder where your images are uploaded,
relative to your WordPress installation. In example “wp-content/uploads/2024/01”.

### The plugin doesn’t show any images?

Make sure you entered a valid folder where your images are uploaded. It should be
relative to your WordPress root folder.

### Why the plugin always shows the same image?

Your website probably uses cache. Therefore, the same (cached) image is always displayed.
Make sure that the page where the plugin in published is not cached.

## 评价

![](https://secure.gravatar.com/avatar/5feb7e25817d2fcb71f45e94cf66b068389e0c4cf27359503e29f23f2928a89f?
s=60&d=retro&r=g)

### 󠀁[Keine Fehler mehr](https://wordpress.org/support/topic/constantly-causes-404-errors/)󠁿

 [Dennis](https://profiles.wordpress.org/dhpdesign/) 2024 年 7 月 26 日 1 回复

I deactivated, deleted and reinstalled the plugin, after that there were no 404 
errors. Thank you

![](https://secure.gravatar.com/avatar/9786181f2ac82df1c2b05de1899533eadab7a16b5e6f7462d0c11f6abe6af6bd?
s=60&d=retro&r=g)

### 󠀁[Does the job and interesting features](https://wordpress.org/support/topic/does-the-job-and-interesting-features/)󠁿

 [Li-An](https://profiles.wordpress.org/li-an/) 2024 年 5 月 28 日

If you need to insert a random image, it’s a very interesting little plugin. The
features are quite handy too. And it works without problem.

![](https://secure.gravatar.com/avatar/a4915eeb76fe4f18416e27356c6cea50a553b94b80aeab05e0fe8992315cc002?
s=60&d=retro&r=g)

### 󠀁[Useful plugin, despite a little lack](https://wordpress.org/support/topic/useful-plugin-despite-a-little-lack/)󠁿

 [Patric](https://profiles.wordpress.org/zendik77/) 2023 年 4 月 9 日 1 回复

The plugin works perfectly as it should.It would be nice to be able to display randomly
several images.I can do it by using several times the widget, but then the same 
image may be displayed more than once.

![](https://secure.gravatar.com/avatar/2c75a50e0caa3921f7431ebccb8a619400debc07bb6cc5fe2d0e0bbb9df6a841?
s=60&d=retro&r=g)

### 󠀁[Great Plugin](https://wordpress.org/support/topic/great-plugin-35342/)󠁿

 [clara716](https://profiles.wordpress.org/clara716/) 2022 年 10 月 24 日

Worked for me. I used this to create an advertisement banner in the footer section.
Each time when you refresh the page, you will get a new image.

![](https://secure.gravatar.com/avatar/3ffbfd9999803af9690c86b072c98237faf492ffbcb50fc183cd9bc9dc2d588b?
s=60&d=retro&r=g)

### 󠀁[Amazing, simple and perfect for doing affiliate links rotations](https://wordpress.org/support/topic/amazing-2403/)󠁿

 [zaririnatma](https://profiles.wordpress.org/zaririnatma/) 2019 年 11 月 19 日 
1 回复

This plugin is simple and perfect for doing affiliate links rotations.

![](https://secure.gravatar.com/avatar/d4b42862ca92253143160c1f367242e143087b9d664ef7575ae32492528fcf10?
s=60&d=retro&r=g)

### 󠀁[Fast and easy to use](https://wordpress.org/support/topic/fast-and-easy-to-use-18/)󠁿

 [Nilo](https://profiles.wordpress.org/artriverwood/) 2017 年 11 月 10 日

Fast and easy to use

 [ 阅读所有9条评价 ](https://wordpress.org/support/plugin/hot-random-image/reviews/)

## 贡献者及开发者

「Hot Random Image」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Hot Themes ](https://profiles.wordpress.org/hotwptemplates/)

[帮助将「Hot Random Image」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/hot-random-image)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/hot-random-image/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/hot-random-image/)，或通过[RSS](https://plugins.trac.wordpress.org/log/hot-random-image/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/hot-random-image/)。

## 更新日志

#### 1.9

 * Adds block

#### 1.8

 * Various security and performance upgrades

#### 1.7

 * New shortcode format added

#### 1.6

 * Various enhancements in plugin code

#### 1.5

 * Various enhancements in plugin code

#### 1.4

 * Shortcode added

#### 1.3

 * Various enhancements in plugin code

#### 1.2

 * Methods name bug fixes

#### 1.1

 * Various enhancements in plugin code

#### 1.0

 * The initial release

## 额外信息

 *  版本 **1.9.3**
 *  最后更新：**6 月前**
 *  活跃安装数量 **2,000+**
 *  WordPress 版本 ** 3.9 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/hot-random-image/)
 * 标签
 * [block](https://cn.wordpress.org/plugins/tags/block/)[image](https://cn.wordpress.org/plugins/tags/image/)
   [images](https://cn.wordpress.org/plugins/tags/images/)[responsive](https://cn.wordpress.org/plugins/tags/responsive/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/hot-random-image/advanced/)

## 评级

 4.9 星（最高 5 星）。

 *  [  8 条 5 星评价     ](https://wordpress.org/support/plugin/hot-random-image/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/hot-random-image/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/hot-random-image/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/hot-random-image/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/hot-random-image/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/hot-random-image/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/hot-random-image/reviews/)

## 贡献者

 *   [ Hot Themes ](https://profiles.wordpress.org/hotwptemplates/)

## 支持

最近两个月解决的问题：

     总计 1，已解决 0

 [查看支持论坛](https://wordpress.org/support/plugin/hot-random-image/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.hotjoomlatemplates.com/)