Home | Products | Consulting | Hosting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Need help with Image Source Problem

 

 


gbengston
New User

Apr 25, 2008, 12:49 PM

Post #1 of 3 (177 views)
Shortcut
Need help with Image Source Problem Can't Post

We have just started to test out the CMS tool and noticed that on the page view page our image source location is incorrectly changing whereas it is fine on the list view page.

For example, our logo is correctly being called up from it's usual location at "images/logo_GKB_Solutions.gif" on the list view page. But, when you click to the page view page, something in the CMS code is changing our image location to "newsPage.php/images/logo_GKB_Solutions.gif".

Here are the two test pages:
http://www.gkbsolutions.com/newsList.php
http://www.gkbsolutions.com/newsPage.php/Another_sample_article-3 (or you can just click on any of the links on the newslist page).

We'd rather not hard code our image sources in our page templates. I'm sure there is something that we did wrong in the setup that is causing this. Once we figure this out we should be fine integrating this great CMS tool into our new website.


Dave
Staff / Moderator


Apr 25, 2008, 3:08 PM

Post #2 of 3 (172 views)
Shortcut
Re: [gbengston] Need help with Image Source Problem [In reply to] Can't Post

Hi gbengston, welcome to the forums! :)

Try disabling the SEO urls option like this: $options['useSeoUrls'] = '0';

Because the SEO urls use slashes it's as if that page was in a subdirectory so relative urls won't work. You'd have to use absolute urls from the root like this: /images/logo_GKB_Solutions.gif

Turning off SEO urls will generate urls like this and show your image just fine:
http://www.gkbsolutions.com/newsPage.php?Another_sample_article-3

Hope that helps! Let me know if you need more detail about any of that or if you have any other questions.

Dave Edis - Senior Developer
interactivetools.com


gbengston
New User

Apr 25, 2008, 4:18 PM

Post #3 of 3 (168 views)
Shortcut
Re: [Dave] Need help with Image Source Problem [In reply to] Can't Post

Thank you, simply adding the "/" in front of the "images/logo.gif" fixed everything while still keeping the seo urls.

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Hosting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4