Attachments Disappearing.

Furinkazen

Sim Racing Organiser
Premium
44,184
United Kingdom
Blackburn
Furinkazen_54
Had this problem on one of my threads this morning, and has also appeared here. Images being replaced with:
upload_2014-8-12_17-42-20.png


The view attachment button takes you to a "You do do not have permission" action. I had to fix my thread this morning, but obviously it isn't isolated.

@V8-Johnboy @Gedi69
https://www.gtplanet.net/forum/threads/bst-revolution-series-9-rd-4-fuji-f-18th-august.301256/
 
I noticed this happened with the ToCA11 thread too but the attachments can be accessed.

And T10. Seems no link in how old or new they are - some attachments I put up other day went as well.
 
I'm experimenting with some things that have changed the way the ATTACH bbcode can be used. For now, you won't be able to use the code to reference attachments that have been uploaded to other messages.

You can re-upload the attachments to the post you want them to be in. You can also still embed attached images to other posts by referencing their direct URL inside the image tag, as you would with any other image.
 
I'm experimenting with some things that have changed the way the ATTACH bbcode can be used. For now, you won't be able to use the code to reference attachments that have been uploaded to other messages.

You can re-upload the attachments to the post you want them to be in. You can also still embed attached images to other posts by referencing their direct URL inside the image tag, as you would with any other image.

Cheers. Will old attachments return? These are not permanently deleted are they? I have tables and standings for instance in now locked threads.

@Ninners @V8-Johnboy @Gedi69 btw :) ^^^
 
No, they're all still there. You don't see them in their original post?
 
None of those broken images appear to have been uploaded directly to those post. You've used the ATTACH bbcode to reference them in the other posts, which is what doesn't work.

You can ensure they continue to work by simply wrapping the IMG tag with the following URL around the attachment IDs. For example, to display the images in the first post you referenced there:

Code:
[img]https://www.gtplanet.net/forum/attachments/195112/[/img]
[img]https://www.gtplanet.net/forum/attachments/195113/[/img]
[img]https://www.gtplanet.net/forum/attachments/195115/[/img]

195112

195113

195115
 
Last edited:
Thank you :)
None of those broken images appear to have been uploaded directly to those post. You've used the ATTACH bbcode to reference them in the other posts, which is what doesn't work.

You can ensure they continue to work by simply wrapping the IMG tag with the following URL around the attachment IDs. For example, to display the images in the first post you referenced there:

Code:
[img]https://www.gtplanet.net/forum/attachments/195112/[/img]
[img]https://www.gtplanet.net/forum/attachments/195113/[/img]
[img]https://www.gtplanet.net/forum/attachments/195115/[/img]

195112

195113

195115
 
Not sure if this is related, but if you're trying different things on the backend, maybe it has led to this?

I'm trying to display a png with the img tags

Code:
[IMG]http://dl.dropboxusercontent.com/u/46246500/eventGT6_030_reg.png[/IMG]

But as you can see, it just shows a generic icon indicating a problem loading the image. While I'm typing this up the preview of the image looks fine, but when I save it or preview it the image changes to the red X.

eventGT6_030_reg.png
 
@Jordan, even after changing to using https, while the image shows it doesn't appear to be picking up the latest changes to the images. Almost as if GTP has cached the image using its URL and every reference to that image gets the cached copy. But pasting that same address into a browser sees the updated image (notice the datestamp on that pic you fixed for me...it's been updated every 15min since then).
 
Correct, that's exactly what's happening (it caches the image for 7 days). Changing the file name should trigger the download of the new version.

To answer your other question, yes, there's a 95% chance things will be staying like this, so I would recommend changing any old links that you find broken.
 
Last edited:
Hmm, that presents some challenges for us. :indiff: I thought in the previous version of GTP there was a way to reference images to make it bypass the cached version, it sounds like that's not possible?
 
It's not possible with this image caching, no (short of changing the file name). I understand the problem though and there may be some workarounds for this type of situation...I'll look into it.

Is Dropbox the only image host you guys are using?
 
It's not possible with this image caching, no (short of changing the file name). I understand the problem though and there may be some workarounds for this type of situation...I'll look into it.

Is Dropbox the only image host you guys are using?
Yes, I believe so. Thanks for your time on this. :bowdown:
 
@Jordan, even after changing to using https, while the image shows it doesn't appear to be picking up the latest changes to the images. Almost as if GTP has cached the image using its URL and every reference to that image gets the cached copy. But pasting that same address into a browser sees the updated image (notice the datestamp on that pic you fixed for me...it's been updated every 15min since then).

Hmm, that presents some challenges for us. :indiff: I thought in the previous version of GTP there was a way to reference images to make it bypass the cached version, it sounds like that's not possible?

Sorry again for bumping, but was hit by this too, with the image in this post, a diagram image from a google spreadsheet here:

https://www.gtplanet.net/forum/thre...ches-sports-cars.293390/page-71#post-10385183

The spreadsheet and diagram should contain a new row with GTP name "testo", but seems to be lost in caching for 7 days.
Any possibility to disable caching for google docs?

Thanks in advance! :bowdown:
 
No, you'll have to link directly to the image, offsite.
 
Ok.

But maybe it's possible to add the interactive version of the diagram link as media format someday?

Here is a link:

https://docs.google.com/spreadsheet...ooM/pubchart?oid=717242305&format=interactive

EDIT: here is how google says it should be embedded in HTML:

HTML:
<iframe width="679" height="218" seamless frameborder="0" scrolling="no" src="https://docs.google.com/spreadsheets/d/16GOSwyyrBphpEkQu6Kt_AXGvJY6Hh-J2OSK-IOFSooM/pubchart?oid=717242305&amp;format=interactive"></iframe>

Thanks!
 
Last edited:
Back