GameTZ

Sign OnNon-Mobile

Weird image embed issue while logged out
29-Apr-24 7:30pm
#1
Foxhack
350 Trade Quintuple Gold Good Trader

https://gametz.com/G...

I pointed someone to this post and they said all the images were broken. So I used an incognito window... and they're all broken! All the images point to "https://gametz.com/G...

I thought the spoiler tag caused it, but I removed it and tried again, and all images are still broken. This doesn't affect me if I'm logged in. Not sure what's going on.
30-Apr-24 5:27am
#2
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Has Written 28 Reviews

Yeah, that's broken. Thanks for letting me know.

The code that does this is complicated and not something I can easily fix. But, I'll look into it.

Part of what is triggering the issue is that you're using the BBCode style image markup.
It has square brackets and w= and h= in it, if you're not sure what I mean (also, see below).
BBCode is an old standard and maybe you got it from another site that generated it for you.
It is generally supported here at GameTZ, but it's not what the internal format is here. So, that can trigger issues like this since it gets translated a couple times.

Anyway a workaround would be to use gtz's native image formatting. You can see it on: Emoticons and mark-up Help. Basically, it's the squiggly bracket img tags. You can just skip the width height numbers too since GTZ will fix those for you within an hour after you post (it will look up the width/height of the image and add the number. So, you just put the image URL between {img} tags.

Specifically, instead of this:

[img w=1600 h=1194]https://i.imgur.com/2VYnVTK.jpeg[/img]

do this:
{img}https://i.imgur.com/2VYnVTK.jpeg{img}
Or if you want to add the dimensions:
{img}https://i.imgur.com/2VYnVTK.jpeg 1600 1194{img}

I took the liberty of replacing the first image in your post to this format so you can see what I mean.

I'm not saying you did something wrong, just that GTZ works better in this case if you don't use BBCode markup. The BBCode should work and I will try to fix it but I'm unsure if I can or how long that will take.
30-Apr-24 7:44am
#3
Foxhack
350 Trade Quintuple Gold Good Trader

Oh no that's fine, I can use the site's code. I was just lazy and used the embed codes from Imgur. I'll replace the code when I can, thanks Bill.
12-May-24 6:28am
#4
bill
GameTZ Gold Subscriber GameTZ Full Moderator 600 Trade Quintuple Gold Good Trader Has Written 28 Reviews

I was able to fix this just now. The BBCode should work correctly now.

Weird image embed issue while logged out