plugin-icon

Adaptive Background

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 …
Versie
1.0.0
Laatst bijgewerkt
Mar 16, 2023
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
Gratisop Business abonnement
Door te installeren, ga je akkoord met de Servicevoorwaarden van WordPress.com en de voorwaarden voor plugins van derden.
Getest tot
WordPress 6.1.9
Deze plugin kan worden gedownload, zodat je hem op je kan gebruiken.