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 | 4363 views | 13 replies

MickW

Sorry - I wasn't clear..

Yes I tried "/cms/cms_images/" and "../cms/cms_images/".

This is where I am now.

The config.php file is amended at lines 124/5 as described.
(As an aside I don't think that having purchased the software I should have to be changing source code like this).
WA_Globals.php is: $WAGLOBAL_remoteRoot = "/cms/";

Setting $WAGLOBAL_Images_Folder = "../cms/cms_images/"
inserts "../" into page code and images don't display in IE (as described in previous).

Setting $WAGLOBAL_Images_Folder = "/cms/cms_images/"
inserts "//" into code and places images in "http://www.mysite.co.uk/cms/cms/cms_images/"
(the directory didn't exsist and was created automatically).

Setting $WAGLOBAL_Images_Folder = "cms/cms_images/"
appears to do the job in PCMS - the correct code (src="http://www.mysite.co.uk/cms/cms_images/image.jpg") is written however the file is actually located at "http://www.mysite.co.uk/cms/cms/cms_images/" on the server.
Now strangely the image displays correctly in Firefox but not in IE. The source code is as above but the image doesn't exsist at that location. If I copy the url from image properties in the browser and paste it into the address bar I get a page not found error (as I should).
Why is Firefox displaying an image correctly when the code points to the wrong location? (I cleared the cache).

My next move is to move the destination folder for the images out of the /cms/ directory and see what happens.

***Edit*** When I say 'appears to do it's job - the image appears in Image Properties when using Firefox, but in IE the image is not displayed - just the red 'x'.

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