ronaldaug / gramateria

Drag and drop web builder with Grapes js, Bootstrap 5, Electron js and Netlify deployment.
MIT License
652 stars 197 forks source link

Unable to upload image. #15

Open herboratory opened 4 years ago

herboratory commented 4 years ago

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!

HanzCEO commented 4 years ago

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

ronaldaug commented 3 years ago

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">