• krishnakanth

    (@krishnakanth)


    Hi,once add a photo to gallery and remove it and add it again and remove it do it again and again.After that add one more image and remove.Finally remove all the images and save.You can find all the images are getting saved from the comma seperated hidden variable “image_gallery”.I fixed from my end please find the same for comment below.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter krishnakanth

    (@krishnakanth)

    Hi,Please find my update it fixes dubicate image bug which I have posted earlier.
    Just add below code after “attachment = attachment.toJSON();” (125 line in metabox.php)

    if(attachment_ids!=''){
    attachment_ids='';
    attachment_ids=$('#image_gallery').val();
    }

    Thanks, I’ll take a look

    Thread Starter krishnakanth

    (@krishnakanth)

    Welcome and thanks for the plugin too 🙂 you wrote it simple and friendly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Small bug -Fixed in my next comment’ is closed to new replies.