Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Preselect images in DragnDrop Uploader

jay2jam pro asked 5 years ago


Hello,

I use the upload component in a parent component and my problem is in edit mode when the already existing image should be loaded in the upload field. How can I do this using upload-component in a parent component?

My code looks link:

async loadImageFormURL(url){ let img = new Image(); img.src = url; this.imageUpload[0] = img; }

Rgds Stefan


Magdalena Dembna staff answered 5 years ago


Hi, Drag and drop plugin allows an user to upload files directly from the disk - right now we do not support uploads from url. I apologize for an inconvenience. Kind regards, Magdalena



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 5.2.0
  • Device: MAC
  • Browser: CHROME
  • OS: Moave
  • Provided sample code: No
  • Provided link: No