Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 186
Total: 186

Author Topic: Where are original uploaded files stored?  (Read 2641 times)

0 Members and 1 Guest are viewing this topic.

Offline robgratt

  • Member
  • *
  • Posts: 15
    • View Profile
Where are original uploaded files stored?
« on: June 12, 2021, 08:48:00 am »
Hi,

Sorry if this has been asked before, but I've searched and can't find where the original files uploaded by the user are stored.

I also don't seem to get an email when an image needs to be approved by a moderator i.e. me.
I get notifications for password reset.

Thanks,

Rob

Offline robgratt

  • Member
  • *
  • Posts: 15
    • View Profile
Re: Where are original uploaded files stored?
« Reply #1 on: June 14, 2021, 04:40:29 am »
So does no-one know where the original files uploaded by the user are stored?

Offline Hatshepsut

  • Downloads Pro Customer
  • Jr. Member
  • *****
  • Posts: 69
  • Perfectionist
    • View Profile
    • Bulgarian Nationalist Forum
Re: Where are original uploaded files stored?
« Reply #2 on: June 14, 2021, 04:49:21 am »
Maybe in folder {your_forum_URL}/gallery

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Where are original uploaded files stored?
« Reply #3 on: June 14, 2021, 09:11:15 am »
Yes, it is in the gallery folder.


For approval  notification it is set to any member's group who has the manage gallery permission.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline robgratt

  • Member
  • *
  • Posts: 15
    • View Profile
Re: Where are original uploaded files stored?
« Reply #4 on: June 15, 2021, 07:31:35 am »
Hi,

Thnaks for the responses.

I looked in 'gallery'.  None of the uploaded files there:
[ Guests cannot view attachments ]

I then looked in 'attachments' and found files with similar sizes that were the original files but the filenames had been changed:



Hope the images load.

So can I assume that the original file names are changed? [ Guests cannot view attachments ]

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Where are original uploaded files stored?
« Reply #5 on: June 15, 2021, 07:46:33 am »
It's not stored in the attachments folder...
You can find the file path under Admin -> Gallery Configuration

Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Hatshepsut

  • Downloads Pro Customer
  • Jr. Member
  • *****
  • Posts: 69
  • Perfectionist
    • View Profile
    • Bulgarian Nationalist Forum
Re: Where are original uploaded files stored?
« Reply #6 on: June 15, 2021, 10:51:50 pm »
Do you make difference between image files attached to users' posts, and image files uploaded to gallery? They are stored in different folders, and both are approved by admins.

Offline robgratt

  • Member
  • *
  • Posts: 15
    • View Profile
Re: Where are original uploaded files stored?
« Reply #7 on: June 17, 2021, 04:55:15 am »
Hi,

Thanks for the reply.

Both in posts and directly to the gallery.

Thanks,

Rob

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Where are original uploaded files stored?
« Reply #8 on: June 17, 2021, 08:54:47 am »
If it's in posts that would be attachments folder.
If you using the gallery it would be in the gallery folder
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline robgratt

  • Member
  • *
  • Posts: 15
    • View Profile
Re: Where are original uploaded files stored?
« Reply #9 on: June 17, 2021, 09:22:58 am »
Hi,

So the original .jpg, .png etc. files will be in those directories?

Thanks for everyone’s patience on this but I can’t find them anywhere.

I’ve ftp’d the whole directory structure to my local machine and searched for the filename of a file I know I’ve upliaded cia a post and I can’t find it anywhere.

Thanks,

Rob

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Where are original uploaded files stored?
« Reply #10 on: June 17, 2021, 09:32:32 am »
You won't see them because the attachment filesnames are encoded but they are there.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline robgratt

  • Member
  • *
  • Posts: 15
    • View Profile
Re: Where are original uploaded files stored?
« Reply #11 on: June 19, 2021, 12:42:26 pm »
Ah!

Might have saved some time if you'd led with that.

Thanks,

Rob

Offline robgratt

  • Member
  • *
  • Posts: 15
    • View Profile
Re: Where are original uploaded files stored?
« Reply #12 on: June 20, 2021, 08:08:32 am »
Hi,

Me again.

So does this mean it'll be impossible to resize/compress/convert those image files now?

All the software I've seen expects a file extension of .jpg, .png. .bmp etc. etc.

Thanks,

Rob.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Where are original uploaded files stored?
« Reply #13 on: June 20, 2021, 08:51:29 am »
Yes for the most part.
You can check out this to save space on attachments https://custom.simplemachines.org/mods/index.php?mod=4082
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline robgratt

  • Member
  • *
  • Posts: 15
    • View Profile
Re: Where are original uploaded files stored?
« Reply #14 on: June 20, 2021, 09:19:43 am »
Thank you for the prompt reply.

However, looking at the mod it says "Smush.it uses optimization techniques specific to each image format".  But we don't know what the format is anymore, do we?

I'd have to find their original format and then copy them somewhere else and add that file type, then rename them to their encoded names again. I assume the original filename will be in the db?

I suppose I could write some php to do that.  Would it break anything in the gallery pro mod?  Is it expecting (or has saved) size, resolution, colour depth or anything like that?

Thanks for your help on this - appreciated.

Rob

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
4534 Views
Last post November 25, 2007, 01:37:19 pm
by dlomneck
1 Replies
4507 Views
Last post June 10, 2009, 10:35:42 pm
by blackking18
0 Replies
3809 Views
Last post October 24, 2009, 07:51:37 am
by irex
2 Replies
5090 Views
Last post August 18, 2013, 11:22:21 am
by CWVRV
7 Replies
2949 Views
Last post April 04, 2014, 11:40:02 am
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal