This topic is locked

Document Download not working

6/17/2005 8:15:13 AM
ASPRunnerPro General questions
C
chris124 author

I have an error when trying to open a image from a hyperlink, the error message is as follows:

Microsoft Internet Explorer

Internet Explorer cannot download...[Location]='Sutton+Coldfield' from ....choicepropertyservices.co.uk
Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later.


Well I know this site is available because I'm accessing it right now.
What I've got is a list.asp page that the user can select a property with the intent to purchase, the user can choose many criteria including location, price etc.
When the user has selected their choice the results are displayed on the list.asp page, the information on this page includes many textual info plus a small thumbnail picture.
The user now has the option to view any of the selected properties and the details of the property selected are shown on the view.asp page, this page contains further textual information and quite a few more thumbnail picture, next to each of these pictures is a link to a larger picture, it's when a user click on one of these links that they get the error message.
The links were setup using your article 'How to generate thumbnail pictures with link to larger image with ASPRunner'. I've modified it so that the links appear only on the view.asp page.
My database has a field for the thumbnail image, which is sized when it get put into the .asp page, the field just contains the file name, I've used 'Document Download' and specified that the image is contained in the folder 'Images', this works fine. My database also has a field for the Large Image and is setup the same way but doesnt have the re-sizing element. Both database image names and file paths are the same (they both call the same image it's just that thumbnail re-sizes the image and the Large Image doesnt).
Further info that might be helpful:
The file path of the image according to my browser source code is:

http://smartchoicepropertyservices.co.uk/P...on+Coldfield%27


I can see the field name LImage (correct), the Location - Sutton Coldfield (I'm not sure)
I believe the file path should be something like http://smartchoicepropertyservices.co.uk/images/[imageName]
I'm sorry that this is such a long question but I'm finding it hard to explain my problem, I hope you can help <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=1530&image=1&table=forumtopics' class='bbc_emoticon' alt=':(' />

admin 6/20/2005

Hi,
you need to setView as type for thumbnail field as File-based image. Click on Change...and enter the path to Images folder /Images/ in the URL prefix textbox.