內容簡介
```html
<!DOCTYPE html>
<html>
<body>
<h3>外掛總結:</h3>
<ul>
<li>這是一個簡單的外掛程式,能夠在 WordPress 文章和頁面中添加一個區塊,以水平滑動控制來顯示全景圖像。</li>
</ul>
<h3>問題與答案:</h3>
<ul>
<li>
<h4>這個外掛的功能是什麼?</h4>
<p>能夠在 WordPress 文章和頁面中添加一個區塊,以水平滑動控制來顯示全景圖像。</p>
</li>
<li>
<h4>為什麼作者開發這個外掛?</h4>
<p>作者拍攝了很多手機全景照片,但在將它們上傳到部落格後,由於被裁剪或縮小得太小而無法令人印象深刻。</p>
</li>
<li>
<h4>這個外掛如何解決問題?</h4>
<p>透過顯示水平滾動圖像,使圖像按照編輯器中固定的圖像高度適當比例地呈現,超出部分則消失在內容寬度的邊緣。</p>
</li>
<li>
<h4>使用者如何操作這個功能?</h4>
<p>使用者可以使用按鈕、捲動條或在手機上使用手指,來左右滾動圖像,從而以更令人愉悅的解析度簡單有效地分享圖像。</p>
</li>
</ul>
</body>
</html>
```
希望這有幫助!如果你有任何其他問題,歡迎再問我。
外掛標籤
開發者團隊
原文外掛簡介
A simple plugin to add a block to WordPress posts and pages to display panoramic images as a lightly-configurable, content-width image with horizontal sliding controls.
I personally take a lot of panoramic photos on my phone, you know the kind: big, ultrawide images in “pano” mode. When I upload them to my blog they are either cropped or shrunk so small that they are not especially impressive to display.
My solution was a simple horizontally scrolling image. The block displays a properly proportioned image as set by the fixed image height in the editor, except the overflow disappears into the magical void that is the margin of your content width. Using the buttons, scrollbar or a finger on mobile, the user can scroll the image back and forth, left to right, allowing a simple but effective sharing of images in a more enjoyable resolution.
