<? require ('imgpopup.class.php'); if (isset ($file) && isset ($size)){ $img = new ImgPopUp ($file); $img->ImgThumb ($size); } ?>