Prevent image loading with '/' and '\'