Skip to content

Conversation

alexbjorlig
Copy link

@alexbjorlig alexbjorlig commented Dec 5, 2018

I created a PR that targets #2, and several other small issues I found when using this example in december 2018:

  1. Removed the dependency to Google Cloud storage (instead using the built in firebase-admin)
  2. Updated a comment in code regarding Promise.all()
  3. Improved the naming of the temporary file, to include a random number. This should help solve an issue I experienced myself, where the snapshots are generated of an old picture (also referenced in the blog).
  4. Added metadata, so it works for both jpg, jpeg, png etc.

Let me know what you think 😎

@hellseyfer
Copy link

thank u a lot, it is compiling after some dependencies updates but it wont resize my images lol

@alexbjorlig
Copy link
Author

Hi @hellseyfer - what error do you get? Maybe you could share your repo?

@hellseyfer
Copy link

Hi @hellseyfer - what error do you get? Maybe you could share your repo?

I tested with a new upload and it worked but not the old ones

@alexbjorlig
Copy link
Author

@hellseyfer since this code is "reactive" I would say that's intended behaviour 😄

@hellseyfer
Copy link

Alright, good job~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants