3863c3863
< 	if ( !empty($imagedata['thumb']) && ($thumbfile = str_replace(basename($file), $imagedata['thumb'], $file)) && file_exists($thumbfile) )
---
> 	if ( !empty($imagedata['thumbnail']) && ($thumbfile = str_replace(basename($file), $imagedata['thumbnail'], $file)) && file_exists($thumbfile) )
