Jump to content



Latest News: (loading..)

* * * * * 1 votes

KissIT Image Thumnailer


  • Please log in to reply
120 replies to this topic

#121   vampirehunter

vampirehunter
  • Members
  • 318 posts
  • Real Name:vampire

Posted 13 June 2013 - 03:53 PM

i find this code for functions/html_output.php

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.