跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Outpath Solutions Image Cube

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

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.

评价

此插件暂无评价。

贡献者及开发者

「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.

额外信息

  • 版本 2.3.0
  • 最后更新:1 周前
  • 活跃安装数量 不到10
  • WordPress 版本 5.8 或更高版本
  • 已测试的最高版本为 7.0.3
  • PHP 版本 7.2 或更高版本
  • 语言
    English (US)
  • 标签
    3danimationblockcubelogo
  • 高级视图

评级

尚未提交反馈。

Your review

查看全部评论

贡献者

  • outpathsolutions

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.