7 | Posts |
UPDATE - SOLVED
I solved the problem - of course it was user error :). I changed the .htaccess file following the instructions on the wiki and now it works.
********************************
hi there!
have tried to get a template up and going... but i can't get the logo to launch on a live server. i see it fine on my local server (xampp).
if anyone has the time and energy to tell me what's going wrong, the site is http://icrchod.net/khomas/index.php/
the code to call the image that i have used is:
<?php $folder = './themes/'.$page->theme_name.'/images/'; ?> <img class="thumbnail" src="<?php echo $folder; ?>new_logo.png" width="422" height="200" alt="Logo" id="logo" /> <?php gpOutput::Get('Extra','Header'); ?>
i've checked - the .png exists... any help would be welcome :)
448 | Posts |
13.7K | Downloads |
2 | Themes |
8 | Plugins |
remove index.php from url
http://icrchod.net/khomas/
OR remove trailing slash
http://icrchod.net/khomas/index.php
and it looks fine, I think. . . but then again I don't know where all the images are supposed to be.
The URL shouldn't have a / at the end. Nonetheless, if you want to have a slash at the end of the URL without breaking images make sure the relative path to all images has NO periods at the beginning.
Example: ../data/_uploaded/ = /data/_uploaded/
You have ./themes/
Try /themes/
However you are using php to call the image so I'm not sure about the paths. I know to include a php file you need ./
But I think you are just outputting a relative path to the image so you don't need the period at the beginning.
I do know that relative paths for images that have ../data/_uploaded/
Will break when a trailing slash is added to the URL but /data/_uploaded/ will not break.
A new release for Typesetter is in the works with a lot of improvements including the ... Read More
Typesetter 5.1Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More
More NewsFind out more about our Provider Spotlight
What CMS: Find out what CMS a site is using.
Who Hosts This: Find out who is hosting any web site
WordPress Theme Detect: Find out which theme a WordPress site is using