showimg.html 978 B

123456789101112131415161718192021222324252627282930
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>SHOW</title>
  6. </head>
  7. <body>
  8. {# {% for img in imgs %}#}
  9. {# <img src='{{ img.image.url }}' />#}
  10. {# {% endfor %}#}
  11. <div id="left" style="float:left ; width:100%; height:{{ img_height }}px; border:1px solid #000;">
  12. <img src='{{ url }}' />
  13. </div>
  14. {# <iframe href="{% url 'ocr_info' name %}" style="float:right ; width:48%; height:800px; border:1px solid #000;"></iframe>#}
  15. {# <iframe srcdoc="{{ texts }}" style="float:right ; width:48%; height:800px; border:1px solid #000;"></iframe>#}
  16. <div id="right" style="float:right ; width:100%; height:{{ text_height }}px; border:1px solid #000;">
  17. {% autoescape off %}
  18. {{ texts|linebreaksbr }}
  19. {% endautoescape off %}
  20. <br>
  21. -----------------------------------------------------------------------------------<br>
  22. <br>
  23. {{ raw_texts|linebreaksbr }}
  24. </div>
  25. </body>
  26. </html>