该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Image Shadow

描述

Some WordPress themes style images frames and drop-shadows. The Image Shadow plugin lets you have such image styling without having to use a special theme. It automatically adds a soft, realistic drop-shadow to the jpeg images in your post content. You can choose the shadow’s depth and orientation. You can even add frame to the image. You can let the image grow a shadow or you can ensure that the shadowed image fits in the same space as the original.

Version 1.1 lets you add shadows to only those images with a given class attribute (the attribute must come after the src attribute). You can also have shadows with a transparent background by leaving the background colour blank.

The shadowed images are cached on your server for fast delivery which means that your PHP setup must allow the creation of new files. You must also have the GD library installed.

NB I am aware that the settings screen, though functional, has problems in Internet Explorer.

Version History

  • 1.1.0
    • adds option to only shadow images with a specified class attribute
    • if the background colour is left blank the plugin will try to produce a transparent background (requires PHP >=4.3.2)
  • 1.0.b2
    • First public release

安装

Image Shadow is installed in 3 easy steps:

  1. Unzip the “image-shadow” archive and copy the folder to /wp-content/plugins/
  2. Activate the plugin
  3. Use the Settings > Image Shadow admin screen to choose the kind of shadow you want. If you have javascript enabled you will have a live preview of your changes.

常见问题

None Yet!

If you want to see the plugin in action please visit PhotoLinkLove. Many thanks to David, the blog owner and photographer, for the inspiration for this plugin.

评价

此插件暂无评价。

贡献者及开发者

“Image Shadow” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Image Shadow”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志