Giter Club home page Giter Club logo

Comments (6)

Longwelwind avatar Longwelwind commented on June 10, 2024

What kind of links are you using ? Does it begin with http(s) or file ? Could you please copy-paste where and how you try to include an image ?

from adventures.

LivHathaway avatar LivHathaway commented on June 10, 2024

Absolutely! I was following this guide (linked at relevant time) https://youtu.be/-OutoYaRIp8?t=38

I put that in the body text of a node, basicly. I tried adding a <% %> bracket and a few other things but I'm tragically art-specc'd more than code spec so I may be missing a thing right in front of my face heh

from adventures.

Longwelwind avatar Longwelwind commented on June 10, 2024

Try this (it should display an image of a gray fog):

<img src="https://longwelwind.net/assets/Selection_016.png" alt="Text that will be displayed if the image can't be displayed" />

The alt attribute will be displayed instead of the image on screen-reader devices.

from adventures.

LivHathaway avatar LivHathaway commented on June 10, 2024

Yours works! Thank you! I plugged my image in there and it ended up displaying the text but I'm starting to think maybe it's too big. It's around 200x500. I'm also using a db link, gonna go use a diff imagehost and see if that helps

from adventures.

Longwelwind avatar Longwelwind commented on June 10, 2024

Oh, damn I forgot: you can use this to resize the image:

<img src="https://longwelwind.net/assets/Selection_016.png" alt="Text that will be displayed if the image can't be displayed" width="100px" height="100px" />

You can also replace one of the 100px by auto so that it automatically computes the size based on the other size to keep the aspect ratio.

from adventures.

LivHathaway avatar LivHathaway commented on June 10, 2024

oh man that's very helpfull, thank you! Also, it did load the 200x500 version after I linked it from Imgbb, so looks like dropbox might be interacting weird. Easy to go around dropbox though. Thank you so much!

from adventures.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.