Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 191
Total: 191

Author Topic: Broken image link  (Read 1061 times)

0 Members and 1 Guest are viewing this topic.

Offline Saftek

  • Community Suite Customer
  • 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: 16436
    • 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

  • Community Suite Customer
  • 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: 16436
    • 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

  • Community Suite Customer
  • 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: 16436
    • 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

  • Community Suite Customer
  • 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: 16436
    • 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

  • Community Suite Customer
  • 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: 16436
    • 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

  • Community Suite Customer
  • 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: 16436
    • 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

  • Community Suite Customer
  • 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
6215 Views
Last post December 13, 2008, 02:48:37 pm
by djstew
3 Replies
4909 Views
Last post March 04, 2009, 07:28:19 am
by SMFHacks
11 Replies
6406 Views
Last post January 22, 2011, 09:51:01 am
by SMFHacks
3 Replies
2492 Views
Last post February 21, 2012, 07:52:20 am
by SMFHacks
8 Replies
6986 Views
Last post December 04, 2017, 09:41:20 pm
by Boomslanger

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

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

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal