We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I'm not mistaken, the plugin assumes that the configured Netlify CMS public_folder is one level down from the media_folder - e.g.
public_folder
media_folder
media_folder: "static/uploads" public_folder: "/uploads"
I'm referring more specifically to line 129:
imagePath = path.join(file.dir, '..', value);
If that's the case, it might be worth mentioning it in the README.
The text was updated successfully, but these errors were encountered:
@axelboc I think you're right, probably better to use path.basename rather than jumping up a level.
path.basename
Sorry, something went wrong.
f94bf4b
Ah yeah, great solution!
No branches or pull requests
If I'm not mistaken, the plugin assumes that the configured Netlify CMS
public_folder
is one level down from themedia_folder
- e.g.I'm referring more specifically to line 129:
If that's the case, it might be worth mentioning it in the README.
The text was updated successfully, but these errors were encountered: