Linux 软件免费装

ImageShack Offloader

开发者 scribu
更新时间 2012年4月10日 06:18
捐献地址: 去捐款
PHP版本: 2.8 及以上
WordPress版本: 2.9

标签

images cdn imageshack

下载

1.0.4

详情介绍:

Displaying a lot of images on your site is great. You'll notice, however, that they tend to eat up a lot of bandwidth. If your site is even remotely popular, this usually means you'll have to upgrade your hosting account. ImageShack is a service that offers free image hosting. So why not take advantage of it? You could start uploading the images manually and modify each post, or you can just install this plugin and be done with it. It will take care of sending copies of all your current (and future) attachments to ImageShack. It will also dynamically replace the URLs when the images are to be displayed. This way, if you decide you don't want to use ImageShack anymore, you can disable the plugin and everything goes back to how it was.

安装:

You can either use the built-in WordPress plugin install menu, or do it the old-fashioned way:
  1. Unzip the .zip archive and put the imageshack-offloader folder into your plugins folder (/wp-content/plugins/).
  2. Activate the plugin from the Plugins menu.
  3. Go to Settings -> Imageshack Offloader and customize your settings.
Usage The plugin will automatically filter the post content and replace image src attributes with ImageShack URLs. If you want to get the URL for a specific image, you can use get_imageshack_url($id, $size), where $id is the attachment id and $size is the desired size. Default is 'full'. If there is no URL yet, the function will return false.

常见问题:

"Parse error: syntax error, unexpected T_CLASS..." Help!

Make sure your new host is running PHP 5. Add this line to wp-config.php: var_dump(PHP_VERSION);

更新日志:

1.0.4 1.0.3 1.0.2 1.0.1 1.0 0.9