Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 208
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 209
Total: 209

Author Topic: Broken image link  (Read 1081 times)

0 Members and 1 Guest are viewing this topic.

Offline Saftek

  • Jr. Member
  • **
  • Posts: 52
    • 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: 16452
    • 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

  • Jr. Member
  • **
  • Posts: 52
    • 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: 16452
    • 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

  • Jr. Member
  • **
  • Posts: 52
    • 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: 16452
    • 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

  • Jr. Member
  • **
  • Posts: 52
    • 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: 16452
    • 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

  • Jr. Member
  • **
  • Posts: 52
    • 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: 16452
    • 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

  • Jr. Member
  • **
  • Posts: 52
    • 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: 16452
    • 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

  • Jr. Member
  • **
  • Posts: 52
    • 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
6236 Views
Last post December 13, 2008, 02:48:37 pm
by djstew
3 Replies
4937 Views
Last post March 04, 2009, 07:28:19 am
by SMFHacks
11 Replies
6435 Views
Last post January 22, 2011, 09:51:01 am
by SMFHacks
3 Replies
2507 Views
Last post February 21, 2012, 07:52:20 am
by SMFHacks
8 Replies
7023 Views
Last post December 04, 2017, 09:41:20 pm
by Boomslanger

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal