Posted by peteski22 on 08/15/06 14:42
How can I get my webpage to validate to XHTML strict if I am using the
commands as given in the phpthumb demo:
<img src="../phpThumb.php?src=images/disk.jpg&w=200">
This gives validation errors as I'm not allowed the 'w' or other
parameters.
I wondered if it was possible to do something like this (bare with me)
$thisThumb = phpThumb(src=images/disk.jpg&w=200);
echo '<img src="'.$thisThumb.'">;
But I am unsure of what the variable will contain, I ideally want to
create the thumbnail and for the result to be a string pointing to the
location of said thumbnail.
I've checked google but there doesn't seem to be any issues with using
phpthumb and validating html. (Am I missing something) :)
Thanks in advance for any replies. (p.s. please keep in on topic).
[Back to original message]
|