To avoid these ads, REGISTER NOW!

M self-hosted images don't display

hoyt

Well-known member
Joined
Jul 6, 2006
Messages
438
Location
Virginia Beach
My self-hosted images don't display

I self-host a number of images found in
https://www.garagejournal.com/forum/showthread.php?t=186124

While a direct link copied from those pages shows the photos, they don't show up embedded in the page.

And example image tag is
OmwHvOml.jpg
(I've added a space so the tag will display here) which does not display in the first page of my journal, but the direct link will display in a browser if you click on it. http://tidewatertriumphs.org/gj/OmwHvOml.jpg[

What is going wrong?
 
Last edited:
To avoid these ads, REGISTER NOW!
OP
H

hoyt

Well-known member
Joined
Jul 6, 2006
Messages
438
Location
Virginia Beach
OmwHvOml.jpg


Could be the way you also set the links as above worked for me and you will see I edited your post as you had a gap > [im g] when it should be .[/QUOTE]

I added that gap so the tags would display. Without it, nothing displays. I wanted to show the tags.

All of the images I have hosted on GJ display fine. The problem is images that i ost on my own server. sometimes they display in my journal, most of the time they do not. When contained within the GJ image tags, they do not display and it see "404 not found" message in my webserver logs, but if I copy/paste the actual URl that's withing the IMG tags, the mages display. I'm guessing that your IMG tags re-write the url in a way that corrupts the URL.
 

Git

Well-known member
Joined
May 18, 2008
Messages
6,894
Location
S Cal
First of all, you should consider turning on the feature (I can't remember what it is called at the moment) that prevents somone from browsing all the pics in your gj folder - unless you don't care

It looks like they are displaying just fine to me - here are the first four. Just click on the yellow icon with what looks like a mountain, and paste in the address

you should see 4 pics below:

0DQqVPYl.jpg


1LK3ryUl.jpg


2Avk4Mil.jpg


2E7iWcS.jpg
 

Git

Well-known member
Joined
May 18, 2008
Messages
6,894
Location
S Cal
No, what I am thinking of does just doesn't let someone browse the entire folder structure. If you have the exact name of the file, anyone can still access that file, you just won't be able to look and see what else is on that server.

It depends on the web host, some have a feature - but an easy way to do manually, is to just create a text file with just 'Options -Indexes' inside, rename the file to '.htaccess' and then upload that file to the webserver folder.

It's not a big deal, basically a personal preference - some people may have files that they don't want the world to see and this is one way to help prevent it

http://tidewatertriumphs.org/gj
 
OP
H

hoyt

Well-known member
Joined
Jul 6, 2006
Messages
438
Location
Virginia Beach
I don't care to turn it off. All the images in that directory are just the ones intended for Garage Journal.

However, everything started to be visible again. No idea why.
 
OP
H

hoyt

Well-known member
Joined
Jul 6, 2006
Messages
438
Location
Virginia Beach
UPDATE Re: My self-hosted images don't display

And once again, they do not display through the Garage Journal page, but if I copy and paste the image links into another browser window, they are visible.

My webserver logs show the images as being served when I access them directly, but not when the GJ page is accessed.

So I suspect something is going wrong with how the GJ pages are being processed on your end.
 

ChaseDE

Well-known member
Joined
Aug 25, 2016
Messages
2,178
Location
Delaware
Just FYI with the tag confusion. You can use the [noparse]whatever tags you want to show[/noparse] tag to show your example, like so

[IMG]http://tidewatertriumphs.org/gj/OmwHvOml.jpg[/IMG]

test of the proper tag

OmwHvOml.jpg



fwiw all the images show up for me :headscrat
 
OP
H

hoyt

Well-known member
Joined
Jul 6, 2006
Messages
438
Location
Virginia Beach
Thanks for that advice on .

But . . . the images are now displayed in my journal. Nothing has changed on my end. SMH
 
To avoid these ads, REGISTER NOW!
OP
H

hoyt

Well-known member
Joined
Jul 6, 2006
Messages
438
Location
Virginia Beach
Yes, I can see the pic when I click the link. But if I try to insert the link as an image it does not show.

Yes, that tells me that it's not on my end (serving the image), but on GJ's end incorporating it into their page.

Why are they not fixing this?
 
OP
H

hoyt

Well-known member
Joined
Jul 6, 2006
Messages
438
Location
Virginia Beach
Still working!

No idea what got fixed. I assume it was an inadvertent misconfiguration of the Vbulletin software.
 
OP
H

hoyt

Well-known member
Joined
Jul 6, 2006
Messages
438
Location
Virginia Beach
I'm self hosting, so I know the images are available. As I've pointed out before, when enclosed in
tags in the forum, often the images are not displayed in the forum, but if the image url is entered into the browser, the image display in the browser. Therefore, the server is working, the forum is not. Also, the server does not change its settings or operation, but the images come and go in the forum but are always visible in a browser window. How can that be a server problem?
 

RSr

Well-known member
Joined
Jul 20, 2010
Messages
155
Location
Pittsburgh, PA
This could be caused by your web-browser refusing to display mixed mode content. When you are logged into garagejournal it forces a https encrypted connection when browsing but the images you linked to on your site are specified on a non-encrypted http connection. I know chrome started blocking mixed content by default, I'm not sure about other browsers. If you click on the lock next the garagejournal url, and go to site settings, find the Insecure Content item and see if its set to block. If you unblock it and refresh your thread and the images load then that's probably the problem.

I believe chrome will automatically attempt to get an image specified as http using the same URL but with the https prefix. If you got a SSL certificate bound to your webserver, that probably would fix the image problem for everyone without you having to update any links in your posts.

I know this is an old thread and I'm not sure if this was your exact issue but this thread came up when I was googling for problems seeing my own images on GJ and mixed content was my issue so I wanted to post this up for anyone else having similar issues.
 
Last edited:
To avoid these ads, REGISTER NOW!
Top Bottom