thumbnail view templates + 404 handling