Topic Closed
maxworks67
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 :)

Edited: 12 years ago#810

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

12 years ago#811

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Ennetb├╝rgen (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Websi...

Find out more about our Provider Spotlight

Log In

  Register