Images Working for the Browser Engine!
I’m going to be honest with you, this has to be the top 10 worst things I’ve ever coded. 😭😭 But images now can load; there are a few bugs, most images don’t load, and the ones that do load in pairs of 2 have weird bounding boxes.
However, they do work, and that’s what I’m happy about!
I’m going to do a quick side project, just to have a bit of room so I don’t overdo it, but overall it was good.
Next I’ll just fix the bugs and start getting like the formatting of texts to start matching websites!
The vid below shows them in action.
Comments 4
Awesome!! What was the worst part about getting images to work? Too many formats is my guess
@Sabrina A lot of the time, it’s not just linked like https:\example\image.png; lots of times it’s like \image.png, or it will be like data:image/png;base64,feikanfa… It’s just a lot of formats you need to parse and adjust for, as well as it was just super complicated getting images to load in the background, because if I loaded them on the same thread, the browser would just freeze lol. So it was a bunch of factors.
might be scuffed, but it’s remarkable nonetheless!
ladybird but smol
Sign in to join the conversation.