Adaptive Background is a plugin for extracting dominant colors from images and applying it to its parent like instagram story when we add image it wil …
Рейтинги
Последние изменения
March 16, 2023
Версия
1.0.0
Adaptive Background

. * A JavaScript plugin for Adaptive Backgrounds. * Works in any browser that supports HTML5. * You can add any type of image to add adaptive background, * It will adopt image color to add same color background. * It is work like Instagram Story. When you upload any image on story line it will automatically adopt background color based on uploaded image.

Read about Shortcode:

[adaptive_backgrounds media_id=»6″ img_url=»www.wordpress.org/logo.png»]

  • media_id (optional) : set media id of image that will use in frontend.
  • img_url (optional) : set direct third party url of image.
  • Note : You need to add only one option for image. If you use both options then it will display image url image.

Credits

  • Adaptive Backgrounds was inspired by https://github.com/briangonzalez/jquery.adaptive-backgrounds.js
  • For plain HTML use : https://github.com/briangonzalez/jquery.adaptive-backgrounds.js
Проверено на
6.1.7
Этот плагин можно скачать и использовать при автономной установке WordPress.