473,545 Members | 2,715 Online
Bytes | Software Development & Data Engineering Community
+ 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>Administ ration</title>

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

</BODY>
</HTML>

Jul 20 '05 #1
5 2163
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>Administ ration</title>

</HEAD><BODY BGCOLOR="#FFFFF F" >
<img
src="photo.php? iL=100&iH=100&s File=/template256.jpg &cColor=0_0_0&s Sortie=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>Administ ration</title>

</HEAD><BODY BGCOLOR="#FFFFF F" >
<img
src="photo.php? iL=100&iH=100&s File=/template256.jpg &cColor=0_0_0&s Sortie=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=1 00&amp;sFile=te mplate256.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*****@xeviou s.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&s Sortie=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**********@ne ws-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>Administ ration</title>

</HEAD><BODY BGCOLOR="#FFFFF F" >
<img
src="photo.php? iL=100&iH=100&s File=/template256.jpg &cColor=0_0_0&s Sortie=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
13424
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 "static" picture in Crystal report, No "Dynamic" one. Can Crystal Report do that? Thanks in advance. Sam
0
1494
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. Sometimes it happens that the image does not appear (red cross instead) or that ie keeps loading for minutes. Opening that image in another browser...
5
4375
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' print 'Content-type: text/html' print print '<HTML><HEAD><TITLE>Python Dynamic Image Creation Test</TITLE></HEAD>'
3
2700
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 the fly, and still have the rollover work. I have taken the text off of the buttons, but cannot figure out how to do it with dynamic text using...
0
2769
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, TIFF, PNG, GIF, BMP, PCX and TGA) into a PDF document. Supports multi-image TIFFs and animated GIFs. You can add clickable image stamps (eg...
11
3028
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
2929
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 got the core of the javascript from here: http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm I noticed in the demo that sometimes the...
7
2362
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. Suppose I have a table,items in a database: itemid description count So, basically, I want to create an image that has 3 ovals,...
1
4645
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 ,another row will be created with the same control (I mean another dropdown and 2 button) and so on. and by pressing Remove button the selecetd row will be...
0
3477
by: MaryamSh | last post by:
Create Dynamic Dropdownlist Controls and related event -------------------------------------------------------------------------------- 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 ,another row...
0
7685
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7941
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7452
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6014
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5354
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3467
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1916
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1039
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.