Adaptive Background

plugin banner

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 …

Author:Ashvin Solanki (profile at wordpress.org)
WordPress version required:4.4
WordPress version tested:6.1.6
Plugin version:1.0.0
Added to WordPress repository:16-03-2023
Last updated:16-03-2023
Rating, %:0
Rated by:0
Plugin URI:http://upshotweb.com/
Total downloads:211
plugin download
Click to start download

.
* 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