Jump to content
Search Community

Can't see image assets I uploaded to codepen

jimeast test
Moderator Tag

Go to solution Solved by OSUblake,

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Sorry to bring up something that's only somewhat related to GS but I couldn't find a codepen forum.  I was going to make a codepen pertaining to a problem I'm having migrating a background slideshow to GS.  What I'm migrating from can be seen here

If you watch for about 40 secs you'll notice the backgroung image does a nice cross fade to the next image.  I want to see if that is possible with GSAP.  On the way to doing that I noticed that imaged I uploaded to codepen weren't displaying.  I get this message " Failed to load resource: the server responded with a status of 406 (Not Acceptable)".  As you can see the images are there.assets.png

See the Pen bEKLQY by jimeast (@jimeast) on CodePen

Link to comment
Share on other sites

  • Solution

Your assets aren't relative to your pen. Click on an asset and you should see the path with an amazonaws.com domain.

 

So this is how I would use one of my images named hansen.png

<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/106114/hansen.png">
  • Like 5
Link to comment
Share on other sites

Wow that's nuts I had to double click then right click to get a list of info with the address among them.  Fortunately they all start with the same string https://s3-us-west-2.amazonaws.com/s.cdpn.io/105814.  I saw mention of tag in the html I can use to enclose the list of links that will pass on the value of that string.  I forgot what it was, do you know?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...