Create upload.html

This commit is contained in:
moom0o 2023-04-05 02:44:25 -04:00 committed by GitHub
parent c72c1eb69f
commit 8c9876b433
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
views/upload.html Normal file
View File

@ -0,0 +1,24 @@
<div style="text-align: center;"><h1>PhotoSphereStudio</h1>
<p>I am not very good at CSS, so please submit a pull request if you are great at frontend development.</p>
<p>This page will allow you to upload photo spheres to Google Maps after the idiots at Google removed their perfectly working StreetView app.</p>
<p>Images must have the proper 360 degree file properties, you will need to figure out how to add this metadata. Google pixel photosphere photos work perfectly, I have yet to figure out how to get my DJI drone 360 photos working.</p>
<p>Latitude and Longitude is not required if your photo already contains location data, however if it doesn't, then use <a href="https://www.latlong.net/">https://www.latlong.net/</a> to pinpoint coords.</p>
<form name="theform" action="/upload" method="POST" enctype="multipart/form-data">
<fieldset>
<legend>Upload a 360 image</legend>
<input type="file"
id="file" name="file"
accept="image/png, image/jpeg">
<div class="form-control">
<label for="lat">Latitude</label>
<input type="text" id="lat" name="lat" placeholder="Latitude coordinates" required />
</div>
<div class="form-control">
<label for="long">Longitude</label>
<input type="text" id="long" name="long" placeholder="Longitude coordinates" required />
</div>
<input type="submit" value="Send" class="submit-btn" />
</fieldset>
</form>
</div>