• Resolved pikamo

    (@pikamo)


    hi,
    i havec create pluging with wp_list_table that work fine , i have update this pluging by a field image that will be upload with media selector.
    my problem is
    `<div class=’image-preview-wrapper’>
    ‘ height=’100’>
    </div>

    and i add a new image , in the form insert the media_selector_attachment_id is the old image…this field is initialize to zero like the other field input.

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    What form are you using to add a new image? It likely needs code to fetch the current ID value from the DB on output. When a new image is added, there should be JavaScript that also updates any related fields. Form fields are not interrelated unless scripted to be so.

Viewing 1 replies (of 1 total)
  • The topic ‘plugin wp_list_table and upload media’ is closed to new replies.