404 - Not Found by mogrify

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