question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better file names for the photos imported from Instagram

See original GitHub issue

File names of the photos imported via Instagram are long random numbers:

image

Also, the file format is missing.

I propose to make those names more friendly and add file format, too. For the names, we can use the post date for naming, e.g: Instagram image 2018-03-02.jpg

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
goto-bus-stopcommented, Mar 19, 2018

We could do:

date.toLocaleDateString([], {
  year: 'numeric',
  month: 'short',
  day: 'numeric',
  hour: 'numeric',
  minute: 'numeric'
})

or something similar. That results in “Mar 19, 2018, 10:18 AM”, which is a bit more human friendly perhaps. It probably doesn’t address the shortening tho, you’d just see “… AM” if your default locale is a 12 hour AM/PM clock one.

1reaction
rmoura-92commented, Mar 14, 2018

i found out, i meant the link to setup on the app from instagram developer

Read more comments on GitHub >

github_iconTop Results From Across the Web

Default image file names from various brands : r/photography
Hi! I am writing a small software tool for a friend, and for an idea he had, it would be super useful to...
Read more >
How does Instagram name uploaded files? - Stack Overflow
I understand that they used to name files like this but I cannot seem to find how they are named now. It seems...
Read more >
File Naming Conventions For Photographers - Filecamp
A deep dive into file naming best practices & folder organization. And how to use digital asset management (DAM) to share photos with...
Read more >
Importing Photos? File Name and Folder Structure? - DPReview
Was wondering how most people organize their photos on their computer. Specifically the folder structure (for example, year, month, day, etc).
Read more >
How to Organize Photos | PicMonkey Blog
Learn how to organize photos in five simple steps, and find your digital pics on the quick. Get tips for naming, establishing a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found