跳至主要內容
WordPress.org

Hong Kong 香港中文

  • 佈景主題
  • 外掛
  • News
  • Support
  • About
  • 重要通知
  • WordPress 常見問題
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

Outpath Solutions Image Cube

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Outpath Solutions Image Cube

由outpathsolutions
下載
  • 詳情
  • 評價
  • 安裝
  • 開發
支援

描述

Outpath Solutions Image Cube displays a smooth, rotating 3D cube on your site. Use a single logo on all six faces, or set a different image per face. The animation uses pure CSS 3D transforms, so no JavaScript library is loaded on the front end and the cube stays fast and lightweight.

Features

  • Rotating 3D cube built from one logo or six different images.
  • Shortcode [outpath_image_cube] and a matching block with a live preview in the editor.
  • Independent horizontal and vertical rotation speeds for a tumbling effect.
  • Choose images straight from the WordPress media library.
  • Responsive images with automatic srcset (uses attachment IDs).
  • Live preview on the settings page.
  • Extra options: pause on hover, reverse direction, adjustable perspective, ground shadow and rounded corners.
  • Adjustable size and speed, globally or per shortcode.
  • Respects the visitor’s “reduce motion” preference.
  • Accessible: add a description for screen readers, or leave the cube decorative.

螢幕截圖

A rotating cube built from a single logo.
A rotating cube built from a single logo.
A cube with a different image on each face.
A cube with a different image on each face.
The settings page: pick a default image or a different image per face, with a live preview beside it.
The settings page: pick a default image or a different image per face, with a live preview beside it.
Set the cube size, the horizontal and vertical rotation speed, and an optional screen-reader description.
Set the cube size, the horizontal and vertical rotation speed, and an optional screen-reader description.
The Outpath Image Cube block in the editor, with the per-face image controls in the sidebar.
The Outpath Image Cube block in the editor, with the per-face image controls in the sidebar.

安裝

  1. Upload the plugin folder to /wp-content/plugins/, or install the ZIP via Plugins → Add New → Upload Plugin.
  2. Activate the plugin through the “Plugins” screen in WordPress.
  3. Go to Settings → Outpath Image Cube, choose your default image and, optionally, a different image per face.
  4. Place the shortcode [outpath_image_cube] in any page, post or widget, or add the Outpath Image Cube block.

常見問題

How do I change the cube on a single page only?

Pass attributes to the shortcode, for example: [outpath_image_cube size="300" speed="8" vspeed="12"].

Can I use different images per face in the shortcode?

Yes. Use attachment IDs: [outpath_image_cube img1="42" img2="43" img="10"], where img is the fallback used for any face you leave empty.

Which extra options are available?

pause=”true” pauses rotation on hover, direction="reverse" reverses it, perspective="4" controls the depth effect (1-12, lower is stronger), shadow="true" adds a soft ground shadow and radius="12" rounds the corners.

Is there a block, or only a shortcode?

Both. Search for “Outpath Image Cube” in the block inserter, or use the shortcode.

Does it load JavaScript on my site?

No. The front-end animation is pure CSS. JavaScript is only used in the admin and the block editor.

Does it respect reduced-motion settings?

Yes. Visitors who enable “reduce motion” in their system see a static, tilted cube instead of the animation.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Outpath Solutions Image Cube” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者
  • outpathsolutions

將 Outpath Solutions Image Cube 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

修改日誌

2.3.0

  • Renamed all functions, options, constants, handles and CSS classes to a single consistent plugin prefix.
  • Removed the generic legacy shortcodes; use [outpath_image_cube].

2.2.0

  • Renamed to Outpath Solutions Image Cube with unique prefixes throughout.
  • Primary shortcode is now [outpath_image_cube].
  • Translations are handled through translate.wordpress.org; bundled translation files removed.

2.1.0

  • Added a block with a live preview in the editor.
  • New options: pause on hover, direction, perspective, ground shadow and rounded corners.
  • Added uninstall cleanup that removes all plugin options on deletion.

2.0.0

  • Store attachment IDs instead of URLs; responsive images with srcset.
  • Optional different image per face.
  • Live preview on the settings page.
  • Accessibility: optional screen-reader description, decorative by default.
  • Shortcode values are clamped to safe ranges.

1.0.0

  • Initial release: rotating cube from a single logo via shortcode.

其它

  • Version 2.3.0
  • Last updated 1 個月之前
  • Active installations 少於10
  • WordPress version 5.8 or higher
  • Tested up to 7.0.4
  • PHP version 7.2 or higher
  • Language
    English (US)
  • Tags
    3danimationblockcubelogo
  • 進階顯示

評分

No reviews have been submitted yet.

Your review

See all reviews

貢獻者

  • outpathsolutions

支援

有話想說?需要協助?

檢視支援論壇

  • 關於我們
  • 最新消息
  • 寄存
  • 隱私權
  • 展示網站
  • 佈景主題
  • 外掛
  • 區塊版面配置
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • Events
  • Donate ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Hong Kong 香港中文

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • 訪問我們的 Facebook 專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
代碼就是詩歌。
The WordPress® trademark is the intellectual property of the WordPress Foundation.