Add support for theme images
-
It’d be very helpful if this plugin could be updated to include a function for retrieving the dominant color of any image; for example, say my theme has a hard-coded image in the footer that I want to lazy load. I suppose I could just manually specify the color and transparency stuff, but it’d be nice if I could simply run the URL (or file path) through a function like
dominant_color_get_from_path("https://www.example.com/wp-content/themes/my-theme/assets/media/my-background.jpg")
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.