Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11833
Latest: playwyourlifenotme
New This Month: 1
New This Week: 1
New Today: 1
Stats
Total Posts: 42303
Total Topics: 7379
Most Online Today: 116
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 41
Total: 41

Author Topic: Gallery Pro File Download Names  (Read 560 times)

0 Members and 1 Guest are viewing this topic.

Offline Anmer

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 61
    • View Profile
Gallery Pro File Download Names
« on: July 27, 2021, 06:00:24 am »
I would like to preserve the uploaded file name when it's downloaded.

For example, if an uploaded file is named:

BoeingB744.bmp

I'd like that to be the name that the download uses instead of the anonymised, random one applied to the stored image, which might be:

1-260721160830-17.bmp

SMF forum attachments are also randomised on the server but retain the original file name when downloaded from a post.

Is this something that could be a configuration setting?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16037
    • View Profile
Re: Gallery Pro File Download Names
« Reply #1 on: July 27, 2021, 07:46:13 am »
Would have to be made currently it is random filenames. For physical storing on the server could maybe do orginalfilename-pictureid.extension that might be possible.
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 Anmer

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 61
    • View Profile
Re: Gallery Pro File Download Names
« Reply #2 on: July 27, 2021, 07:53:34 am »
Thanks for getting back.

Can I confirm that there's currently no way to achieve this without adding a new feature?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16037
    • View Profile
Re: Gallery Pro File Download Names
« Reply #3 on: July 27, 2021, 07:56:20 am »
That is correct.
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 Anmer

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 61
    • View Profile
Re: Gallery Pro File Download Names
« Reply #4 on: July 28, 2021, 03:31:54 am »
Do you think retaining the original file name for downloads could be delivered and if so when?

I'm not looking for a definitive "Yes" nor a confirmed implementation date, just an indication of timescales as this will influence deploying Gallery Pro on my forum. And my continued evaluation and testing.

Thanks.
« Last Edit: July 28, 2021, 06:06:58 am by Anmer »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16037
    • View Profile
Re: Gallery Pro File Download Names
« Reply #5 on: July 28, 2021, 10:57:02 am »
Is this just when an item is downloaded? If so I can do that more easily.

Or do you want the files in the gallery to have a  similar filename
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 Anmer

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 61
    • View Profile
Re: Gallery Pro File Download Names
« Reply #6 on: July 28, 2021, 11:47:38 am »
Is this just when an item is downloaded? If so I can do that more easily.

Only when the file is downloaded.  Same as Attachments in a forum message.  The file on the server can remain anonymised.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16037
    • View Profile
Re: Gallery Pro File Download Names
« Reply #7 on: July 28, 2021, 03:21:28 pm »
This has been completed.  When using the download item option.  You can download the latest release for this update. I did this quickly since it was a good idea!
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 Anmer

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 61
    • View Profile
Re: Gallery Pro File Download Names
« Reply #8 on: July 28, 2021, 03:27:42 pm »
Thank you once again.

Is the latest release available yet?

The latest I can see is:

9.0beta3

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16037
    • View Profile
Re: Gallery Pro File Download Names
« Reply #9 on: July 28, 2021, 03:31:35 pm »
Yes it's 9.0beta3a  i don't update the version number.

Just note this only takes affect for new uploads going forward.
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 Anmer

  • SMF Gallery Pro Customer
  • Jr. Member
  • *****
  • Posts: 61
    • View Profile
Re: Gallery Pro File Download Names
« Reply #10 on: July 28, 2021, 03:36:31 pm »
Thanks, found it just after I posted!

And now tested and working as stated.

I am so appreciative of your excellent response and support.

Brilliant.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
5481 Views
Last post June 09, 2009, 11:02:27 pm
by SMFHacks
12 Replies
11089 Views
Last post August 04, 2009, 07:53:06 am
by SMFHacks
8 Replies
11162 Views
Last post March 09, 2010, 12:04:30 pm
by SMFHacks
2 Replies
3232 Views
Last post March 31, 2010, 08:06:03 pm
by Wajalot
1 Replies
1593 Views
Last post August 25, 2013, 10:47:20 am
by SMFHacks

+- Recent Topics

Trying to access array offset on value of type null by SMFHacks
Today at 03:58:54 pm

SMF forum by davejo
June 27, 2022, 01:16:25 am

Quick-moderation checkboxes by davejo
June 22, 2022, 09:27:24 am

Add option to Main Menu bar by Shades
June 21, 2022, 12:23:00 am

Logo and Category? by SMFHacks
June 12, 2022, 03:43:31 pm

prettyurls - TroubleShooting.wiki by GhostHunting
June 12, 2022, 02:52:57 pm

[Mod]Modification Update Version Checker by SMFHacks
June 06, 2022, 09:25:39 pm

Profile Gallery Link by SMFHacks
June 02, 2022, 05:17:45 pm

SMF Store 5.0 Beta Errors - Trying to access array offset on value of type null by Michael Vail
June 01, 2022, 12:48:48 pm

Upgrade Issues? by SMFHacks
May 30, 2022, 06:24:03 pm

Powered by EzPortal