RE: How can I add sub-directories in the images folder???

iiinetworks <[email protected]> 5 Sep 2003 23:29:41 -0000
Newsgroups gmane.comp.web.oscommerce.features
Message-ID <91a52cd78505c235d035edad4f7e836c@osCommerce-Forums>
This message was sent from: Features
http://forums.oscommerce.com/viewtopic.php?p=224985#224985
----------------------------------------------------------------

[quote="azer"]yes but can t we make a modification in the code of the admin where u give the path of the image so that it will automaticully moved to another directory like catalog/images/categories or products depending of what we are adding ?[/quote]I thought of doing this, but to do it right, I would want to be able to browse to it (which would require a decent amount of coding to get right, since there is no server side version of a FILE box).  However, if you just want to add a text box, that shouldn't be too hard.  You would want to use the ->set_destination function on your upload object with the contents of the new text field.

Btw, someone posted that they got the wiki method working with MS2.  Not sure if there was anything special about their situation.

Hth,
Matt