Latest Article

jQuery BBQ: Better Blockquotes

jQuery BBQ: A blockquote (AKA pullquote) script, that will unobtrusively grab content from your webpage and display it similarly to the way newspapers do it (see Wikipedia's definition of a pull quote).

It can either be dropped directly into the webpage, with no configuration, or can take a number of customization parameters if you want to get creative with it. It is very lightweight - only 2.2 Kb (to which you will need to add the size of your jQuery distro). read full article

About

e-magine.ro is home to me, Răzvan Brateş - I'm a Romanian freelance web designer / developer.
Here you'll find all kinds of web-related articles / tutorials / thoughts by yours truly.
I hope you'll enjoy your stay, find something useful, learn something new. Feel free to bookmark my posts (RSS) :)

read more

Recent articles

Polyglot search fix

While implementing the Polyglot plugin on a WordPress site I was working on, I found a bug related to the search form: the plugin appends “/lang-pref/en/” (or whatever other ISO language code) to the search string (in the URL - when using “pretty permalinks” AKA URL rewriting).

This does not directly affect the first search, but the search field is then filled with “my search string/lang-pref/en”, which is confusing for the visitor.

A quick solution is to filter the search query and remove the said string read full article

Quick & dirty fix for Slimbox to attach itself to all images

While implementing yet another a WordPress site, I found myself in the situation where I wanted to display any and all images in lightboxes, but with a minimum of interaction from the editor’s part.

All current plugins that integrate Slimbox (that I know of – this one, for example) actually require the editor to add the rel="lightbox" attribute. But since the editors of this site have no HTML knowledge whatsoever and will be editing in “visual” mode, this hinders deployment.

So I came up with a modification to the actual javascript of Slimbox, to make it identify all links to images and lightboxify them :) read full article

GO Racing – logo design

A good friend of mine is struggling to get his business on the road – he’s selling scooters and parts. In an attempt to help out, I’ve designed a logo for him:

GO Racing logo - www.goracing.ro

Soon enough, I’ll build him a website as well :)

One year’s statistics – thanks :)

This website is just over a year, the MOOdalBox page just went over 100.000 views and I just cashed in my first AdSense payment – a fabulous $100.78 :D (gathered in about a year)

It’s not much, but it pays for the hosting plan of this website – which means that this site is self-sustained.

I’ve grown to about 12.000 visitors with around 30.000 page views a month.

And this, for a blog with less than 30 posts. This is a wake up call for me: I will put more time in this site, from the little I have left, after my day job and my freelance projects.

I have so many ideas, like, for instance, the long awaited MOOdalBox 2 (lots of people have asked me when it would come out, I’ve made and broken so many promises on this subject :( ).

To sum it up, I feel the need to thank all my visitors for spending a moment here and for supporting me on every occasion. Thanks guys :)

SkinShare tutorial for an age verification using MOOdalBox

MOOdalBox has the the honor to be the first featured post on the SkinShare dev blog, with a tutorial on how to make a quick and easy age verification procedure.

SkinShare age verification

Unfortunately, this is a JavaScript only method – so it’s easily bypassed. I’ll have a version that uses more server-side scripting ready some time soon (for a project I’m working on), but this is cool and can easily enough be used just as a warning.