前言介紹
- 這款 WordPress 外掛「WP Image Sizes」是 2020-10-26 上架。
- 目前有 60 個安裝啟用數。
- 上一次更新是 2021-05-27,距離現在已有 1437 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.7 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.2.4 以上。
- 有 4 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
aiwatech |
外掛標籤
sizes | images | gallery | thumbnails | image sizes |
內容簡介
在現代網頁設計中,設計師會在網頁上創建不同尺寸的圖像以營造吸引人的版面配置。 如果網頁是使用 WordPress 構建的,開發人員需要在主題中註冊每個圖像尺寸,以確保如果客戶上傳不同尺寸的圖像,不會破壞版面配置。
通過新的 WordPress 安裝,默認情況下會創建三個尺寸,例如縮略圖(150 x 150)、中等(300 x 300)、大型(1024 x 1024),這意味著每當上傳新圖像時,WordPress 將在服務器上保留至少四個圖像副本,一個原始圖像和 3 個根據圖像大小進行裁剪的圖像副本。
當開發人員/設計師需要不同尺寸的圖像時,他們會註冊更多的圖像尺寸,例如英雄、產品縮略圖、產品大圖、團隊成員圖像等,具體取決於頁面的設計。
現在假設我們在主題中定義了 3 個默認和 3 個自定義圖像尺寸,現在每當上傳新圖像,WordPress 將創建 6 個圖像副本和 1 個原始圖像,即使我們只需要在網站上的特定區域使用其中 1 個,其餘副本仍然存在於服務器上並且會佔用空間。 想象一下當我們有許多帖子和頁面擁有不同的圖像時,WordPress 創建了多少無用的圖像,這些圖像只會佔用服務器空間。 在 Woo-Commerce 網站的情況下,如果您需要為主頁上的新滑動圖像或關於頁面的英雄圖像上傳圖像,它將創建許多副本,包括 Woo-commerce 自己註冊的不同尺寸的產品圖像尺寸。
最終,網站速度和服務器空間會受到影響。
為了解決這個問題,我們開發了一個 WP Image Sizes 插件,此插件允許用戶決定每次通過 WordPress 上傳圖像時應該創建哪些圖像尺寸。
安裝 WP Image Sizes 後,它將創建一個設置頁面,用戶可以在其中為每個 CPT 指定圖像尺寸,例如,用戶可以為英雄/滑块 CPT 指定一個尺寸,為團隊成員和推薦信指定另一個尺寸。在為每個 CPT 指定圖像尺寸後,當用戶上傳新圖像時,WP Image Sizes 將只允許 WordPress 創建被指定給 CPT 的圖像尺寸的副本。
如果用戶嘗試從媒體上傳圖像,它將在媒體上傳器中顯示選項,以選擇用戶需要的圖像尺寸,WP Image Sizes 將只創建該圖像尺寸。
WP Image Sizes 插件可以節省大量服務器空間,並協助使 WordPress 網站更加快速。
PRO
WP Image Sizes 插件還有一個專業版,其中包括更多功能,請參閱此處
原文外掛簡介
In modern web designs, designers create different sizes of images on the web pages for attractive layout. If a web page is built using wordpress, a developer has to register every image size in theme to make sure, if client uploads an image of different size, it does not break the layout.
With a new WordPress installation, by default it creates three sizes e.g. thumbnail (150 x 150), medium (300×300), large (1024×1024) which means whenever a new image will be uploaded, WordPress will keep at least four copies of images on the server, one original image and 3 cropped image copies based on image sizes.
When developer/designer needs different size of image, they will register more image sizes e.g. hero, product thumbnail, product large image, team member image etc depending on design of the page.
Now lets say we have 3 default and 3 custom image sizes defined in theme, and now whenever a new image will be uploaded, WordPress will create 6 image copies and 1 original image even we need to use only 1 for a specific area on the website, remaining copies will remain on the server and will occupy space. Imagine when we have lots of posts, pages having different images, how many unnecessary images WordPress creates on the server which are useless and just eat server space. In case of Woo-Commerce website if you need to upload a new slider image for home page or a hero image for about page, it will create a lots of copies including different sizes of products image sizes which woo-commerce registers itself.
Ultimately website speed gets effected and server space as well.
To solve this issue, we built a plugin WP Image Sizes this plugin allows user to decide which image sizes should be created for every image being uploaded through WordPress.
After installing WP Image Sizes, it will create a setting page from where user can assign image sizes to each CPT. e.g. user can assign one size for hero/slider CPT, one size for team member, testimonials. After assigning image sizes to each CPT when user will upload a new image, WP Image Sizes will only allow WordPress to create copies of image sizes which were assigned to the CPT.
In case user tries to upload an image from a Media, it will show options in media uploader to select which image size user wants and WP Image Sizes will only create that image size.
WP Image Sizes plugin saves a lot of space on the server and plays a role to make WordPress website a bit fast.
PRO
WP Image Sizes plugin is also available in a professional version which includes more features See here
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Image Sizes」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.0.5 | 1.0.6 | 1.0.7 | 1.0.8 | 1.1.0 | 1.1.1 | 1.1.2 | 1.1.3 | trunk |
延伸相關外掛(你可能也想知道)
Slider, Gallery, and Carousel by MetaSlider – Image Slider, Video Slider 》使用MetaSlider,您可以在數分鐘內創建強大的、優化的幻燈片、輪播、橫向滑屏或相冊,它是全球#1的響應式WordPress幻燈片外掛。MetaSlider是圖像、照片、視...。
Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery 》WordPress圖庫插件, 自2007年以來,NextGEN Gallery已成為行業標準的WordPress圖庫插件,每年繼續接收超過150萬的新下載量。它很容易管理簡單的照片圖庫,但...。
Photo Gallery by 10Web – Mobile-Friendly Image Gallery 》委員會翻譯如下:, , Photo Gallery 是建立美麗的行動裝置友好型相簿所需的領導外掛程式,只需幾分鐘即可完成。, 有用的連結:, 現場示範, 10Web 的高級 Phot...。
Firelight Lightbox 》Easy FancyBox WordPress外掛為您的網站提供靈活美觀的光箱解決方案,幾乎適用於網站上的所有媒體連結。Easy FancyBox使用更新的傳統FancyBox jQuery擴展版本...。
Simple Lightbox 》Simple Lightbox 是一個非常簡單且可自定義的燈箱,在您的 WordPress 網站上添加它非常容易。, 功能, 自定義燈箱行為的選項位於外觀 > Lightbox 管理員菜...。
Responsive Lightbox & Gallery 》提供完整的 WordPress 相簿外掛所需一切, Responsive Lightbox and Gallery 外掛是一個全功能的 WordPress 相簿外掛,擁有強大的拖放相簿生成器和 Lightbox ...。
FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel 》lugin/show-more-pagination/" rel="nofollow ugc">demo, Supports webP image compression for faster page loads, Advanced caching techniques for faster...。
Lightbox & Modal Popup WordPress Plugin – FooBox 》FooBox是第一個嚴肅考慮響應式佈局的燈箱。它不僅會將圖片縮放以在手機上呈現更好的效果,還會重新排列按鈕控制,使其在縱向或橫向的方向上都展現出色的外觀...。
Gallery Plugin for WordPress – Envira Photo Gallery 》相片集外掛, , 有用連結:, , 相片集範例, 相片集文件, 相片集支援, , 我們認為你不應該必須聘請開發人員來建立 WordPress 相片集。這就是為什麼我們建立了 E...。
WP Show Posts 》注意事項, 此外掛目前僅收到安全性更新。請查看我們的GenerateBlocks外掛以獲得更現代的解決方案。, , , WP Show Posts能夠透過易於使用的簡碼在您網站上的任...。
Carousel, Slider, Gallery by WP Carousel – Image Carousel with Lightbox & Photo Gallery, Video Slider, Post Carousel & Post Grid, Product Carousel & Product Grid 》, 實時演示 | 影片教程 | 使用說明 | 升級至專業版 », 概觀, WP Carousel 是最強大且使用者友好的 WordPress 公告欄外掛,可建立帶圖片、文章、WooComm...。
Visual Portfolio, Photo Gallery & Post Grid 》WordPress 的圖庫和作品集外掛, ★★★★★, 作品集網站是當今最受歡迎的網站之一。我們創建了Visual Portfolio,Photo Gallery和Post Grid WordPress外掛程式,這...。
ACF Photo Gallery Field 》t; 'Status', , 'name' => 'status', , 'choices' => array(, 'public' => 'Public', , 'private' => ...。
WP Featherlight – A Simple jQuery Lightbox 》WP Featherlight 是一個 WordPress 外掛,可為您的WordPress 網站添加一個極簡、高效、響應式 jQuery 燈箱。在其核心,WP Featherlight是一個用於 Featherlig...。
Premium Portfolio Features for Phlox theme 》概述, 這個外掛為 Phlox 主題增加許多高級作品集功能,讓您能以優雅的方式展示和呈現您的專案。, , Phlox 主題的演示 | 文件 | 視頻教程 | 支援論壇, , 功能...。