I use a php image resize script which is invoked using:
<img src="/images/image.php?img=test.png&maxw=100&maxh=100" alt="This is a test image" />
but this does not W3C validate. Are there anyways to get this to validate?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
since you havn’t given an exact eror-message, i have to assume the validation fails because of the ampersands. just take a look at the error description (wich also should be directly linked to from the validation-report, so you could have easily found this on your own) to see how to solve this.
that said, just change your code to: