Sidebar

startup_tutorial_and_checklist:feature_configuration:file_upload:server_path_to_uploaded_images

Server Path to Uploaded Images

When your clients upload an image to your site it must be put somewhere so your browsing clients can view them. This configuration tells the software where to put those images on your site. As we cannot know the specific directory path on your server it must be discovered at installation or corrected later manually if that path changes.

<tip c n>Whichever path you use in these settings you must have the correct rights set on the upload directory so the software has the ability to write to that directory.</tip>

This setting is very important. If this is not set properly, you will not be able to upload and view photos within the listings on your site. Instead, the site will error out during the uploading of photos when placing the listing. This page generally concerns the two settings appear in this admin tool page:

LISTING SETUP > FILE UPLOAD & DISPLAY SETTINGS

and are shown in the screenshot below:

server_path_to_images1.jpg

Those fields should contain the directory name of where the images are uploaded within the software. This by default is:

user_images/

But you can change that to any you like. But if you change it you must ftp into your site and change the default "user_images" directory to that name. The second settings should contain the full installation path to the root of the Geo software installation PLUS the first setting at the end. But do note the software does try to give you the installation path it has discovered within the screenshot below:

server_path_to_images2.jpg

Within that screenshot you'll see:

  1. The installation path the software divines from your php environment variables. This is actually the path to the root directory of your Geo installation if installed at the root of your domain.
  2. This is the name of the directory the user uploaded images are saved to when a client uploads them. By default this is "user_images/".
  3. You combine the above two together to get the value for this field. This is the ultimate directory those user uploaded images will be saved to. You take the value from 1 above and add 2 to it. You take the result and put it in 3.

In most cases, the correct path to the directory for your specific server will display in 1 of the above screenshot. However, in some very rare cases the path will not display correctly or not at all. If the divined path DOES display, copy and paste that path into the field to the right. Sometimes this path is incomplete. Sometimes it's just wrong. But that path is the only one we have to go on without contacting the host directly. If you have not installed the Geo software within the root directory of your domain you may need to add the directory name you installed to to the value in 1 above to include it in front of the directory name.

As an example, let’s say we installed the program in an "listings" folder that we created in our root directory. This is what we would have:

Path to the root directory: /www/geodesicsolutions/ (from 1 above)
Folder: listings/
Images Folder: user_images/ (from 2 above)

So, in our example, the complete path we would enter into the field is:

/www/geodesicsolutions/listings/user_images/

Another way to check for the proper path is to log in and go through the "listing" process. When you get to the upload image page, try to upload an image, and click the "enter image information" button. If the directory path you entered into this field is incorrect you should get a message saying there was an issue and the image was not uploaded.

A second issue that may cause image upload issues is that rights to put an image in the user images directory does not allow the software to do that.

Regardless of the situation, if you are unable to find the correct path, you will need to contact your host to determine the 'server path to root'. Again, our software attempts to detect it for you, but if it cannot, you should contact your host, as this is a server specific issue.

startup_tutorial_and_checklist/feature_configuration/file_upload/server_path_to_uploaded_images.txt · Last modified: 2016/07/26 18:47 by geojames