Thinclient Update & WordPress Tip

Well, tonight i was thinking about my thinclient and remebered i had a laptop cdrom drive somewhere. After a bit of digging through boxes, i found the drive, and the adapter i bought for it to fix it to the IDE bus :D

IMG_2582.jpg

IMG_2583.jpg

So thats that sorted, now i dont have to buy a small CDROM drive :D

A little wordpress tip, I was getting a bit annoyed with the uploaded images being tiny. and found that it can’t be changed directly in the wordpress admin section :( after a bit of hacking around, i found that the relevant file is wp_admin/inline-uploading.php , and lines 82-85. Change from:

if ( $imagedata['width'] > 128 && $imagedata['width'] >= $imagedata['height'] * 4 / 3 )
$thumb = wp_create_thumbnail($file, 128);
elseif ( $imagedata['height'] > 96 )
$thumb = wp_create_thumbnail($file, 96);

to

if ( $imagedata['width'] > 320 && $imagedata['width'] >= $imagedata['height'] * 4 / 3 )
$thumb = wp_create_thumbnail($file, 320);
elseif ( $imagedata['height'] > 240 )
$thumb = wp_create_thumbnail($file, 240);

And the uploaded files will be much bigger, and easier to see :)