473,218 Members | 1,808 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,218 software developers and data experts.

no dynamic IMAGE ?

Hello, i ve a little problem for validate my web site because i ve a dynamic
image.
And the w3c platform test don't like my image :(

il someone have a idea for this problem

i've just a img src but the src is a dynamic php file called. So i need to
send somes information for good process.

what s wrong ?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<title>Administration</title>

</HEAD><BODY BGCOLOR="#FFFFFF" >
<img
src="photo.php?iL=100&iH=100&sFile=/template256.jpg&cColor=0_0_0&sSortie=ecr
an&iCompress=80&sShrink=no" name='imgvisu' width=100 height=100 alt=''>

</BODY>
</HTML>

Jul 20 '05 #1
5 2144
URL?
Jul 20 '05 #2
"Manu" <ma**@cyklades.com> wrote in message
news:bh**********@news-reader2.wanadoo.fr...
Hello, i ve a little problem for validate my web site because i ve a dynamic image.
And the w3c platform test don't like my image :(

il someone have a idea for this problem

i've just a img src but the src is a dynamic php file called. So i need to
send somes information for good process.

what s wrong ?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<title>Administration</title>

</HEAD><BODY BGCOLOR="#FFFFFF" >
<img
src="photo.php?iL=100&iH=100&sFile=/template256.jpg&cColor=0_0_0&sSortie=ecr an&iCompress=80&sShrink=no" name='imgvisu' width=100 height=100 alt=''>

</BODY>
</HTML>


The validator says:
Line 9, column 22: cannot generate system identifier for general entity "iH"
Line 9, column 29: cannot generate system identifier for general entity
"sFile"
Line 9, column 52: cannot generate system identifier for general entity
"cColor"
Line 9, column 65: cannot generate system identifier for general entity
"sSortie"
Line 10, column 3: cannot generate system identifier for general entity
"iCompress"
Line 10, column 16: cannot generate system identifier for general entity
"sShrink"

It is looking at &iH=100, and thinks that is an entity (like &nbsp;)
Solution: escape each of your ampersands (replace with &amp;)

Jul 20 '05 #3


Manu wrote:
Hello, i ve a little problem for validate my web site because i ve a dynamic
image.
And the w3c platform test don't like my image :(

il someone have a idea for this problem

i've just a img src but the src is a dynamic php file called. So i need to
send somes information for good process.

what s wrong ?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<title>Administration</title>

</HEAD><BODY BGCOLOR="#FFFFFF" >
<img
src="photo.php?iL=100&iH=100&sFile=/template256.jpg&cColor=0_0_0&sSortie=ecr
an&iCompress=80&sShrink=no" name='imgvisu' width=100 height=100 alt=''>


I guess you need
<img src="photo.php?iL=100&amp;iH=100&amp;sFile=templat e256.jpg
and so on, that is replace & in the query string with &amp;

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #4
On Fri, 08 Aug 2003 13:53:03 -0500, "Shawn K. Quinn"
<sk*****@xevious.kicks-ass.net> wrote:
Manu wrote:
Hello, i ve a little problem for validate my web site because i ve a
dynamic image.
And the w3c platform test don't like my image :(

[...]
what s wrong ?


Holy cow patties, what *isn't* wrong?


A slight over-reaction here, I feel.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


This is wrong. New documents should be using HTML 4.01 Strict.


Generally a good idea, but not where a lot of visitors are still using
NN4 (e.g. some academic environments). And anyway the OP didn't say it
was a new document.

<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


This is wrong. You shouldn't need it. You should reconfigure the server to
send this header instead.


No, it's not wrong. Getting the server to send the headers is
undoubtedly the preferred method, but this line is not wrong. What if,
for example, an author wishes to do off-line validation?
<img

src="photo.php?iL=100&iH=100&sFile=/template256.jpg&cColor=0_0_0&sSortie=ecr
an&iCompress=80&sShrink=no" name='imgvisu' width=100 height=100 alt=''>


This is wrong. There are no entities named &ih, &sFile, etc. The ampersand
is properly represented in HTML by "&amp;" as "&" by itself is reserved to
indicate the start of entities.


Finally I agree with you. ;-)

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #5
OK ! thank you ! every body s !
go to w3c certification :)
"Manu" <ma**@cyklades.com> a écrit dans le message news:
bh**********@news-reader2.wanadoo.fr...
Hello, i ve a little problem for validate my web site because i ve a dynamic image.
And the w3c platform test don't like my image :(

il someone have a idea for this problem

i've just a img src but the src is a dynamic php file called. So i need to
send somes information for good process.

what s wrong ?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<title>Administration</title>

</HEAD><BODY BGCOLOR="#FFFFFF" >
<img
src="photo.php?iL=100&iH=100&sFile=/template256.jpg&cColor=0_0_0&sSortie=ecr an&iCompress=80&sShrink=no" name='imgvisu' width=100 height=100 alt=''>

</BODY>
</HTML>

Jul 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Sam | last post by:
Hello everyone, I have a table, which contains a picture column, I put URL info into it. "www.myweb.com/1.jpg..." I want to show this picture in my crystal report, I find some samples show the...
0
by: Michael Huhn | last post by:
I have a web page default.aspx and a dynamic image image.aspx. Image gets parameters via querystring and outputs a gif. Using JavaScript I reload the image with changed parameters quite often....
5
by: Tompa | last post by:
Hi, I would like to create images on the fly as a response to an http request. I can do this with PIL like this (file create_gif.py): from PIL import Image, ImageDraw print 'Status: 200 OK'...
3
by: JOSEPHINE ALVAREZ | last post by:
I have this code that I want to use to do a rollover. However, because the company I am doing it for is continually changing the text, I want to be able to use dynamic text to change the text on...
0
by: UtilityWarrior | last post by:
If you use Visual Basic 6 or VB.net and want to create PDFs from images royalty free then this DLL is for you. The Image to PDF Dynamic Link Library (DLL) will convert one or more images (JPEG,...
11
by: toton | last post by:
Hi, I have little confusion about static memory allocation & dynamic allocation for a cluss member. I have class like class Bar{ public: explicit Bar(){ cout<<"bar default"<<endl; }
9
by: pbd22 | last post by:
Hi. This is just a disaster management question. I am using XMLHTTP for the dynamic loading of content in a very crucial area of my web site. Same as an IFrame, but using XMLHTTP and a DIV. I...
7
by: dino d. | last post by:
Hi- I want to create a dynamic image with areas so that when the user clicks different areas, the user jumps to those pages. The problem is, I can't seem to figure out how to do this efficiently....
1
by: MaryamSh | last post by:
Hi, I am creating a Dynamic Search in my application. I create a user control and in Page_load event I create a dynamic dropdownlist and 2 dynamic button (Add,Remove) By pressing Add button...
0
by: MaryamSh | last post by:
Create Dynamic Dropdownlist Controls and related event -------------------------------------------------------------------------------- Hi, I am creating a Dynamic Search in my application. I...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.