Print Page | Close Window

image upload into subfolders

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=27042
Printed Date: 29 March 2026 at 9:21am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: image upload into subfolders
Posted By: qosai
Subject: image upload into subfolders
Date Posted: 26 February 2009 at 10:06pm

I have created subfolders inside /my_pictures/

something like
my_pictures/2009-01
my_pictures/2009-02
my_pictures/2009-03
my_pictures/2009-04
etc...
 
when trying to upload a picture into a sub folder, it uploads to the parent folder /my_pictures/ instead of the sub folder which I chose
 
is it possible to add into the java script of RTE_popup_image.asp a variable to be returned to main function which adds the new subfolder path to the parent folder ?
 
thanks
 



Replies:
Posted By: WebWiz-Bruce
Date Posted: 27 February 2009 at 9:32am
You could try using session variables to pass around the upload path.

Try editing the RTE_setup.asp file and chnage the following:-


Const strImageUploadPath = "my_documents\my_pictures"


To:-

DIM strImageUploadPath
strImageUploadPath = Session("sessionPath") & "my_documents\my_pictures"


Change the part in red to the name of your session variable.


-------------
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



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