Category: Web Development

12 Jun

JavaScript image preview snippet

Code for custom JavaScript Image Upload Preview from a file input field.

JavaScript image preview

Time for another coding snippet – this time a JavaScript image preview. Several months ago, I was working on an trivia-like web-app. I needed to allow users to create their own trivia games and share them on social networks, and challenge their friends. Unlike many other trivia website, this one allows for games to actually look like games, meaning have an image representation of the game. This lead to creating an file input field, allowing game creators to actually upload their own image. Now, since the app is actually scaling and cropping the image, I had to come up with a way for game creator to see the image preview before the upload. Obviously, I needed my very own javascript image preview script, and here’s what I came up with.

Read more

21 Apr

Bugzilla-C3PO – automated Bugzilla PHP filer


A few days ago I needed to file 70+ bugs. All for the same thing for each locale we support on I then decided to make use of BZAPI(Bugzilla Web Service API), and have created a tiny PHP script to do the job for me. That’s how bugzilla-c3po was born. It worked pretty well even the first time I tried it on on, so I could expect only better performance on

Read more

13 Apr

Creating new Theme

Wikimedia logo - theme

An hour ago, got a new default template, or in media-wiki lingo – a new skin. I’ve been working on this skin whenever I had some spare time, and it finally payed off. While creating the skin, my guideline for the design was Also, I did my best to make it as readable as possible, as a lot of us do a lot of wiki reading. This was the birth 0f the current theme.

Read more

24 Feb

News: and

During my internship at Mozilla Europe, I’ve been working on a lot of stuff. I’ve been helping with Marketing and community engagement, localization, WebDev, QA, SUMO… All in all, I had my hands always full with a bunch of adorable tasks. Due to being work-o-holic, I find this extremely thrilling and fun.

Read more