Plugin / ImgCache
Iron_FeetInstallation
Installation
To install:
-
Drop the ‘imgcache’ folder into your ‘wp-content/plugins’ folder
-
Plugins page and activate the “imgcache”
-
Settings: ImgCache , and read the instructions.
To use:
- Add the ref property whose value is imgcache4wordpress into the img tag.
For example,
if you wanna cache the pic ( https://secure.gravatar.com/avatar/27026e1c60e2659f3350af30b78565b0?s=80 ), we can use
<img ref=imgcache4wordpress src=https://secure.gravatar.com/avatar/27026e1c60e2659f3350af30b78565b0?s=80 />
instead of
<img src=https://secure.gravatar.com/avatar/27026e1c60e2659f3350af30b78565b0?s=80 />
Warning:
-
The imgs will not be recache in one hour, if their cached imgs exist.
-
The imgs in own sites will not be cached.
-
If the imgs cann’t be cache by this plugin (such as 404, 403), the original url of the imgs will be used.
Known issues:
- imgs via https are not supported.(It will be solved in next version)
安装:
-
将imgcache文件夹放入wp-content/plugins文件夹
-
进入插件管理页面,将imgcache激活
-
在“设置”菜单选择ImgCache,阅读说明
使用:
- 在img标签中加入值为imgcache4wordpress的ref属性
比如说,
一般情况下,我们如果想展示一个图片,就会写成
<img src=https://secure.gravatar.com/avatar/27026e1c60e2659f3350af30b78565b0?s=80 />
如果想对该图片作缓存展示的话,需要改为
<img ref=imgcache4wordpress src=https://secure.gravatar.com/avatar/27026e1c60e2659f3350af30b78565b0?s=80 />
注意:
-
一幅图片如果被缓存后,在一个小时后才会被重新缓存。
-
本站图片不会被缓存,只缓存其它站点的图片。
-
如果插件无法对图片进行缓存(链接错误、无权限等等引起的),将会使用其原始URL
已知问题:
- 链接为https的图片无法被缓存(将会在新版本中解决)
Ratings
Rating breakdown
DIRECTORY DISCLAIMER
The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.
The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.
Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.
While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.
wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.