This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
{% extends "bases/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<section>
|
||||
<h1>Test</h1>
|
||||
<img src="static/content/photos/fur_meets/26-07-2025_critters_mk/PXL_20250726_155226274.jpg" alt="toaster" id="img1">
|
||||
<p id="makeAndModel"></p>
|
||||
<script src="https://cdn.jsdelivr.net/npm/exif-js"></script>
|
||||
<script>
|
||||
window.onload=getExif;
|
||||
|
||||
function getExif() {
|
||||
var img1 = document.getElementById("img1");
|
||||
EXIF.getData(img1, function() {
|
||||
var make = EXIF.pretty(this);
|
||||
makeAndModel.innerHTML = `${make}`;
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</section>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user