I’m pretty sure I have the wrong or I am missing a correct relative address to get an image from a folder to pop up on my HTML page.

I currently have

<figure>
    <a href=“morel.jpg”>
      <img src=“morel_thunb.jpg” alt=“morel”>
    </a>
    <figcaption>a morel I found</figcaption>
</figure>

So the code you have will show the image morel_thunb.jpg that is expected to be in the same folder as the HTML document. Upon clicking it, it will load morel.jpg, also expected to be in the same folder as the HTML document.

Are you sure you mean morel_thunb.jpg and not morel_thumb.jpg though? That might be the problem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.