Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

271
Vistas
How can I show you the files extension image/*, application/pdf, mp4 already stored on server using Dropzone.js

I am using Dropzone js to upload (images, application/pdf,videos/mp4 )to my application. This works fine on the insert page but I need to be able to edit records and add or change already existing images display fine but pdf and video not display associated with the record. The overall application is using Laravel enter image description here

init: function (file, response) {

            myDropzone = this; // closure

            $.ajax({
                url:finalUrl,
                type: "GET",
                dataType: "json",
                success: function(response) { // get result
                    var abc=response.data;
                    // console.log(abc);

                    $.each(abc, function(key,value) {
                        // console.log(value.avatarFullUrl);

                       var mockFile = { name: value.documentUrl,accepted: true};
                        var pth=value.avatarFullUrl;
                        myDropzone.emit("addedfile", mockFile);
                        myDropzone.emit("thumbnail", mockFile, pth);
                        myDropzone.emit("complete", mockFile);
                    });
                }
            });
enter code here

enter code here
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda