I had a buddy of mine help me fix the issue I was having. Here is the new code so that the screen shot is now viewable instead of downloading the file.
Change line 331 to
PHP Code:
$thumb_q = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "dl_images WHERE file = ".$file['id']." ORDER BY `id` ASC LIMIT 0,1");
Change line 339 to
PHP Code:
$filethumb = '<a href="'.$dl->url.$thumb_x['name'].'" '.$target.'><img src="'.$dl->url.$thumb_x['thumb'].'" align="middle" title="'.$vbphrase['ecdownloads_download'].' '.$file['name'].'" alt="'.$vbphrase['ecdownloads_downloads'].'" border="0" /></a> ';
Change line 343 to
PHP Code:
$filethumb = '<a href="'.$dl->url.$thumb_x['name'].'" '.$target.'><img src="'.$dl->url.$thumb_x['thumb'].'" align="middle" title="'.$vbphrase['ecdownloads_download'].' '.$file['name'].'" alt="'.$vbphrase['ecdownloads_downloads'].'" border="0" /></a> ';