View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

image path

Thread began 6/29/2009 3:21 pm by roby258376 | Last modified 7/29/2009 5:43 am by roby258376 | 4346 views | 13 replies

MickW

A little closer

I've got a little closer. This is the reply I got from support (nice and quick as well)...

The image upload path is a concatination of the $WAGLOBAL_Root_URL + $WAGLOBAL_Images_Folder

So if the root:
$WAGLOBAL_Root_URL = "http://www.mydomain.com/"

and thye image folder:
$WAGLOBAL_Images_Folder = "images/"

The full path will be:
images/

Most likely in the WA_Globals.php file, you have the root URL set to the root of your domain, not the root of the CMS Files as it should be.
So I changed
$WAGLOBAL_Root_URL = "http://www.mysite.co.uk/"
to
$WAGLOBAL_Root_URL = "http://www.mysite.co.uk/cms/"

Now this worked - I just assumed that "//Absolute path to your site folder." meant the absolute path to the site folder not the absolute path to the cms files folder if the cms files aren't in the root of the site. :rolleyes:

Using 'Browse Server' now uploads to to "http://www.mysite.co.uk/cms/cms_images/" and places the correct URL in the code. :)

HOWEVER if I try to upload using the 'Upload' tag in Image Properties with the same settings the file is placed in a different place (""http://www.mysite.co.uk/cms/"") and although it appears in the editor it doesn't show in the Resouces Browser. :(

So the task now is to get images uploaded to the same place whichever method is used.

Just to be clear this is my WA_Globals file (config.php is still unmodified)
php:
<?php
  $WAGLOBAL_Root_URL 
"http://www.mysite.co.uk/cms/" ;  //Absolute path to your site folder.
  
$WAGLOBAL_Site_Name "Admin" ;

  
$WAGLOBAL_localRoot  "/cms/"//relative path to your PowerCMS files on your local testing server.
  
$WAGLOBAL_remoteRoot "/cms/"//relative path to your PowerCMS files on your remote server.

  //iRite Images upload settings
  
$WAGLOBAL_Images_Folder "cms_images/";  //relative path to your images folder.
  
$WAGLOBAL_Swf_Folder    "cms_swf/";    //relative path to your swf folder.

  // Admin Settings
  
$WAGLOBAL_Admin_UserName "*****" ;
  
$WAGLOBAL_Admin_Password "*****" ;
?>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...