Responsive Ad Area

Share This Post

test

How to set defalut image in dropify using jquery and ajax only

I am using https://github.com/JeremyFagis/dropify plugin for image upload and I am stuck at Edit page since I have to set default image but unable to do so.I have to do it using jquery and ajax. I have tried attr() and setting data-defalut-file() but no success. Also when i use data-defalut-file() i can see my image in inspect element but not on UI. Please help 🙂

I tried :

  $("#thumbnails_4_5").attr(
    "data-default-file",
    s3BaseUrlVideo +
      "/" +
      bucketName +
      "/" +
      images_folder +
      "/" +
      define_grid +
      "/" +
      horizontal +
      "/" +
      item.grid.thumbnail_4_5
  );

and

$(‘.dropify’).dropify({
defaultFile: nameImage ,
});


How to set defalut image in dropify using jquery and ajax only
How to set defalut image in dropify using jquery and ajax only
test
{$excerpt:n}

Share This Post

Leave a Reply

Your email address will not be Publishedd. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Skip to toolbar