Simon
|
| Posted: 01/18/2003, 4:40 PM |
|
I am using CCS to create a site at the moment. The site has an index of categorised html templates, applications and other things for people to download. I have an images directory and in this directory I have various sub-directories for the different pictures, i.e. I have one called templates for the templats, one called apps for the applications etc.
I have a small image shown on a list page and when clicked on two further images are shown on the info page.
At the moment I am creating the admin pages and would like some form of upload facility, preferably so I could select the three images and when the form is submitted they will be uploaded to the appropreate directory and the appropreate fields in the database are updated with the image location (ie. I have picture_url for the first and it would contain something like images/templates/1.gif). I would also like to be able to delete the files when the record is deleted from the database, in order to keep the server clean (that is not so important though as I will not be deleting records very often).
Ideally I would like to use ASP UPLOAD for this as I have the component installed, but I don't really know how to, I have tried to get the example upload project to work in CCS but cannot even import it successfully. Has anyone got a ccs project with an upload example I could look at, or help me out with this matter.
Thanks in advance
Simon
www.digitalblur.co.uk
|
|
|
 |
Simon
|
| Posted: 01/23/2003, 2:57 PM |
|
I have started to make a sort of way around this problem, but it is far from desierable, I have a link on the admin page to upload each picture using the example without use of a component. The problem with this is that the window has to be opened 3 times for each picture, a new page has to be created for each section (templates, applications etc) and I have to manually enter the urls of the images into the database.
Can anyone help me with an upload in CCS using ASP and preferably the ASPUpload component. It would be greatly appreciated.
Thanks
SW
|
|
|
 |
|