
內容簡介
Demo – 文件 – GitHub
這個外掛可以讓你建立簡潔明瞭的圖片畫廊。這個區塊包含以下功能:
功能
這個區塊包含以下功能:
垂直、水平或幻燈片排版
調整圖片之間的間距
自動維持長寬比的裁切大小
自適應網頁版面
水平或幻燈片排版可以設定固定尺寸
可以改變幻燈片下方按鈕的顏色
這個外掛功能簡單但非常實用。每張圖片都會根據可用的大小自動渲染 srcset 特性,且不需要在前端加入腳本。
使用方法
你可以在「區塊」中的「Melonpan Blocks」目錄下找到這個區塊。
加入圖片畫廊後,你可以在「編輯器側邊欄」的區塊設定面板中修改設定。
感謝
截圖圖片來自Charles Postiaux。
外掛標籤
開發者團隊
原文外掛簡介
Demo – Documentation – GitHub
Add a gallery of images in a simple but clean layout. The block comes with the following settings:
Features
The block comes with the following settings:
Layout Vertical, Horizontal, Slider
Images separation
Cover size with aspect ratio
Responsive property
Fixed dimension for Horizontal and Slider layouts
Slider dot color
Simple but created to be useful. Each image is rendered with the srcset property containing all sizes available. No scripts are added in the front-end.
Usage
The block can be found inside the blocks inserter menu under the Melonpan Blocks category.
Once added in the post you can edit its settings on the Editor sidebar under the Block settings panel.
Credits
Screenshot images belong to Charles Postiaux.
