New plugin: fever gallery

Yesterday was not a good day, after having lunch in downtown with Marta we went to the -next year- kids school to deliver outstanding entries and then she went for shopping while I was working in one of our usual coffice.

When Marta came to pick me, I felt an intense back pain, it was something strange between that feeling of fever pain and some kind of soreness. After an uncomfortable walk back home I got into bed and fever began to rise.

Night was terrible, taking paracetamol and ibuprofen every about 3 hours. Today I'm feeling better, had an attempt to get up and work a little but my head was not in best conditions, so I took it calmly.

A while ago an idea came to my mind, and taking advantage of being home alone, I sat and tried to probe myself start coding a bit for fun. After some time I've added a gallery plugin to this blog engine. Nothing so serious with any database changes or something like that, no. It's easier, just parse url images and show them as a colorbox gallery, for example:

Easy peasy, it just parses the text, finds all the image urls between a tag/text, creates the thumbnails and show them as gallery. This will make future posts more "enjoyable", and it seems that my head is a bit better now... killing two birds with one stone.

code

About the author

Óscar
has doubledaddy super powers, father of Hugo and Nico, husband of Marta, *nix user, Djangonaut and open source passionate.
blog comments powered by Disqus