img width height validation
-
435pJJau251
- Posts: 44
- Joined: 17 Jun 11
- Location: China
- Trust:
08 Aug 11 8:52 am
Is there a way to validate pages without 1 image having width height validation? I have a dynamic image which can change in width/height so cannot declare the dimensions in the img tag..
-
Cecille L - Posts: 2087
- Joined: 25 Feb 11
- Location: Philippines
- Trust:
09 Aug 11 12:28 am
This is really a question best answered by a programmer or developer. I checked with a member of our technical staff and he said this depends on the type of script that you're using. The following websites might help:
Getting width and height of dynamic image
Dynamic Image Generation
Have a good day!
Getting width and height of dynamic image
Dynamic Image Generation
Have a good day!
Cecille
Download the FREE "How to Find Profitable Niches Report" : http://www.affilorama.com/affiloblueprint/v3
Add us on Google Plus: http://www.affilorama.com/googleplus
Download the FREE "How to Find Profitable Niches Report" : http://www.affilorama.com/affiloblueprint/v3
Add us on Google Plus: http://www.affilorama.com/googleplus
-
thel.online.ph
- Posts: 109
- Joined: 13 Sep 11
- Location: Philippines
- Trust:
19 Sep 11 1:34 am
I think it could be done if you replace the img tag with a call to a server-side script that will write the img tag, together with the name of the image and its dimensions. The page will be parsed by the server and sent to the validator or to the visitor's browser as plain HTML. You should have a valid page, and the scripted tag should always validate.
