Don't silently ignore invalid URLs

Scenario: Providing an invalid url via $_GET (wrong/missing extension or file isn't an image (also happens on download errors))
Behavior before: Silently redirect to index
Behavior after: Display error message

// Edit / Offtopic: HAPPY NEW YEAR!