Fixes error when viewing uploaded picture

Now it just returns instead of throwing an error