i attached the source which i found from
http://www.php-mysql-tutorial.com/image-gallery/
i use this config
// we save the album image here
define('ALBUM_IMG_DIR', '../images/album/');
// all images inside an album are stored here
define('GALLERY_IMG_DIR', '../images/gallery/');
it is saving thumbs correctly but i can't view the images thumbs in admin or user section the missing image crossed icon is displaying...
please help me to trace to bug