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?sr c=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=im ages/disk.jpg&w=200) ;
echo '<img src="'.$thisThu mb.'">;
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).
commands as given in the phpthumb demo:
<img src="../phpThumb.php?sr c=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=im ages/disk.jpg&w=200) ;
echo '<img src="'.$thisThu mb.'">;
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).
Comment