ronaldaug/gramateria

Unable to upload image.

herboratory opened this issue · 2 comments

Hello. I am now using gramateria with desktop version (just click the index.html). I was trying to upload background image but when I clicked the drop area, I could choose file. However, when I chose the image file that I wanted to apply, there was no reaction. Same situation in dragging file. I also tried to upload image through the image block, I could choose those default images but uploading my own one.
Just wonder if I missed anything to upload image? Many thanks!

plus, i can only upload image through url (which require connection 😢)

Hello. I am now using gramateria with desktop version (just click the index.html). I was trying to upload background image but when I clicked the drop area, I could choose file. However, when I chose the image file that I wanted to apply, there was no reaction. Same situation in dragging file. I also tried to upload image through the image block, I could choose those default images but uploading my own one.
Just wonder if I missed anything to upload image? Many thanks!

Sorry for late reply, I couldn't take care of this project for a while and recently just tried to refactor this project again.

Gramateria is just a client side builder which is not linked with image hosting.
If you want to integrate with image hosting or upload to online. Please check these links
https://blog.webnersolutions.com/adding-image-upload-feature-in-grapesjs-editor/
https://grapesjs.com/docs/modules/Assets.html#uploading-assets


plus, i can only upload image through url (which require connection 😢)

If you don't wanna serve the images online, you can export the project and link them manually to your local image folder like <img src="images/image-1.jpg">