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.

Update static images to reference S3 bucket

See original GitHub issue

Summary

Image links are of this format:

https://dg1fd6ea8poyj.cloudfront.net/images/<FILE_NAME>

Where <FILE_NAME> is the file name found in the client/src/img directory.

Example:

https://dg1fd6ea8poyj.cloudfront.net/images/Logo_CORONATRACKER_Logo.svg

  • Use S3 image links in our React app, instead of hardcoded references
  • Remove references to images from our client/src/img directory

Motivation

This will result in a smaller build file and potentially faster load times for www.coronatrackapp.com

Describe alternatives you’ve considered

Leaving the images where they are now

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pavel-ilincommented, Apr 13, 2020

Can take on this one.

All images in “coronatracker-media-assets” bucket, correct?

0reactions
pavel-ilincommented, Apr 14, 2020

@acthelemann Got it! Working on that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tutorial: Configuring a static website on Amazon S3
Step 1: Create a bucketStep 2: Enable static website hostingStep 3: Edit Block Public ... You can configure an Amazon S3 bucket to...
Read more >
using amazon s3 to host static image and referencing from css
Using the relative path should work: when the browser interprets the parent directory .. , it does it simply by how the URL...
Read more >
Using AWS S3 to Store Static Assets and File Uploads
You can use your assets' public URLs, such as http://s3.amazonaws.com/bucketname/filename , in your application's code. S3 directly serves these ...
Read more >
Storing Django Static and Media Files on Amazon S3
This tutorial shows how to configure Django to load and serve up static and media files, public and private, via an Amazon S3...
Read more >
Setting up S3 for Website Images - YouTube
This video will demonstrate how to set up a simple AWS S3 Bucket for use with a Dynamic Web Photo Gallery Application example....
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