Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 11803
Latest: VXP
New This Month: 2
New This Week: 0
New Today: 0
Stats
Total Posts: 41608
Total Topics: 7274
Most Online Today: 79
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 36
Total: 37

Author Topic: Broken image link  (Read 397 times)

0 Members and 1 Guest are viewing this topic.

Offline Saftek

  • Member
  • *
  • Posts: 36
    • View Profile
Broken image link
« on: August 23, 2021, 12:51:56 am »
The closelabel.gif etc is showing as a broken icon. Using 5.1.6 on 2.0.18. Images in the correct folder.

It appears the link url is incorrect. For example:  should be https://www.mysite.com/forum/classifieds/images  but shows  as https://www.mysite.com/classifieds/images

How can I correct.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15753
    • View Profile
Re: Broken image link
« Reply #1 on: August 23, 2021, 07:03:03 am »
That should have been fixed in the latest version.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Saftek

  • Member
  • *
  • Posts: 36
    • View Profile
Re: Broken image link
« Reply #2 on: August 23, 2021, 01:16:33 pm »
I applied the latest version before posting. I've been having problems with some installations so perhaps the "fixed" file(s) didn't install properly.

Which file(s) do I need to check?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15753
    • View Profile
Re: Broken image link
« Reply #3 on: August 23, 2021, 01:18:33 pm »
just replace the classifieds folder.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Saftek

  • Member
  • *
  • Posts: 36
    • View Profile
Re: Broken image link
« Reply #4 on: August 23, 2021, 01:53:49 pm »
Replaced the entire Classifieds folder, none of the actual product pictures would load. I reverted to the older classifieds folder.

I would uninstall and reinstall, but the uninstall throws a bunch of errors. I am reluctant to disregard these, since I have a bunch of other SMFHacks mods installed.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15753
    • View Profile
Re: Broken image link
« Reply #5 on: August 23, 2021, 02:03:28 pm »
I meant just uploaded on top. Your original classifieds folder has your pictures. You just need to load the files.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Saftek

  • Member
  • *
  • Posts: 36
    • View Profile
Re: Broken image link
« Reply #6 on: August 23, 2021, 02:12:13 pm »
LOL... should have known that! Unfortunately, it didn't fix the original problem.


Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15753
    • View Profile
Re: Broken image link
« Reply #7 on: August 23, 2021, 02:18:48 pm »
Might have to clear the cache for the new files to load/hard refresh
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Saftek

  • Member
  • *
  • Posts: 36
    • View Profile
Re: Broken image link
« Reply #8 on: August 23, 2021, 02:28:08 pm »
Did that. Also used different browser and selected graphics not previously accessed.

Still showing the missing "forum/" bit of the img src link.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15753
    • View Profile
Re: Broken image link
« Reply #9 on: August 23, 2021, 02:31:39 pm »
Check out and adjust this file and the line number

classifieds\js\lightbox.js line (66)
var fileLoadingImage = "/classifieds/images/loading.gif";
var fileBottomNavCloseImage = "/classifieds/images/closelabel.gif";
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Saftek

  • Member
  • *
  • Posts: 36
    • View Profile
Re: Broken image link
« Reply #10 on: August 23, 2021, 02:50:47 pm »
Okay, I changed the links by adding /forum and it appears to be working. Don't know why my system is different!

Cheers.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15753
    • View Profile
Re: Broken image link
« Reply #11 on: August 23, 2021, 03:02:33 pm »
Ah, because your forum is in a subdirectory
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/
Informative Informative x 1 View List

Offline Saftek

  • Member
  • *
  • Posts: 36
    • View Profile
Re: Broken image link
« Reply #12 on: August 23, 2021, 03:08:48 pm »
Ahh... yeah that has screwed me up before. When we moved that "invisible" public thing was the default and we left it that way.

Thanks.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
4970 Views
Last post December 13, 2008, 02:48:37 pm
by djstew
3 Replies
3448 Views
Last post March 04, 2009, 07:28:19 am
by SMFHacks
11 Replies
5242 Views
Last post January 22, 2011, 09:51:01 am
by SMFHacks
3 Replies
1845 Views
Last post February 21, 2012, 07:52:20 am
by SMFHacks
8 Replies
5383 Views
Last post December 04, 2017, 09:41:20 pm
by Boomslanger

+- Recent Topics

Thanks mod SMF 2.1 by Monocero
November 27, 2021, 01:13:01 pm

How to change the font on a photo in SMF Gallery Pro? by SMFHacks
November 18, 2021, 09:28:11 am

Bulk Upload Many Pictures - File Name by SMFHacks
November 17, 2021, 08:58:50 am

Schedule or direct download link by SMFHacks
November 16, 2021, 10:57:33 am

Download Expire by Vincent Volmer
November 16, 2021, 02:40:47 am

prettyurls - TroubleShooting.wiki by SMFHacks
November 14, 2021, 02:18:59 pm

Error With Delete Download by mickjav
November 10, 2021, 04:49:12 pm

No ads on left or right by coyote
November 08, 2021, 04:57:13 pm

Now accepting Cryptocurrency by SMFHacks
November 05, 2021, 05:33:27 pm

Latest Version Pretty Urls SEO Pro by SMFHacks
November 04, 2021, 03:46:53 pm

Powered by EzPortal