Previous Thread
Next Thread
Print Thread
Hop To
Joined: Feb 2004
Posts: 138
T
member
member
T Offline
Joined: Feb 2004
Posts: 138
All,

I got spider friendly URLs working, but now images on the banner or on the left side of the page are all appearing as broken images. Any ideas?

TR

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
what version are you using?

Joined: Feb 2004
Posts: 138
T
member
member
T Offline
Joined: Feb 2004
Posts: 138
7.2.2

The images show on the homepage (one in the banner and two on the left). But when you go to any page beyond that, they show a red X.

TR

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
link to your forum? sorry if you posted a link elsewhere, but for this thread, consider me a n00b in not knowing that info smile

Joined: Feb 2004
Posts: 138
T
member
member
T Offline
Joined: Feb 2004
Posts: 138

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
looks like you are using relative urls.

just change those image links to fully qualified links and you should be good to go.

ie: don't have img src="/images/blabla.jpg" but instead img src="http://muhaha.com/doh/images/blabla.jpg"

Joined: Feb 2004
Posts: 138
T
member
member
T Offline
Joined: Feb 2004
Posts: 138
AH - that did it!! Thanks!!!!!!

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Glad to be of service wink

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Just to explain why this was a problem...

When using Spider Friendly URLs, all URLs are remapped to use "virtual directories" which are parsed through ubbthreads.php. Now when you have images locally linked (without your full URL) the web browser sees them as being within this rewritten path, and they can be loaded with the path. By changing it to use a full path, they load based on what you define is their proper location.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 764 guests, and 261 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)