Results 1 to 6 of 6

change path to images to absolute reference

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

      
  1. #1
    Lurker
    Join Date
    Dec 2003
    Posts
    1
    Rep Power
    0


    Default change path to images to absolute reference

    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. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    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 - To contact, post on the forum or click here
    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. #3
    Anonymous
    Guest


    Default

    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. #4
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    Have you tried 'maximages/' (not '/maximages/') or '../maximages/' ?
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    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. #5
    Anonymous
    Guest


    Default

    there are 2 config.php files, one is in the includes and one is in includes admin

  6. #6
    Anonymous
    Guest


    Default

    Did you ever figure out this problem? I have the same "images directory does not exist".

Similar Threads

  1. Path to images wrong after install
    By cwinter in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 12-14-2004, 06:37 AM
  2. Images Path ...
    By arames in forum osCommerce 2.2 Modification Help
    Replies: 7
    Last Post: 06-24-2004, 07:59 AM
  3. Image path, where to change?
    By misterjonl in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 10-08-2003, 08:23 PM
  4. How to change httpsdocs path to httpdocs, post installation?
    By dmilo in forum osCommerce 2.2 Installation Help
    Replies: 12
    Last Post: 04-22-2003, 03:25 AM
  5. Absolute vs. Relative Links in header.php
    By sheikyerbouti in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 10-24-2002, 11:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •