Print Page | Close Window

Same image path - Different dirs

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=16076
Printed Date: 13 April 2026 at 7:32pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Same image path - Different dirs
Posted By: neitakk
Subject: Same image path - Different dirs
Date Posted: 03 August 2005 at 6:49pm
I have a forum under the path wwwroot/forum/
I've tried to make a light version of the forum, and have placed a modified forum in the path wwwroot/light/
Both forum apps are reading data from the same db.
There is only one problem... I want user postet images to appear in both normal and light forum.

E.g:
An image that is placed here: wwwroot/forum/uploads/neitakk/image01.jpg, don't appear in the light forum, because the address now is wwwroot/light/uploads/image01.jpg.



Replies:
Posted By: theSCIENTIST
Date Posted: 04 August 2005 at 1:43am
You can get that to work is one of two ways;

1. You create a new dir [wwwroot/uploads/] and change the code in your two forums to go fetch from this dir, you may use ../ to back up the directory structure (needs parent paths enabled in the server) or use a absolute URL [domain.ext/uploads/] to get the images.

2. You don't do any of that, and simple use the uploads from one of your forums instance, say you use the [wwwroot/forum/uploads/] then you need to change the code in your [light] version to go fetch the other location, again you can back dir with ../ or use absolute URLs.

-------------
:: http://www.mylittlehost.com/ - www.mylittlehost.com


Posted By: dpyers
Date Posted: 04 August 2005 at 2:18am
Did you set the upload path in the admin panel?

-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: neitakk
Date Posted: 04 August 2005 at 7:25am
Hi!
I figured it out before this thread was accepted by the admins. But thanks for the replies...
The solution was to change the upload path in admin menu from "uploads" to "../forum/uploads".



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