term_id; // Get the ID of the term you're editing $term_meta = self::get_term_meta_option( $t_id ); $image_id = isset( $term_meta['image_id'] ) ? absint( $term_meta['image_id'] ) : 0; // Get the image src $your_img_src = wp_get_attachment_image_src( $image_id, 'full' ); // For convenience, see if the array is valid $you_have_img = is_array( $your_img_src ); ?>

'); imgIdInput.val(attachment.id); addImgLink.addClass('hidden'); delImgLink.removeClass('hidden'); }); frame.open(); }); delImgLink.on('click', function (event) { event.preventDefault(); imgContainer.html(''); addImgLink.removeClass('hidden'); delImgLink.addClass('hidden'); imgIdInput.val(''); }); }); WPAF_TAX_IMAGE_JS ); ?>