Can't upload images
- robcat2075
- Posts: 1867
- Joined: Sep 03, 2018
In a recent post I tried to attach JPGs of only a few hundred k but the result is always
"Could not upload attachment to ./files/3697_434acf564ea2d00da6e93b21a20d36a2."
"Could not upload attachment to ./files/3697_434acf564ea2d00da6e93b21a20d36a2."
- BGuttman
- Posts: 7368
- Joined: Mar 22, 2018
This seems to be a recurrent problem recently.
I suspect that we have exceeded our image storage space. I'll bet most of the problem is pictures attached to sale ads that are no longer current. I don't know if deleting these topics will remove the images and free up space -- I couldn't find any mention of this on the PHPBBS Web site.
I suspect we will need Matt K to do some research. If it turns out that removing the old threads will clear some image space I'll be happy to do it. It's time consuming, but I have a fair amount of time on my hands (a multiple delete option would be nice ;) ).
I suspect that we have exceeded our image storage space. I'll bet most of the problem is pictures attached to sale ads that are no longer current. I don't know if deleting these topics will remove the images and free up space -- I couldn't find any mention of this on the PHPBBS Web site.
I suspect we will need Matt K to do some research. If it turns out that removing the old threads will clear some image space I'll be happy to do it. It's time consuming, but I have a fair amount of time on my hands (a multiple delete option would be nice ;) ).
- robcat2075
- Posts: 1867
- Joined: Sep 03, 2018
OK...a temporary work-around for someone who needs to put an image in a post is to put the image in an "album" on a site like Facebook.
Set the album visibility to "only me" or some similar private setting.
Then RMB on an image and do "copy image link"
Paste that link between some img tags in your post.
Set the album visibility to "only me" or some similar private setting.
Then RMB on an image and do "copy image link"
Paste that link between some img tags in your post.
- BGuttman
- Posts: 7368
- Joined: Mar 22, 2018
I think your album has to be public or else there will be errors.
The incantation is:
Here is an example. Use the Quote reply to see what I did:

The incantation is:

Here is an example. Use the Quote reply to see what I did:
- robcat2075
- Posts: 1867
- Joined: Sep 03, 2018
[quote="BGuttman"]I think your album has to be public or else there will be errors.[/quote]
Can you see the images in this post?...
[url]<LINK_TEXT text="https://www.trombonechat.com/viewtopic. ... 16#p273116">https://www.trombonechat.com/viewtopic.php?p=273116#p273116</LINK_TEXT>
Can you see the images in this post?...
- BGuttman
- Posts: 7368
- Joined: Mar 22, 2018
[quote="robcat2075"]<QUOTE author="BGuttman" post_id="273120" time="1744618737" user_id="53">
I think your album has to be public or else there will be errors.[/quote]
Can you see the images in this post?...
[url]<LINK_TEXT text="https://www.trombonechat.com/viewtopic. ... 16#p273116">https://www.trombonechat.com/viewtopic.php?p=273116#p273116</LINK_TEXT>
</QUOTE>
Yes.
I think your album has to be public or else there will be errors.[/quote]
Can you see the images in this post?...
</QUOTE>
Yes.
- AtomicClock
- Posts: 1094
- Joined: Oct 19, 2023
Bruce, did you delete old pictures? Uploads were working for a little while, but seem to have stalled again; consistent with a little bit of space being recovered.
- robcat2075
- Posts: 1867
- Joined: Sep 03, 2018
Any likelihood that this will get resolved? Is it a money problem, like a higher tier of service must be obtained?
My tactic of posting an image link from some other platform seems not to be 100% effective.
It works except when it doesn't.
My tactic of posting an image link from some other platform seems not to be 100% effective.
It works except when it doesn't.
- Richard3rd
- Posts: 77
- Joined: Dec 12, 2020

There was a recent thread on another site saying the same thing. I copy the photo on Flickr and paste it here and there you are. It worked there and here.
- BGuttman
- Posts: 7368
- Joined: Mar 22, 2018
I removed all Classified Instrument postings from the first half of 2018. See if you can load some new images now. If this helps I'll remove more Classified ads that are very old.
- AtomicClock
- Posts: 1094
- Joined: Oct 19, 2023
Now that Matt K. is fixing everything in sight, I assume this isn't a problem any more. But maybe there are new guidelines that should be written? Maybe I shouldn't upload as many images as I want, all in full resolution? Do we need to start exercising more image discipline?
- Posaunus
- Posts: 5018
- Joined: Mar 23, 2018
[quote="AtomicClock"]... maybe there are new guidelines that should be written? Maybe I shouldn't upload as many images as I want, all in full resolution? Do we need to start exercising more image discipline?[/quote]
To save storage (and perhaps postpone future outages), I strongly recommend "resizing" your images (fewer pixels) before you post them on TC. [The typical smart phone camera takes photos at much higher resolution than necessary for on-line viewing. My image resizer takes my original photos from 3,000-4,000kb to ~300-400kb - and the resolution is still excellent for the purpose.]
To save storage (and perhaps postpone future outages), I strongly recommend "resizing" your images (fewer pixels) before you post them on TC. [The typical smart phone camera takes photos at much higher resolution than necessary for on-line viewing. My image resizer takes my original photos from 3,000-4,000kb to ~300-400kb - and the resolution is still excellent for the purpose.]
- Matt_K
- Posts: 4809
- Joined: Mar 21, 2018
The reason images disappeared was a goof I made when migrating the underlying storage. I didn't delete anything, but I pointed it to the wrong place (yay fat fingers!). All the images should be back in place. (Except from anything Bruce may have deleted, I think an occasional purge of near decade old stuff is fine).
Fortunately, the size is actually not really much of a problem; currently, we have a separate volume dedicated to the images, and it is not an excessive cost.
There may be something we can do to limit sizes, and I *think* there's even an extension, though I've been reluctant to install many of those other than the bare bones, so that we don't run into a situation where we're reliant on a non-PHP maintainer for anything. It would actually be a pretty trivial endeavor to standardize all the images to a certain compressed size once a minute... maybe I should go ahead an do that.
Fortunately, the size is actually not really much of a problem; currently, we have a separate volume dedicated to the images, and it is not an excessive cost.
There may be something we can do to limit sizes, and I *think* there's even an extension, though I've been reluctant to install many of those other than the bare bones, so that we don't run into a situation where we're reliant on a non-PHP maintainer for anything. It would actually be a pretty trivial endeavor to standardize all the images to a certain compressed size once a minute... maybe I should go ahead an do that.