473,748 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Ridding the image red cross

36 New Member
Hi Guys

Can anyone help me with this one?

Basically I am using the following script to pull in a url from a field called "Picturelin k" in my databse table:

----------script-------------
response.write "<table>"
response.write "<tr><td width=131 width=40 background=main blankpic.gif><i mg height=65 src=" & picturelink & " width=88 border=0></td</tr>"
response.write "</table>"
---------end------------

The "picturelin k" field simply contains a url which points to an image on my web server. However, sometimes the url in the "picturelin k" field, which point to the images, are incorrect and therefore I get one of those red crosses where the image should be.

I have used the following script to get around this type of problem before but I am unable to incorporate it into the above script.

<IMG Src="mysite/images/noimagethere.jp g" style="display: none;" onLoad="this.st yle.display='in line';">

Has anyone got any ideas how I can stop the red cross from appearing when there are no images present or even perhaps have a better solution?

Any help would be fully appreciated

best regards

Rod from the UK
Sep 18 '07 #1
1 1088
rjoseph
36 New Member
Hi Guys

I finally managed to suss it.

Thanks anyway

Rod from the UK
Sep 19 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
13977
by: Gianpiero Colagiacomo | last post by:
Hi, I'm trying to use the following code (found online - can't remember where) to validate images being uploaded to my server: function checkImageUpload (fileName) { if (document.layers && location.protocol.toLowerCase() != 'file:' && navigator.javaEnabled()){ netscape.security.PrivilegeManager.enablePrivilege('UniversalFileRead'); }
15
31808
by: Anand Ganesh | last post by:
HI All, I have an Image. I want to clip a portion of it and copy to another image. How to do this? I know the bounding rectangle to clip. Any suggestions please. Thanks for your time and help. Regards
9
1108
by: EricJ | last post by:
hi all the situation there is a picbox w a drawing, if the user clicks somewhere on the drawing a cross is added where he clicked (the cross is a pic in a new picture box), he can add as many crosses as he wants and if he clicks on a cross it is removed again. the positions of the crosses are saved in an sql server. this is all working like a charm. the problem
1
3152
by: Dan | last post by:
Hi, I was wondering if anyone could come up with a cross browser image transition that I could use... I have already made one that works in IE but i know it doesn't work in Mozilla Firefox. Below is the script I have made, there is only one error with it (besides compatabilty), the fact that you can make the images transition even when there is already a transition occuring, I have tried to compensate for this, but it doesn't work......
3
3245
by: BB | last post by:
Hi, I am using repeater control.in my aspx page. one of the column of control displays images. Filenames of images are stored in table. Now when I run it and if display Image is blank. I see place holder and red cross in it in Internet Explorer. But it works fine in FireFox. Is there any way to fix this so that in both browers I can see same ie hide placeholder and red cross? I have tried to use alternatetext property for image control. ...
1
7781
by: swetha | last post by:
HI, I am very new to C++.Using C++ I am reading one bitmap image.Now,I am trying to zooming that image.Can any one tell me which function have to use for this.Or can any one send some sample code regarding this zooming a bitmap image. Hope any one will give reply as soon as possible. Regards, swetha.
1
2479
by: saikris | last post by:
I have a requirement in which I need to check some files and provide the report on UI. And I would like to design this in such a way that on Windows form it displays all file names and then it starts checking one after other. If it meets criteria, Green tick image would come after filename, otherwise Red Cross image. I can do file check but how can I display either Green Tick or Red Cross image based on result. Is there any...
16
2980
by: Stevo | last post by:
I'm guessing this is a laughably obvious answer to many here, but it's not to me (and I don't have a server or any knowledge of PHP to be able to try it). It's not strictly a PHP question, but something that PHP guys would know the answer to. I can't think of a more appropriate forum to try. I've heard the ASP and JSP guys aren't as friendly ;-) Let's say we have a HTML page from domain example.com, and that HTML page makes a request to...
2
2173
by: Ben | last post by:
Hi, i defined an imagebutton like this: <asp:ImageButton ID="ImageButton1" runat="server" /> Sometimes, the picture must be shown, sometimes not. I did this in code-behind: Dim x As Integer x = 4
0
8982
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8822
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9309
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8235
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6072
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4591
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4863
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3298
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
2
2774
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.