image.html 403 B

1234567891011
  1. <img src="{{preview_url}}" style="width: 100%"/>
  2. <textarea id="embeddedCode" class="u-full-width" style="height: 100px;">
  3. </textarea>
  4. <script>
  5. var port = window.location.port;
  6. if (port != ""){
  7. port = ":" + port;
  8. }
  9. $("#embeddedCode").text(`<img src="${location.protocol}//${window.location.hostname}${port}{{preview_url}}{{filename}}" style="width: 30em"/>`);
  10. </script>