Skip to content

loading IMAGES from JSON file, path is not working - file-loader #19376

Discussion options

You must be logged in to vote

I can't believe it was so simple, it is kind of embarrassing but I'll write the solution here in case someone needs in the future.

I was using my source image folder on config.yml, like:
media_folder: "media/uploads"

So I discovered that it needs to be a folder inside the public folder, so now I'm using:
media_folder: "public/images"
public_folder: /images

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@alexa2me
Comment options

Answer selected by romanonatacha
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants