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.

generateThumbnail produces toxic image

See original GitHub issue

How to reproduce these conditions

I’m using the sample code as is: It builds and uploads and runs. The thumb_ image can’t be downloaded and just ‘hangs’ in the control panel. I’ve tried .jpg and .png, small and large. All produce the same failure. Logs say it ran ‘ok’. About 6 seconds for a 1 meg image.

Running latest software:

"engines": {
    "node": "10"
  },
  "dependencies": {
    "child-process-promise": "^2.2.1",
    "firebase-admin": "^8.6.0",
    "firebase-functions": "^3.3.0"
  }

firebase-tools are current.

Here is what the console looks like after an upload. The original image uploads fine. The generated thumb never presents an image or a link (though its name and size are correct)

Screen Shot 2019-12-27 at 4 27 20 PM

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:3
  • Comments:6

github_iconTop GitHub Comments

2reactions
benjoabrasado25commented, Feb 10, 2020

I tried this one and had same issue. Any solution?

0reactions
outiiicommented, Jul 10, 2020

thanks for confirming @tbone849. I have an idea for a hack in the sample that may let us get around the console bug

hey. any news regarding that issue? i have the same problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Generate Thumbnail - REST API (Azure Cognitive Services
This operation generates a thumbnail image with the user-specified width and height. By default, the service analyzes the image, identifies the region of ......
Read more >
Easy Thumbnails - Fookes Software
Easy Thumbnails is a popular free Windows utility for creating accurate thumbnail images and scaled-down/up copies from a wide range of popular picture...
Read more >
About the series . Video clips | CALIFORNIA NEWSREEL
Each video clip below illustrates a key concept from UNNATURAL CAUSES. ... Image Thumbnail · UNNATURAL CAUSES - Trailer E-mail to a friend....
Read more >
Generate Thumbnail Images Using Face Detection ... - YouTube
Learn how to automatically crop and resize images using Face Detection from Cloudinary. We'll walk through installing and configuring the ...
Read more >
Toxic Stress
Learn about toxic stress response; how it differs from two other stress responses, positive and ... Step 2: The Science and Social Causes...
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