Skip to content

Issue rendering images with EEX-generated urls #11

@worace

Description

@worace

I am trying to use the phoenix route helpers (specifically the static_path helper) to display an image from my app's static directory.

Rendering an image manually works (image gets displayed):

![My Image](/images/my_image.png)

But using the eex tag to embed the URL does not. This:

![My Image](<%= Routes.static_path(@conn, "/images/my_image.png") %>)

Just gets rendered in the document as ![My Image](/images/my_image.png).

I'm not familiar with how the library is put together but I wonder if this might be something similar to #8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions