473,320 Members | 1,845 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,320 software developers and data experts.

Pictures not displaying

Hi

I have a web page that displays properties for sale.

The web page links to a database.

The page shows information in the database and the path to the picture.

The code is
<p><img border="0" src="file:///D:/HousePics/<%response.write
rsData("id")%>.jpg" width="350" height="262"></p>

the rsData("id")% gives the name of the picture file and appends .jpg to it.

When I browse the page on the local machine the page displays ok and the
graphics show up ok.

When I browse to the page at work the grpahics don't show.

Permissions on the folder 'everyone full control', web sharing is enable
for the site

Thanks

Geoff
Jul 22 '05 #1
4 1452
"qqqq" <dd**@ddd.clc> wrote in message
news:el**************@TK2MSFTNGP11.phx.gbl...
Hi

I have a web page that displays properties for sale.

The web page links to a database.

The page shows information in the database and the path to the picture.

The code is
<p><img border="0" src="file:///D:/HousePics/<%response.write
rsData("id")%>.jpg" width="350" height="262"></p>

the rsData("id")% gives the name of the picture file and appends .jpg to it.
When I browse the page on the local machine the page displays ok and the
graphics show up ok.

When I browse to the page at work the grpahics don't show.

Permissions on the folder 'everyone full control', web sharing is enable
for the site

Thanks

Geoff


file:///D:/HousePics/ is a localpath.

Place the pictures in a folder named "HousePics" directly under the folder
that contains the page then change the "src=" to just "HousePics/".
Alternatively, you may be able to assign a virtual folder to reference the
current location of the pictures.
Jul 22 '05 #2
thannks thats dorted it

"McKirahan" <Ne**@McKirahan.com> wrote in message
news:38********************@comcast.com...
"qqqq" <dd**@ddd.clc> wrote in message
news:el**************@TK2MSFTNGP11.phx.gbl...
Hi

I have a web page that displays properties for sale.

The web page links to a database.

The page shows information in the database and the path to the picture.

The code is
<p><img border="0" src="file:///D:/HousePics/<%response.write
rsData("id")%>.jpg" width="350" height="262"></p>

the rsData("id")% gives the name of the picture file and appends .jpg to

it.

When I browse the page on the local machine the page displays ok and the
graphics show up ok.

When I browse to the page at work the grpahics don't show.

Permissions on the folder 'everyone full control', web sharing is enable for the site

Thanks

Geoff


file:///D:/HousePics/ is a localpath.

Place the pictures in a folder named "HousePics" directly under the folder
that contains the page then change the "src=" to just "HousePics/".
Alternatively, you may be able to assign a virtual folder to reference the
current location of the pictures.

Jul 22 '05 #3
qqqq wrote on 19 jan 2005 in microsoft.public.inetserver.asp.general:
<p><img border="0" src="file:///D:/HousePics/<%response.write
rsData("id")%>.jpg" width="350" height="262"></p>

the rsData("id")% gives the name of the picture file and appends .jpg
to it.

When I browse the page on the local machine the page displays ok and
the graphics show up ok.

When I browse to the page at work the grpahics don't show.

Do you have the same file on the pc on your work in it's http://localhost/?

AND

Do you have the same pictures on the pc on your work in a directory with
the same name [file:///D:/HousePics/]?

If not, you should use

<img border="0"
src="http://yourWebDomain.com/HousePics/<%=rsData("id")%>.jpg"


--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 22 '05 #4
Thanks Evertjan

THats got working as I wanted.
"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29...
qqqq wrote on 19 jan 2005 in microsoft.public.inetserver.asp.general:
<p><img border="0" src="file:///D:/HousePics/<%response.write
rsData("id")%>.jpg" width="350" height="262"></p>

the rsData("id")% gives the name of the picture file and appends .jpg
to it.

When I browse the page on the local machine the page displays ok and
the graphics show up ok.

When I browse to the page at work the grpahics don't show.

Do you have the same file on the pc on your work in it's

http://localhost/?
AND

Do you have the same pictures on the pc on your work in a directory with
the same name [file:///D:/HousePics/]?

If not, you should use

<img border="0"
src="http://yourWebDomain.com/HousePics/<%=rsData("id")%>.jpg"


--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 22 '05 #5

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

Similar topics

6
by: Nutshell | last post by:
Hi, I created a web page which contains table. I use table cells to display a picture using <img src>. The problem is that some pictures are not being fully displayed, only a quarter of the left...
3
by: David. E. Goble | last post by:
Hi all; I have this list of pictures; <script type="text/javascript"> var picssigs = new...
4
by: Dale Ring | last post by:
Access 2000 I am trying to print a report that only some of the records have pictures. When the report prints, I do not want a blank image control showing on the report. This project is a test...
12
by: Wadim Grasza | last post by:
I want to store and display (on a form or a report) multiple pictures per record in an access database. The pictures are not stored within the database. They are stored as files and the database...
13
by: gooze | last post by:
Hello I am working on an applicaion that shows several pictures on a webpage. These pictures are saved in a MySQL DB as BLOB. I noticed, that the web server suffers in its performance by...
9
by: Talal Itani | last post by:
Hello, This is the first time I use a database program. I am trying to build a product database. Each product will have an ID number, a description, and a photograph. I need the table to...
1
by: greatjuli | last post by:
Please can anyone help with a javascript code to display bigger pictures me.jpg, me2.jpg.... on the same page by clicking on their thumnails on the same page. I have done what i believe is the...
2
by: Tyler | last post by:
I need to have a form that displays a group of 20 pictures in 4 rows of 5 pictures. The pictures are of people. Each Subject record has a picture field. I have a query written that selets the...
4
by: redpears007 | last post by:
Hi Again, Throwing this one out to you again as i am not getting anywhere and can find little to no information out there. I am currently displaying images (Jpegs) in access via the routine...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.