code: def get_card_html(self, name):
      item = self.page.items.get(name, {})
  
      preview_url = item.get("preview", None)
  
      if not preview_url:
          filename, _ = os.path.splitext(item["filename"])
          preview_url = self.page.find_preview(filename)
          item["preview"] = preview_url
  
      if preview_url:
          preview = f"""
              <div class='card standalone-card-preview'>
                  <img src="{html.escape(preview_url)}" class="preview">
              </div>
              """
      else:
          preview = "<div class='card standalone-card-preview'></div>"
  
      return preview
  
imports: import datetime
  import html
  import json
  import os.path
  import gradio
  from modules import generation_parameters_copypaste, images, sysinfo, errors, ui_extra_networks
label_desc: Use image node_id 6 for calling the UserMetadataEditor obj's underlying member method code with example usage: obj.get_card_html(name) and returns: preview