內容簡介
一些 WordPress 主題會為圖像添加樣式,例如框架和陰影。Image Shadow 外掛讓你可以在不使用特殊主題的情況下為圖像添加這種樣式。它會自動將透明的 jpeg 圖像添加柔和逼真的陰影效果到您的文章內容中。您可以選擇陰影的深度和方向,甚至可以為圖像添加框架。您可以讓圖像增加陰影,也可以確保陰影圖像與原始圖像佔用相同的空間。
版本 1.1 可以讓您僅為帶有給定 class 屬性的圖像添加陰影(該屬性必須在 src 屬性之後)。您還可以通過將背景顏色設置為空白來顯示透明背景的陰影效果。
陰影圖像會在您的服務器上緩存以實現快速傳遞。這意味著您的 PHP 設置必須允許創建新的文件,您還必須安裝 GD 库。
注意,我們注意到外掛的設置屏幕在 Internet Explorer 中存在問題,儘管它是功能正常的。
版本歷史
1.1.0
添加僅對具有指定 class 屬性的圖像添加陰影的選項
如果將背景顏色設置為空白,該外掛將嘗試產生透明背景(需要 PHP >=4.3.2)
1.0.b2
第一個公開發布版本
外掛標籤
開發者團隊
原文外掛簡介
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
