19

I accidentally created something adorable. See, what happened was I wanted to figure out how to programmatically create blobcats for different countries, since I’d done it by hand for every country represented at my company and wanted a quick way to catch up once we add people from different countries.

Enter Cloudinary!
Wrote a transform that would take the image, shrink it to 150 px wide, then add the blobcat emoji as the underlayer behind and above it, then add the little arms I drew die holding the flag on top.

And that worked! I had a folder of flags and the frontend could query them using the transformations and the country blobcats were born! I even added a preset so I could view the little blobcats with their flags when I looked at the uploaded flags

But then I’m like “Eh, each transform adds a thing against my limit and I really don’t want to go over if this gets popular (why do I ever think _that’s_ a possibility?). I know! I’ll just add the transform on upload and reupload all the flags to a different folder! Then I’ll just need to request the image instead of having to do the transform per request.

And that worked!

But I forgot I still had my preset transform on.

So in addition to the successful country blobcat, I had a preview of what I like to call papa blobcat with kitten blobcat.

Comments
  • 4
    His whiskers do not look like that in any image I’ve seen, I do not know why he rendered thusly lol
  • 1
    Cool way you created this, I would like to try it once. Any link?
  • 3
    I loved cloudinary so much when I used it.

    Also: that really is adorable! 🥰
  • 1
    @molaram Why you gotta ruin things, man?
Add Comment