It is currently March 28th, 2024, 3:19 pm



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Random name for images.
PostPosted: August 23rd, 2020, 7:04 pm 

Joined: December 30th, 2013, 3:54 pm
Posts: 319
Hey

I don't know if you can do it already but I think it would be helpful to randomize filenames for uploaded images.

Some image hosts allow long filenames and when using few images in posts I end up with 3 lines of image urls. If we could randomize names and shorten them it would help with visibility. I personally work with txt files much and it bugs me.

That will also fix some imagehosts from blocking images based on filename.

What do you think?


Top
 Profile  
Reply with quote  
 Post subject: Re: Random name for images.
PostPosted: August 23rd, 2020, 7:22 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Hi,

you can already do this.

In "HOSTS" -> "Images" -> select needed host -> under "Other settings" there is an option "Randomize filenames", enable and press "Update" button.

It will use randomize options from "Settings" -> "Process" -> "Upload". You can set needed length there.

To change the length you can temporary enable the general option to randomize filenames [which is used for file hosts], then change the length and then disable that general option. The length numbers will be saved. I have improved to leave those options always possible to change for next update without this trick.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Random name for images.
PostPosted: August 24th, 2020, 12:49 pm 

Joined: December 30th, 2013, 3:54 pm
Posts: 319
Thank You, I didn't notice that.


Top
 Profile  
Reply with quote  
 Post subject: Rename cover and preview to random filename before upload.
PostPosted: March 2nd, 2021, 4:15 pm 

Joined: March 15th, 2020, 9:53 pm
Posts: 91
Since filenames contain "banned" words, and words included in replacements, would be extra nice to rename to something random "bfaksjgf47t3i.jpg" before uploading to pic host.

Even the link would be shorter.

Right now, when replacements do their thing, my image links get screwed.

Only reason that they still point to the right link is imagehost's 404 redirection.


Top
 Profile  
Reply with quote  
 Post subject: Re: Rename cover and preview to random filename before uploa
PostPosted: March 2nd, 2021, 5:03 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
You can already do that.

"HOSTS" -> "Images" -> select needed image host -> under "Other settings" enable "Randomize filenames" -> press "Update" button.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Rename cover and preview to random filename before uploa
PostPosted: March 3rd, 2021, 1:21 pm 

Joined: March 15th, 2020, 9:53 pm
Posts: 91
Yaaaaah! That's hot.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC