https://discord.umbraco.com logo
GitHub - WildSiteCreations/Our.Community...
# package-development
o
Hey everyone - I'd love to get this package on to V17 but I hit a bit of a knowledge blocker when it comes to Image Processor. Would anyone be interested in collabing? Going to post on socials too. https://github.com/WildSiteCreations/Our.Community.MediaColourFinder/tree/v14-colour-finder
w
Whats the TL:DR version of your bug/problem to figure out mate ?
o
Been a while since I looked at the code if I'm honest but I think I couldn't get the colour values of the focal point from Image Processor. I was trying to convert my old package to new bellisma and got stuff.
I'll spin it up again over the weekend and see if I can give more details
w
Yeh let us know a bit more specifics as might be easier to lend a hand
o
Lee has had fun with this on Mastodon 😄 Rethinking how I do this and not using Image Sharp now 🙂
w
Probably can do some of this clientside now I assume
With some JS clientside library
It's a bit nasty as you need to traverse the DOM to find the image so if Umbraco change anything this will break but it works nicely just now. Going to get it packaged up over the next few days hopefully.
w
Nice !
Suggestion create a new property editor that combines the image with the color pallete then you would have total control of the DOM then along with a new PropertyValueConvertor that has the combined model/data in one property would be my 2cents feedback. Image with Color Pallete or similar
But for now if it works - ship it 😄
o
Doesn't quite work yet. For some reason I can't access the colours from code 😂 they are stored as it keeps my picked colours on save but need to work out why I can't access them
4 Views