Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 06-14-2007, 02:09 PM Image error
Experienced Talker

Posts: 37
Trades: 0
Some help please guys not 100% sure what is wrong i have check what i can out still cant find the problem.

www.xenogaming.com if you look at the logo banner thing at the top with sonic there. That fine no issues.

but if you clcik here

http://www.xenogaming.com/game/1341.html

Then the image does not work i have looked at each proties for each image and there both located in the same please.

Any Help for be Great Cheers Anthony
weasel is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-14-2007, 02:22 PM Re: Image error
Average Talker

Posts: 25
Name: Jason R
Trades: 0
The path to sonic.gif is relative
plugins/site/themes/default/img/sonic.gif

for the second link php thinks your path is /game/ so it is looking for sonic.gif in
/game/plugins/site/themes/default/img/sonic.gif

make the path relative:
/plugins/site/themes/default/img/sonic.gif

and it will work.

-JasonR
__________________

Please login or register to view this content. Registration is FREE
- 15,000+ new domaina names a day starting at $5.

Please login or register to view this content. Registration is FREE
- Personal Site/Script Portfolio
JasonR is offline
Reply With Quote
View Public Profile Visit JasonR's homepage!
 
Old 06-14-2007, 02:38 PM Re: Image error
Experienced Talker

Posts: 37
Trades: 0
But thin is i dont have a folder called game so how can i do this cheers Anthony
weasel is offline
Reply With Quote
View Public Profile
 
Old 06-14-2007, 04:19 PM Re: Image error
solomongaby's Avatar
Webmaster Talker

Latest Blog Post:
How Do You Find Music Online ?
Posts: 522
Name: Gabe Solomon
Location: Romania
Trades: 1
the solution was already given to you by Jason :
Quote:
make the path relative:
/plugins/site/themes/default/img/sonic.gif
so just edit the template and put a simple / in the path
__________________
If you like my posts ... TK is appreciated:)

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
solomongaby is offline
Reply With Quote
View Public Profile Visit solomongaby's homepage!
 
Old 06-14-2007, 09:15 PM Re: Image error
Average Talker

Posts: 25
Name: Jason R
Trades: 0
Quote:
Originally Posted by weasel View Post
But thin is i dont have a folder called game so how can i do this cheers Anthony
The .htaccess file is doing a rewrite for /game/ and converting it to a .php? request.. But.. The browser witch was trying to interpret the pathing didn't know about it so it was appending /game/ to the path.

If you make the path a fixed (not Relative path) in the template all will be fixed.

-Jason
__________________

Please login or register to view this content. Registration is FREE
- 15,000+ new domaina names a day starting at $5.

Please login or register to view this content. Registration is FREE
- Personal Site/Script Portfolio
JasonR is offline
Reply With Quote
View Public Profile Visit JasonR's homepage!
 
Reply     « Reply to Image error
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20948 seconds with 12 queries