Lines Matching refs:filename
406 $filename = strtolower($file);
407 if (substr($filename,0,6) != 'thumb_' and substr($filename,0,$len) == $suffix) {
408 if (stristr($filename, '.jpg')) {
409 $image[] = $path.$filename;
410 $thumbnail[] = $path.'thumb_'.$filename;
411 $imagename[] = $filename;
412 $thumbname[] = 'thumb_'.$filename;
414 if (stristr($filename, '.jpeg')) {
415 $image[] = $path.$filename;
416 $thumbnail[] = $path.'thumb_'.$filename;
417 $imagename[] = $filename;
418 $thumbname[] = 'thumb_'.$filename;
420 if (stristr($filename, '.png')) {
421 $image[] = $path.$filename;
422 $thumbnail[] = $path.'thumb_'.$filename;
423 $imagename[] = $filename;
424 $thumbname[] = 'thumb_'.$filename;
426 if (stristr($filename, '.gif')) {
427 $image[] = $path.$filename;
428 $thumbnail[] = $path.'thumb_'.$filename;
429 $imagename[] = $filename;
430 $thumbname[] = 'thumb_'.$filename;