GetAll("SELECT `image_w`, `image_h` FROM `posts` WHERE `file` = " . $tc_db->qstr($_GET['id']) . " LIMIT 1"); $width = $imagesize[0]['image_w']; $height = $imagesize[0]['image_h']; ?>