Welcome! Log In Create A New Profile

Advanced

Help-My WebDev page images won't display.

Posted by Brian 
Brian
Help-My WebDev page images won't display.
December 15, 2009 10:45PM
Hello all,

Need help. My WebDev page/s will not display any images.

I have (I think) the correct virtual directory created in IIs pointing to the dir with my images, but no go.

The page comes up fine but no images. When looking at the properties of the image with the red X on it it says not found.

Any and all suggestions welcomed.

Cheers

Brian Holmes
Brian
Re: Help-My WebDev page images won't display.
December 15, 2009 10:46PM
Hi,

Forgot to mention I am using WebDev 14 latest build (30)

Cheers

Brian Holmes
Brian
Re: Help-My WebDev page images won't display.
December 15, 2009 10:59PM
Hi,

One other quick update. The image properties states "Image not available" instead of not found. Sorry about that.

Thanks, this is my last hurtle to over come and then I can deploy my first WebDev site.

Cheers

Brian Holmes
Glenn Rathke
Re: Help-My WebDev page images won't display.
December 15, 2009 11:02PM
Hi,

If you view the source for the page in the browser (look at all the html code that makes up the page) find the code for the image. Where is it pointing to ?
Brian
Re: Help-My WebDev page images won't display.
December 16, 2009 02:03PM
Hi and thanks for the help.

Its pointing to the correct location as this is the dir with the graphics images in it.
<img src=/MySite_WEB_TEST_WEB/keys_max.gif

Physical loaction on the harddrive is C:\MySite_TEST\MySite_WEB_TEST_WEB

When checking the properties of an image (X'd out) it says its "Not Accessable" ?

and the address URL of the image (in properties) is:

[localhost]

Help.

Brian
Chris
Re: Help-My WebDev page images won't display.
December 16, 2009 03:22PM
Let me caveat by saying I've never used WebDev (or WinDev) in my life, so take this with a grain of salt, but, I notice that you may possible have a case sensitivity problem:

MySite_WEB_TEST_WEB versus
MySite_Web_TEST_WEB

Again, not sure if WebDev is case sensitive, but in the J2EE world you run into these issues.

Best
Chris
Brian
Re: Help-My WebDev page images won't display.
December 16, 2009 04:31PM
Nope not it.

The strange thing is I think I had it working with WebDev 12. But now with WebDev 14 no images and I did a setup from scratch.

I think I only need 2 virtual directories created for IIs:

One for the web site and one for WD140AWP.

Ugggg.

Brian
Fabrice Harari.pcs.crosspost
Re: Help-My WebDev page images won't display.
December 16, 2009 04:36PM
Hi Brian...

it's kind of hard without being able to see everything on the server,
but that looks a lot like a virtual directory problem (not pointing to
the correct level is generally the problem)

As your path is relative to your web site main directory, I think that
the translation URL/Physical web site directory is incorrect in the
virtual directory, and therefore all relative paths used for images fail

best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

More information on [www.fabriceharari.com]


Brian wrote:
> Hi and thanks for the help.
> Its pointing to the correct location as this is the dir with the graphics images in it.
>
>
Message forwarded from pcsoft.us.windev
Brian
Re: Help-My WebDev page images won't display.
December 16, 2009 04:53PM
Hi Fabrice,

I have a virtual dir set to the sub dir MyApp_Web where the graphics are located with all rights to read, execute etc.

Do I have to do anything else. The page comes up in this case the groupware login page but no graphics.

I thought I had this working fine in 12 but my memory is going these days <g>

Cheers

Brian
Arie
Re: Help-My WebDev page images won't display.
December 16, 2009 07:42PM
Whenever I have this problem (images not shown) I need to set a absolute physical path for the virtual map, somewhere in IIS.

The setup always changes this path in a relative one. Say you have a virtual map /WEB_TEST_WEB
Then change the Physical map i.e: \programs\mywebsites\WEB_TEST_WEB
to
D:\programs\mywebsites\WEB_TEST_WEB
or whatever your drive/path is.
Brian
Re: Help-My WebDev page images won't display.
December 16, 2009 07:55PM
OH you the man!

Added C:\ to the physical path and zhazam it worked.

What was baffling was I had it working in WebDev 12 then spent time upgrading to 14. I do not think I had to set an absolute physical path for the virtual map in 12.

Thanks again!

Cheers

Brian
Brian
Re: Help-My WebDev page images won't display.
December 16, 2009 08:43PM
may have spoke too soon.

That worked on my Windows 7 Ultimate machine but when I tried it on a Windows XP IIs 5 box same problem.

Brian
Brian
Re: Help-My WebDev page images won't display.
December 16, 2009 09:47PM
Quick update.

I am starting to think its an application server problem.

I purchased the full blowen unlimited app server and was using it. And I was getting the problems mentioned.

When I downloaded the app server which is limited to 10 users things started working.

This is for a Webdev 14 latest ver (30) app.

Still testing.

Brian
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: