Dynamically adding rounded corners to images can be a tricky process. Making sure those corners are transparent adds an additional level of complexity. In the project that I am working on, we used to fake the rounded corners with ImageMagick. Since our site had a white background, applying white, pre-made corners over the image was… Read more »
Posts Tagged: programming
Finally – Firebug and Tab Mix Plus for Firefox Beta
As many of you probably know by now… Firefox 3 is great. However, it is still in Beta. For those of us web developers, one of the woes of the beta was the loss of our beloved Firebug. This add-on makes designing and customizing web pages a snap. Chances are, that if you are an… Read more »
PHP and Regex – Replacing Repeating Characters with Single Characters in a String
[Update] – a comment left by TLP gives a much better solution to the problem that seems to be better in benchmarks as well. I’m changing the post to reflect the best and fastest method for the situation described. In a previous post, I described a situation where we needed to remove a repeating dot… Read more »