This is a discussion on change path to images to absolute reference within the osCMax v1.7 Installation forums, part of the osCMax v1.7 Forums category; My web host uses IIS. They do not permit file uploads to folders inside the main website folder. I can ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| My web host uses IIS. They do not permit file uploads to folders inside the main website folder. I can create a new folder on the same level as the main folder for my images, but I need a little help in modifying the code to display the images in the pages and to direct the upload to the folder. Any tips? |
|
#2
| ||||
| ||||
| Not sure what your saying - you can not have subfolders in subfolders? Where did you install OSC - where did you need to put the images. I have an IIS server and works fine. If you installed to www.mystore.com/catalog/ and want the images from www.mystore.com/images/ then change your configure.php file and change the define for images to "../images" do the same for upload/downloads. Better suggestion - get a Apache host.
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#3
| |||
| |||
| Ok - I have some of this figured out, so let me restate the situation: In IIS, my images are in a folder not inside the root web, but at the same level (ISP security stuff). The created a virutal directory for me called maximages. I made the apporpriate changes in the catalog/includes/configure.php, moved my images, etc. and that part works. In the admin, though, I've tracked my problem down to the DIR_FS_CATALOG_IMAGES variable. I keep getting an error that the folder for the images doesn't exist. I've tried putting the fully qualified path (d:/hosted web sites/my.id/site/maximages/), just "/maximages/", and just about any other combo I can think of, but I am still getting the error (with the missing folder error changing to reflect whatever I set the variable to). I guess if somebody can tell me how this var is used in the code, or where it is, I can figure out how I need to config that variable so it works. Thanks in advance! |
|
#4
| ||||
| ||||
| Have you tried 'maximages/' (not '/maximages/') or '../maximages/' ?
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#5
| |||
| |||
| there are 2 config.php files, one is in the includes and one is in includes admin |
|
#6
| |||
| |||
| Did you ever figure out this problem? I have the same "images directory does not exist". |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Path to images wrong after install | cwinter | osCommerce 2.2 Installation Help | 2 | 12-14-2004 06:37 AM |
| Images Path ... | arames | osCommerce 2.2 Modification Help | 7 | 06-24-2004 06:59 AM |
| Image path, where to change? | misterjonl | osCommerce 2.2 Modification Help | 2 | 10-08-2003 07:23 PM |
| How to change httpsdocs path to httpdocs, post installation? | dmilo | osCommerce 2.2 Installation Help | 12 | 04-22-2003 02:25 AM |
| Absolute vs. Relative Links in header.php | sheikyerbouti | osCommerce 2.2 Modification Help | 0 | 10-24-2002 10:38 AM |