- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Highlight
- Report Inappropriate Content
re my earlier message
I am trying to get small images to open a new window with a larger version.
using the URL http://www.derekgardiner.co.uk/ESW/images/filename.jpg works for some images but not for others - can anyone shed some light on this please ?
Derek
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Highlight
- Report Inappropriate Content
Hi Derek, can you give us links for both a working and non working example and I'll take a look at the code.
It's likely to be either a relative path error or a typo.
Typo's are the most likely problem, URL's are CaSe senSitive...
so:
http://www.derekgardiner.co.uk/ESW/Images/P1010980.jpg will throw a 404 file not found
http://www.derekgardiner.co.uk/ESW/Images/P1010980.JPG will work as expected
Path Errors: there are two ways of describing where a file resides on a server, Absolute & Relative.
Absolute is the full Internet address eg: http://www.derekgardiner.co.uk/ESW/Images/P1010980.JPG
Relative, is like saying 2nd star to the right and carry on till morning. Where you end up depends on where you start.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Highlight
- Report Inappropriate Content
Hi anyone,
I am still having trouble with this. I upload the large image into the library. Supply the correct url (it works with some of the images) but when I click on the webpage image I get file not found on the server. Yet for other images this approach works fine. Anyone know what is going on?
Derek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Highlight
- Report Inappropriate Content
Hi Derek, can you give us links for both a working and non working example and I'll take a look at the code.
It's likely to be either a relative path error or a typo.
Typo's are the most likely problem, URL's are CaSe senSitive...
so:
http://www.derekgardiner.co.uk/ESW/Images/P1010980.jpg will throw a 404 file not found
http://www.derekgardiner.co.uk/ESW/Images/P1010980.JPG will work as expected
Path Errors: there are two ways of describing where a file resides on a server, Absolute & Relative.
Absolute is the full Internet address eg: http://www.derekgardiner.co.uk/ESW/Images/P1010980.JPG
Relative, is like saying 2nd star to the right and carry on till morning. Where you end up depends on where you start.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Highlight
- Report Inappropriate Content
Hi,
Thanks for that it was a case sensitive issue. For some reason the library had stored the image as xxxx.JPG and not xxxx.jpg
Derek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Highlight
- Report Inappropriate Content
Give us a shout anytime, the learning curve is steep and we all needed some help when starting out.
PS:
My wife has your site bookmarked with great interest she's been re-discovering her lost childhood passion for stargazing since I bought her a smallish telescope for her birthday last year and loves the DIY observatory you built.
