Print Page | Close Window

Images losing their link

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=21182
Printed Date: 09 April 2026 at 3:17am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Images losing their link
Posted By: balearicjobs
Subject: Images losing their link
Date Posted: 31 August 2006 at 1:46pm
Hi all
 
Quick question, has anybody had this problem?
 
I upload an image to my server via the upload feature in WWF, it does this sucessfully and adds the file to the correct directory (confirmed using FTP) and the preview looks correct, when I click OK the image browser window closes as you would expect and the image is displayed in the post. Now if I click Post New Topic the screen refreshes to show the orginal thread with the image in my new post - perfect.
 
Now the weird bit, I hit the refresh button on my browser, the thread refreshes, the text is fine, however the image is now not shown, just a image dead link symbol (the little white box with red cross). If I edit the post, and go back to the image browser, and manually reselect the image from the list on the left and click OK, the image is now displayed as it was before, I am able to update the post and if I click refresh the image stays without any further problem.
 
Has anybody else had this and if so, how did you solve it?
 
A few specifics;
 
I'm using 8.03 Access on Jodo Host, and I am uploading using ASPSmartUpload.


-------------
Thanks for your help!!!
Kind Regards
Rob,
http://www.balearic-jobs.com" rel="nofollow - Balearic Jobs
Helping young people find seasonal work in the Balearic Islands, including vacancie



Replies:
Posted By: WebWiz-Bruce
Date Posted: 31 August 2006 at 3:29pm
If you right click and look at the path to the dead image link does it look correct?

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: balearicjobs
Date Posted: 31 August 2006 at 3:50pm
This is what the link looks like if I add an image stright from upload;
 
http://www.balearic-jobs.com/asp/mb/uploads/temp/20060831_083005_MaudeFlanders1.jpg - http://www.balearic-jobs.com/asp/mb/uploads/temp/20060831_083005_MaudeFlanders1.jpg
 
this is how it looks if I manually refind the image (using the method above)
 
http://www.balearic-jobs.com/asp/mb/uploads/20060831_083005_MaudeFlanders1.jpg - http://www.balearic-jobs.com/asp/mb/uploads/20060831_083005_MaudeFlanders1.jpg
 
It would seem it's not getting rid of the "temp" directory.
 
Thanks for your help Borg.


-------------
Thanks for your help!!!
Kind Regards
Rob,
http://www.balearic-jobs.com" rel="nofollow - Balearic Jobs
Helping young people find seasonal work in the Balearic Islands, including vacancie


Posted By: WebWiz-Bruce
Date Posted: 31 August 2006 at 7:28pm
It could be a corrupted file, so first try reuploading the files again and see if that solves the problem.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: balearicjobs
Date Posted: 31 August 2006 at 8:29pm
No, unfortunetly not, I have done that (using a freshly downloaded from webwiz.net version) and no differnence.

And same problem with Persits AspUpload.


Posted By: balearicjobs
Date Posted: 31 August 2006 at 10:34pm
hmmm... I installed a completly fresh version of the forum in another directory using a fresh database oppose to the active message board and the upload function works perfectly well on there.

Do you have any ideas to were this problem may be lying Borg - as I say, I have uploaded a completly fresh version of the forum but when I use it with my existing forum database it has this image upload problem, when I use a brand new access database it doesn't.

Also another small problem this has thrown up, I didn't realise that installing a second forum (in order to test) would cause my serial number for my registered WWF to stop working, now I have advertising on my main board. If I go to the admin panel and click "remove adverts" it simply says "Thank you for registering" - any ideas?

Thanks again for your help!


-------------
Thanks for your help!!!
Kind Regards
Rob,
http://www.balearic-jobs.com" rel="nofollow - Balearic Jobs
Helping young people find seasonal work in the Balearic Islands, including vacancie


Posted By: WebWiz-Bruce
Date Posted: 01 September 2006 at 8:30am
This is very odd behaviour and I can't think of an explanation for this so I will need to do some testing to see if I can find a solution for the next version.

As to your second problem, for performance reasons some database queries are cached in the web servers memory which can mean if you run multiple copies of web wiz forums on the same web site they can interfere with each other.

To prevent this edit in notepad the file 'includes/setup_options.asp' and give each of your forums a different application variable prefix.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: balearicjobs
Date Posted: 01 September 2006 at 8:41am
Thanks for your help Borg. I will disable this function of my forum until a time when you can get it fixed.
 
BTW, I don't see it reported as a problem elsewere, however a friend of mine who uses your hosting packages ( http://www.driverscanteen.co.uk - www.driverscanteen.co.uk ) is having exactly the same problem.
 
I've sorted the registration problem now, thanks.


-------------
Thanks for your help!!!
Kind Regards
Rob,
http://www.balearic-jobs.com" rel="nofollow - Balearic Jobs
Helping young people find seasonal work in the Balearic Islands, including vacancie


Posted By: WebWiz-Bruce
Date Posted: 02 September 2006 at 9:15am
I've bene looking into this and it could be an issue with the file upload path you enter in the admin area with / or \ in it. Try experimenting with the upload path and see if that fixes if. If you find that it is a / or \ which is coursing the problem please let me know.

Also could you tell me what the upload path you have at present in the admin area?


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: balearicjobs
Date Posted: 05 September 2006 at 4:40pm
Originally posted by -boRg- -boRg- wrote:

I've bene looking into this and it could be an issue with the file upload path you enter in the admin area with / or \ in it. Try experimenting with the upload path and see if that fixes if. If you find that it is a / or \ which is coursing the problem please let me know.

Also could you tell me what the upload path you have at present in the admin area?
 
Hi Borg, thank you for your suggestions
 
I have tried the following. I deleted the upload directory and recreated it, no effect. I changed the / to \ and no effect. I created a directory located in the same folder as my forum (so it did not require / or \) and used a different name and still no effect on the problem. It just isn't get rid of the temp directory. Confused
 
I would be happy to give you FTP and administrative access to the forum if it would assist you in finding the problem.
 
I appreciate your help.


Posted By: WebWiz-Bruce
Date Posted: 05 September 2006 at 5:17pm
Try using the original sub directory from the folder and enter

upload

with no / or \ as I believe that it is to many \ or / that is coursing the issue.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: balearicjobs
Date Posted: 06 September 2006 at 8:46am
I've tried that already unfortunetly, same problem
 
../uploads/temp/20060906_033945_MaudeFlanders1.jpg
 
^ Link looks the same no matter if you use / or \ in the Image and File Upload Config screen in the admin panel
 
The problem is the same if I use Persits AspUpload, Dundas or aspSmartUpload (the only three I have available)
 
I'm at a loss. Do you have any theroys or further options I can follow up on?  It's frustrating as I have always used image upload without any problems and its a very popular feature of my forums, so I'm worried the removal of it will effect the popularity of my site.


-------------
Thanks for your help!!!
Kind Regards
Rob,
http://www.balearic-jobs.com" rel="nofollow - Balearic Jobs
Helping young people find seasonal work in the Balearic Islands, including vacancie


Posted By: WebWiz-Bruce
Date Posted: 06 September 2006 at 11:23am
The problem here looks like you are using a folder above the forums root using ../ this can course issues like you mention especially in IE which will re-write the path to the image, because of this the forums code doesn't know what to detect to update the path as IE will alter the path to a setting that is unique to every forum.

If you use a sub folder of the forum for the upload folder without any ../ it should solve the issue


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: balearicjobs
Date Posted: 06 September 2006 at 11:35am
The directory structure now reads (in the image properties popup window) - /uploads
 
My forum is installed into the following directory stucture... http://www.balearic-jobs.com/asp/mb - www.balearic-jobs.com/asp/mb and the upload folder is here http://www.balearic-jobs.com/asp/mb/uploads - www.balearic-jobs.com/asp/mb/uploads
 
Unfortunetly the result is the same; uploads/temp/20060906_063252_MaudeFlanders1.jpg
 
Strangely it would seem avatar uploading is working with no problems.
 
Sigh... I appreciate your efforts Borg.


Posted By: WebWiz-Bruce
Date Posted: 06 September 2006 at 11:37am
It needs to read 'uploads' no / and be a sub folder folder the main forum folder.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: balearicjobs
Date Posted: 06 September 2006 at 11:39am
Originally posted by -boRg- -boRg- wrote:

It needs to read 'uploads' no / and be a sub folder folder the main forum folder.
 
If I put "uploads" in the upload admin screen it automatically puts the / in front in the Image Properties screen.
 
If I put /uploads in the admin screen it lists it as //uploads in the image properties screen.
 
 


-------------
Thanks for your help!!!
Kind Regards
Rob,
http://www.balearic-jobs.com" rel="nofollow - Balearic Jobs
Helping young people find seasonal work in the Balearic Islands, including vacancie


Posted By: WebWiz-Bruce
Date Posted: 06 September 2006 at 1:05pm
It automatically puts in the / in front of the folder name, so you need to put in 'uploads' only, placing / in front or using a non sub folder will course issues like you mention.

The default is 'uploads' and you should leave it at that.

Future versions will have the ability to change the upload folder path removed to prevent these issues.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: balearicjobs
Date Posted: 06 September 2006 at 1:46pm
Originally posted by -boRg- -boRg- wrote:

you need to put in 'uploads' only
 
I've just posted a pic again and despite having the temp folder in the path in the image properties window, when posted it does now keep the pic in the right place.
 
Thanks for your help Borg.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net