• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Cool Wall

In the long run it might be best to have the server retrieve pics, thumbnail them to a suitable size, and serve them yourself rather than deep-linking - although this could end up using a fair bit of space. Then there's copyright issues... :frown

Yes, I see you added a huge ape pic. I was against storing the images for all the reasons you gave above, but mostly space and bandwidth from my webserver.

My advice on the 'add new pic' dialogue is to use images from Google's image cache of results, since they are dinky enough to fit nicely on the page.

I will look at resizing the image on the fly, though.
 
Thats quite good fun that!

You should send a link to clarkson!

With a bit of work I'm sure you could get it put on the Top Gear page of the bbc website.

May need parental control though!
 
Thats quite good fun that!

You should send a link to clarkson!

With a bit of work I'm sure you could get it put on the Top Gear page of the bbc website.

May need parental control though!

Like a lot of my side projects, I get bored of them after a while - when they don't make me any money :) But maybe the Beeb would want it for the Top Gear website.
 
Post it in, Clarkson can use it in his "I was on the web and i found THIS.." link.
 
Post it in, Clarkson can use it in his "I was on the web and i found THIS.." link.

I should set up a "Clarkson's Tight Jeans' wall with categories ranging from "gonad squashing" to "tent flapping"
 
There's something funky going on in your mouseup handler: if I go to a pic, mousedown, and mouseup without moving, the image frame is moved 5 pixels up and 10 pixels left. If I drag, a similar shift left and up from the drag end position is seen upon drop, presumably by the same amount.

On one occasion it seemed that it moved up 6 pixels, not 5, which might imply a rounding error somewhere. Not sure though...

Oh, this was in Safari 3 and Firefox 2 on OS X, BTW.
 
There's something funky going on in your mouseup handler: if I go to a pic, mousedown, and mouseup without moving, the image frame is moved 5 pixels up and 10 pixels left. If I drag, a similar shift left and up from the drag end position is seen upon drop, presumably by the same amount.

Yeh it's a rounding error. When you move an image, it does a percentage calculation across the width and height of the screen. This is so it still spreads all the images out over whatever screen width and height you view the wall on. If I used absolute pixel positions, different screen sizes would mess it up. Since I store the percentages as integers, you're always going to get a few pixels worth of rounding.

Unfortunately it does always seem to be in the upwards/leftwards direction (due to truncation rather than rounding, I suppose) I'll look into it when I'm at ClientCo next week ;)
 

Advertisers

Back
Top