seems to work but is this the proper way of doing it in conjunction with the kissit thumbnailer?
if ( (empty($src) || ($src == DIR_WS_IMAGES)) && (IMAGE_REQUIRED == 'false') ) {
$src=DIR_WS_IMAGES.'noimage.gif';
}
//for what`s the url like :'images/aa/'
if(!file_exists($src)||strlen(strstr($src,"."))<=0){
$src=DIR_WS_IMAGES.'noimage.gif';
}
Edited by vampirehunter, 13 June 2013 - 03:54 PM.










