How are inline images stored?

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
Panzer942
Registered User
Posts: 18
Joined: Tue Jun 25, 2019 8:00 pm

How are inline images stored?

Post by Panzer942 » Wed Jul 10, 2019 12:28 am

Good evening,

Aren't images stored in files/?

I reinstalled and imported the database. I copied the images directory. However, inline attachments have disappeared. When I look in old install, I don't see the files.

I just upgraded from 3.2.2 to 3.2.7.

Thank you

User avatar
Lumpy Burgertushie
Registered User
Posts: 66904
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: How are inline images stored?

Post by Lumpy Burgertushie » Wed Jul 10, 2019 12:59 am

if you are talking about attachments then yes, they are stored in the folder named files.

if you followed the upgrade instructions you would not have touched the folder named files and all your attachments would be ok.

if you deleted those files and then uploaded your backup, you may have corrupted them if you used filezilla to download and then upload them.
if so, then you may be out of luck for restoring them.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

Panzer942
Registered User
Posts: 18
Joined: Tue Jun 25, 2019 8:00 pm

Re: How are inline images stored?

Post by Panzer942 » Wed Jul 10, 2019 1:15 am

Are they stored as jpg or gif files or a different format. I have backups of that directory, but I don't see image files.

User avatar
AbaddonOrmuz
Recognised Extension Developer
Posts: 722
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: How are inline images stored?

Post by AbaddonOrmuz » Wed Jul 10, 2019 5:02 am

Panzer942 wrote:
Wed Jul 10, 2019 1:15 am
Are they stored as jpg or gif files or a different format. I have backups of that directory, but I don't see image files.
They keep its original format bu they don't have file extension.

When files are uploaded they are stored with a random name to avoid file name collisions.

Just restore them and they should work, provided that your FTP client was configured to transfer files in binary mode or during the copy via SSH (scp or rsync) they were not corrupted.
Some of my phpBB extensions: [ Imgur | SEO Metadata | Markdown ]
Check out all my extensions
Arch Linux user

Panzer942
Registered User
Posts: 18
Joined: Tue Jun 25, 2019 8:00 pm

Re: How are inline images stored?

Post by Panzer942 » Wed Jul 10, 2019 9:07 pm

Thank you. All back to normal.

Post Reply

Return to “[3.2.x] Support Forum”