404 - Not Found by mogrify

AssertionError("Requested file extension '.jpg?214bc4f9d9bd7c08c7d0f6599bb3328710e01e7b' is not in allowed formats: {'.jpg', '.png', '.jpeg', '.gif'}",)