Опис
Square Thumbails is a plugin for creating square thumbnails from images, without cropping them. It is like when you set background image in CSS to contain.
A plugin for creating square thumbnails from images, without cropping them. If the plugin is installed and activated, when you upload an image it will automatically create square thumbnails, for all sizes.
If you use a plugin to regenerate the thumbnails, the plugin will create square thumbanails for all existing images.
We needed this plugin to have square images not cropped for products in Woocommerce.
square thumbnails, square no cropping, woocommerce, product image, creating all sizes
Скріншоти
Встановлення
- Go to your admin area and select Plugins -> Add new from the menu.
- Activate the plugin through the ‘Plugins’ menu in WordPress
We tested it on wordpress versions starting with 3.4 and we found that is compatible starting with wordpress 3.5. It is also compatible with PHP 7.
Часті питання
No questions yet.
Відгуки
Учасники та розробники
“Square Thumbnails” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
УчасникиПерекладіть “Square Thumbnails” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
2.0.1
version number fixed
2.0
Major update
– compatibility with all PHP versions
– compatibility with latest wordpress versions, tested with 6.5.5
– added support for WEBP formats
– other fixes and optimizations
1.1.2
Fixed all errors displayed in plugin check
1.1.1
Fixed vulnerability reported by wordfence
A vulnerability in this plugin has been reported:
https://www.wordfence.com/threat-intel/vulnerabilities/id/31cc30c7-262d-4582-8976-fc8095bdca5f?source=api-prod
1.0.4
Major update for the entire code and fixes for all bugs.
Some new options were added:
– option to choose if original image should be also put in a square
– option to choose if you want to be created all existing sizes, even if the original image is smaller than some of them. WP by default is not creating thumbnails larger than the original image is.
1.0.3
Fixed the bug reported by @chuchilade and by @peer_012. The bug was caused by hex to rgb color conversion.
1.0.2
Fix for eregi deprecation. thanks to mjassen (https://wordpress.org/support/users/mjjojo/) for reporting this error and for helping to fix.
1.0.1
- Horizontal align of the image in the frame
- Vertical align of the image in the frame
- Set background color of the frame or check to automatically read the color from the image, point (0,0)
1.0
- Initial release.