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). 21 2567 pe*******@gmail.com wrote in news:1155652970.767956.93180
@i42g2000cwa.googlegroups.com:
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.
The validation error is because of the ampersand.
Use: <img src="../phpThumb.php?src=images/disk.jpg&w=200">
(if it is XHTML, use <img src="../phpThumb.php?src=images/disk.jpg&w=
200" />
You'll also need to supply an alt attribute to pass validation as well.
--
Karl Groves www.karlcore.com pe*******@gmail.com wrote:
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.
No, that's not the reason.
<img src="../phpThumb.php?src=images/disk.jpg&w=200">
Will be valid.
>
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.'">;
No.
(p.s. please keep in on topic).
Tssk, this is usenet, you know :-)
Grtz,
--
Rik Wasmus
Karl, spot on!! sorry about that.. makes sense too. :) (thanks for the
speedy reply).
Thanks again
Peteski
(Php newbie)
I get a 'literal is missing closing delimiter.' where the first / is
following the
Karl Groves wrote:
pe*******@gmail.com wrote in news:1155652970.767956.93180
@i42g2000cwa.googlegroups.com:
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.
The validation error is because of the ampersand.
Use: <img src="../phpThumb.php?src=images/disk.jpg&w=200">
(if it is XHTML, use <img src="../phpThumb.php?src=images/disk.jpg&w=
200" />
You'll also need to supply an alt attribute to pass validation as well.
--
Karl Groves www.karlcore.com
newshroup posting newbie also, please ignore the literal is missing
closing delimeter comment, it was an accidental paste from the
clipboard.
petesk...@gmail.com wrote:
Karl, spot on!! sorry about that.. makes sense too. :) (thanks for the
speedy reply).
Thanks again
Peteski
(Php newbie)
I get a 'literal is missing closing delimiter.' where the first / is
following the
Karl Groves wrote:
pe*******@gmail.com wrote in news:1155652970.767956.93180
@i42g2000cwa.googlegroups.com:
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.
The validation error is because of the ampersand.
Use: <img src="../phpThumb.php?src=images/disk.jpg&w=200">
(if it is XHTML, use <img src="../phpThumb.php?src=images/disk.jpg&w=
200" />
You'll also need to supply an alt attribute to pass validation as well.
--
Karl Groves www.karlcore.com
newsgroup posting newbie also, please ignore the literal is missing
closing delimeter comment, it was an accidental paste from the
clipboard.
petesk...@gmail.com wrote:
Karl, spot on!! sorry about that.. makes sense too. :) (thanks for the
speedy reply).
Thanks again
Peteski
(Php newbie)
I get a 'literal is missing closing delimiter.' where the first / is
following the
Karl Groves wrote:
pe*******@gmail.com wrote in news:1155652970.767956.93180
@i42g2000cwa.googlegroups.com:
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.
The validation error is because of the ampersand.
Use: <img src="../phpThumb.php?src=images/disk.jpg&w=200">
(if it is XHTML, use <img src="../phpThumb.php?src=images/disk.jpg&w=
200" />
You'll also need to supply an alt attribute to pass validation as well.
--
Karl Groves www.karlcore.com pe*******@gmail.com wrote:
newsgroup posting newbie also, please ignore the literal is missing
closing delimeter comment, it was an accidental paste from the
clipboard.
Well, we'll forgive you if you promise to stop top-posting.
Grtz,
--
Rik Wasmus
Okay, I have to ask...why the "rule" against top posting? Personally I
VERY much prefer it. And where can I find these rules; is there a FAQ?
Rik wrote:
Well, we'll forgive you if you promise to stop top-posting.
"Gary Hasler" <ga********@thelogconnection.comwrote in message
news:44***************@thelogconnection.com...
Okay, I have to ask...why the "rule" against top posting? Personally I
VERY much prefer it. And where can I find these rules; is there a FAQ?
It is a commonly accepted convention. Most people to perefer to see a
comment immediately below the thing to which it is commenting. You are in
the very small minority. Note that this wa inline posting. If I had been
responding to several points in a larger post then you, the reader, would
have very little idea as to just which part I was responding. This way, it
is clear.
Shelly
Gary Hasler wrote:
>Well, we'll forgive you if you promise to stop top-posting.
Okay, I have to ask...why the "rule" against top posting? Personally
I VERY much prefer it. And where can I find these rules; is there a
FAQ?
Google for netiquette, there are hundreds of pages explaining it.
The main reason: keep the same flow in the conversation. The normal answer
of non-believers to that is:"But all the information is already in the post
before?!".
To this we say: Remember this is usenet, differnet newsservers, between
which a message can often be delayed for hours or even not arrive at all.
(Unfortunately, I detected that last problem a couple of times a week in
this ng, I'll have to contact my ISP about what's going on.) I may not be
able to see the message you're replying to, and allthough you quote, reading
from the bottom up is terribly annoying. Also, when setting a follow-up to a
more relevant newsgroup, it's nice to give the readers there a normal
starting point for the conversation.
Consider this flow:
Ah, now I see.
This is usenet, they might not be there.
>But why don't they first read the proevious posts then?
>>Well, It's a lot easier to read, and follows the flow of the conversation Why do people keep asking me to toppost?
Grtz,
--
Rik Wasmus
Rik wrote:
>>>>Why do people keep asking me to toppost?
Euhm, to _stop_ toppost offcourse :-)
Grtz,
--
Rik Wasmus
Shelly wrote:
>
"Gary Hasler" <ga********@thelogconnection.comwrote in message
news:44***************@thelogconnection.com...
Okay, I have to ask...why the "rule" against top posting?
Personally I VERY much prefer it. And where can I find these
rules; is there a FAQ?
It is a commonly accepted convention. Most people to perefer to see
a comment immediately below the thing to which it is commenting.
You are in the very small minority. Note that this wa inline
posting. If I had been responding to several points in a larger post
then you, the reader, would have very little idea as to just which
part I was responding. This way, it is clear.
Here's a handy web site:
<http://www.caliburn.nl/topposting.html>
Brian
Rik wrote:
Google for netiquette, there are hundreds of pages explaining it.
Hmmm...from wikipedia:
"Objections to top-posting, as a rule, seem to come from persons who
first went online in the earlier days of Usenet, and in communities
that date to Usenet's early days. Among the most vehement communities
are those in the Usenet comp.lang hierarchy,.."
Well put!
Gary Hasler wrote:
Rik wrote:
>Google for netiquette, there are hundreds of pages explaining it.
Hmmm...from wikipedia:
"Objections to top-posting, as a rule, seem to come from persons
who first went online in the earlier days of Usenet, and in
communities that date to Usenet's early days. Among the most
vehement communities are those in the Usenet comp.lang
hierarchy,.."
Well put!
Well, the second argument is. It's probably derived from our our wish for
well-structured data. And according to the other link given in this
conversation, I'm even more strict because I'm dutch :-)
About being from the early days on internet. Hardly. I got my first computer
in 1999, my first usage of newsgroups dates back to 2003. But I know either
buggy or lagging newsservers, so I know what a pain it is to decypher what
an original question was, and tend to accomodate other users who might not
have seen the earlier post, in the hope they'll do the same for me.
Grtz,
--
Rik Wasmus
Gary Hasler wrote:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
Was this a, "what's even worse than top-posting example"?
*plonk*
Brian
--
Please don't top-post. Your replies belong following or interspersed
with properly trimmed quotes. See the majority of other posts in the
newsgroup, or:
<http://www.caliburn.nl/topposting.html>
Default User wrote:
Gary Hasler wrote:
><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
Was this a, "what's even worse than top-posting example"?
*plonk*
Hmmz, didn't even realize that due to the fact HTML is completely ignored
here. There was a plaintext alternative I saw. I won't plonk just yet, but
it's a very, very bad habit to post HTML young man...
Grtz,
--
Rik Wasmus
Rik wrote:
>
it's a very, very bad habit to post HTML young man...
Oh, jeez, another "rule"...wonderful...this group is just a little too
anal for me (and who you calling young?)
I'm history.
Gary Hasler wrote:
Okay, I have to ask...why the "rule" against top posting? Personally I
VERY much prefer it. And where can I find these rules; is there a FAQ?
Rik wrote:
>Well, we'll forgive you if you promise to stop top-posting.
Try doing a search in the newsgroups, ala Google Group search, for
something. The thread becomes unreadable even tho your immediate
hedonistic tendency feels good at the time you top post.
Don't understands why new posters and some old ones do not understand
this. I guess you have to try to search for something to understand it.
I am new here in th php newsgroups. It seems to be a big problem here in
the PHP newsgroups. I am coming from the Java newsgroups where this is
not a big problem.
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________ ________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Gary Hasler wrote:
Okay, I have to ask...why the "rule" against top posting? Personally I
VERY much prefer it. And where can I find these rules; is there a FAQ?
Rik wrote:
>>Well, we'll forgive you if you promise to stop top-posting.
A. Because they don't know any better.
Q. Why do people do it?
A. Top posting.
Q. What's the most annoying thing on usenet?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attglobal.net
==================
IchBin wrote:
Gary Hasler wrote:
>Okay, I have to ask...why the "rule" against top posting? Personally I VERY much prefer it. And where can I find these rules; is there a FAQ?
Rik wrote:
>>Well, we'll forgive you if you promise to stop top-posting.
Try doing a search in the newsgroups, ala Google Group search, for
something. The thread becomes unreadable even tho your immediate
hedonistic tendency feels good at the time you top post.
Don't understands why new posters and some old ones do not understand
this. I guess you have to try to search for something to understand
it.
I am new here in th php newsgroups. It seems to be a big problem here
in the PHP newsgroups. I am coming from the Java newsgroups where
this is not a big problem.
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________ ________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
And yet you refuse to use a proper sig sepearator :P
Your sig wouldn;t be quoted here if you just used '-- '.
--
Rik Wasmus
Rik wrote:
IchBin wrote:
>Gary Hasler wrote:
>>Okay, I have to ask...why the "rule" against top posting? Personally I VERY much prefer it. And where can I find these rules; is there a FAQ?
Rik wrote:
Well, we'll forgive you if you promise to stop top-posting.
Try doing a search in the newsgroups, ala Google Group search, for something. The thread becomes unreadable even tho your immediate hedonistic tendency feels good at the time you top post.
Don't understands why new posters and some old ones do not understand this. I guess you have to try to search for something to understand it.
I am new here in th php newsgroups. It seems to be a big problem here in the PHP newsgroups. I am coming from the Java newsgroups where this is not a big problem.
Thanks in Advance... IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us _________________________________________________ _________________________
'If there is one, Knowledge is the "Fountain of Youth"' -William E. Taylor, Regular Guy (1952-)
And yet you refuse to use a proper sig sepearator :P
Your sig wouldn;t be quoted here if you just used '-- '.
I have not refused..because it was never brought to my attention in the
Java groups nor here as a problem.
Ok RIK.. you got me with my pants down...
--
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
IchBin wrote:
Rik wrote:
>And yet you refuse to use a proper sig sepearator :P Your sig wouldn;t be quoted here if you just used '-- '.
I have not refused..because it was never brought to my attention in
the
Java groups nor here as a problem.
Ok RIK.. you got me with my pants down...
See, we're not that bad. Allthough i thought about it, I've never nagged
about it untill a relevenat conversation :-).
Thanks BTW, makes quoting less work.
--
Rik Wasmus This discussion thread is closed Replies have been disabled for this discussion. Similar topics
5 posts
views
Thread by Zhang Weiwu |
last post: by
|
87 posts
views
Thread by CMAR |
last post: by
|
4 posts
views
Thread by Arthur Dent |
last post: by
|
12 posts
views
Thread by Nalaka |
last post: by
|
5 posts
views
Thread by Rob Roberts |
last post: by
|
8 posts
views
Thread by Fred Mertz |
last post: by
|
1 post
views
Thread by Tatyana |
last post: by
|
26 posts
views
Thread by webrod |
last post: by
| | | | | | | | | | | |