473,468 Members | 1,329 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 2154
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
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.