Thursday, January 27, 2005

Google ads

Folks, I've added Google ads to this page. (Not to the TeamB page, however) I'd only read about ad-click revenues till now, and I've never been able to get any real figures on the ad-click business - all I've ever heard about is:
a) How they are so ineffective in today's ad infested world.
b) Why you can't build a business model on ad-based-revenues.

I think Google's model is good. It's fairly inobtrusive, you can turn off images and Flash, and most importantly, it's got a fairly clean brand image. But, that means nothing if it doesn't translate to money. From my point of view, this is a test - it means that if I make money from "clicks" on the google ads, it'll also make sense for us to buy ad space from Google. Ok, that's far fetched, but I don't really know a better way.

Oh yes, and if you don't like the ads, let me know. And if you can't see them, let me know too. The ads are in the side bar, waaay below. Maybe I should put them higher up, if it won't tick visitors off.

Tuesday, January 25, 2005

TDBImage and JPEG files

It's been a while. Well, I've no time to explain, so here's a tip. If you were looking to support JPEGs in TDBImage, you're out of luck, because it only supports BMPs (or so I think). I found out that TJvDBImage from jvcl.sourceforge.net supports JPEG images...but there's a catch. There are two kinds of JPEG images, JFIF and Exif. (Exifs are usually output by digital cameras)

Now if you want Exif support, the standard TJpegImage supports it - but TJvDBImage does not. To fix, add the following line in the GraphicSignaturesNeeded procedure:

RegisterGraphicSignature('Exif', 6 , TJPEGImage);

That's about all you need.