Hey! Im currently using imgur plugin for image uploads.
Is there any way to set it up so that only admins are able to upload images? (The solution doesn't necessarily need to be using imgur plugin)
@baris said in Header image for a fresh install:
Excelent. Thank you
So after researching a little more I found my answer inside the plugin.json of the quickstart-plugin.
Adding a staticDirs key inside the plugin.json like that adds the static dirs inside /assets/plugins/your-plugin-name/.
So finally the error is gone.
I added this environment variable to my Openshift proyect:
LD_PRELOAD = '/opt/app/node_modules/sharp/vendor/lib/libz.so'
This is the url to sharp inside my node_modules.
When I opened the terminal I get and error saying that it can't be preloaded but after installing all dependencies the error is gone, and I could upload images!!!
Thank you very much @PitaJ !!!!