Yes I’ve got it working! For anyone that’s interested I replaced the $filename with $filepath in the following 2 lines near the end of front-end-upload.php:
header ( ‘Last-Modified: ‘ . gmdate ( ‘D, d M Y H:i:s’, filemtime ( $filepath ) ).’ GMT’ ));
header ( ‘Content-Disposition: attachment; filename=”‘ . basename ( $filepath ) . ‘”‘ );
OK I was getting confused. This is Front End Upload. Still the same problem though – my jpg files can’t be viewed. Can anybody help? Please? Anybody….?