Issue #1441πŸ’¬ AnsweredOpened September 19, 2018by ageir0 reactions

Drag image to canvas doesn't show image

Quick answerby JulyanoF

@ageir I did some different (for file upload): and and for list images:

Read full answer below ↓

Question

Running latest version (0.14.29) on local server. Using the example webpage preset. Ubuntu 18.04, Chromium 69. I got a problem dragging images to the canvas. I'm using a php backend. The image is uploaded and added to the assetmanager but the image doesn't show up in the canvas, only the missing file icon and the name of the file uploaded. I'm using the demo page as a base. https://grapesjs.com/demo.html To test it replace asset manager in that file with: The response from the server on upload looks like this: {"data":[{"id":"641","name":"myfile.jpg","type":"image","src":"\/remote\/file\/641"...

Answers (3)

JulyanoFβ€’ September 19, 2018

@ageir I did some different (for file upload): and and for list images:

mathiasbcβ€’ November 28, 2018

HI @artf, I have the same issue, my configuration looks like this: This function works alright, I can actually upload images and they will show in the asset manager. For the image block I have: Which is directly copied from the newsletter plugin. Now, when I drag to image block to the canvas and do...

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Related tutorials

In-depth guides on the same topic.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.