You appear to be missing the proper quotes around the width value in your tag. Try using:
<img src='/uploads/default/original/1X/0d1549f080237ad08a753deb0f8b7fb2e28d3852.gif' width='100'>
or
<img src="/uploads/default/original/1X/0d1549f080237ad08a753deb0f8b7fb2e28d3852.gif" width="100">
If that doesn’t fix it, then it probably has something to do with how Discourse bakes the lightboxes for larger images.
Edit: Testing on try.discourse shows that using the examples I provided when initially posting works as intended, but trying to go from what @Itzikiap is using to one of my examples by editing an existing post does not correct the baked version of the post.