brian dichiara


The distant future

Posted in Design by briandichiara on the October 31st, 2007

When deciding on a Halloween costume this year, I was compelled to mock my favorite folk comedy duo Flight of the Conchords, and designed a pretty-decent clone of the robot costume from Season 1 Episode 1 of FOTC on HBO. This costume was featured in their debut music video called Robots (aka The Humans are Dead). You can view the video on HBO’s website. Photos after the jump.
(more…)

Image Thumbnail Creator

Posted in PHP by briandichiara on the October 17th, 2007

Like many other people, I found Mike Lopez’s image thumbnail script quite useful. He has taken the time to go through the brain-crunching algorithm to create image proportional image thumbnails when given a max height/width. Although this script is very handy, it was lacking in a few areas, such as transparent PNG and GIF support, as well as the un-needed resize if the image was smaller than the requested dimensions. I hope I have “helped” in this situation by modifying the script so that it handles such requests. Credit for the transparency support goes to Martin Schmidt (icheee).

One modification I made that is important to note is that the image is now fed through with the SRC variable, rather than the IMG variable. Thanks Mike for this script and I hope my updates really help.
(more…)

Download Code

Posted in PHP by briandichiara on the October 9th, 2007

This code is something i found that will force download, rather than opening in browser:
(more…)