Forum Index > Photography Talk > Looking for cloud hosting that gives links ending in .jpg for photos
 Reply to topic
Previous :: Next Topic
Author Message
Joey
verrry senior member



Joined: 05 Jun 2005
Posts: 2794 | TRs | Pics
Location: Redmond
Joey
verrry senior member
PostSat Oct 09, 2021 8:18 am 
I checked Google Drive, iCloud and Flickr. Unless I missed something, there is not a way to get a link ending in .jpg from any of those sites. I'm working on some new map software that requires links like https://_________.jpg Yes, I could host those jpgs on my own server but due to the nature of the new tech I am building I would prefer to find a cloud service that provides links ending in .jpg

Back to top Reply to topic Reply with quote Send private message
Randito
Snarky Member



Joined: 27 Jul 2008
Posts: 9494 | TRs | Pics
Location: Bellevue at the moment.
Randito
Snarky Member
PostSat Oct 09, 2021 8:45 am 
Have you considered something like Microsoft Azure or Amazon Web Services?

zimmertr
Back to top Reply to topic Reply with quote Send private message
zimmertr
TJ Zimmerman



Joined: 24 Jun 2018
Posts: 1206 | TRs | Pics
Location: Issaquah
zimmertr
TJ Zimmerman
PostSat Oct 09, 2021 9:26 am 
AWS S3 or some other object storage platform is probably what you're looking for if you wanna be legit. Imgur could suffice if it's a small personal project that won't scale very large.

Flickr | Strava

Joey
Back to top Reply to topic Reply with quote Send private message
Joey
verrry senior member



Joined: 05 Jun 2005
Posts: 2794 | TRs | Pics
Location: Redmond
Joey
verrry senior member
PostSat Oct 09, 2021 9:38 am 
No, I have not considered Microsoft Azure or Amazon Web Services. Too much learning curve. My need is for a site where anyone can upload a jpg and get back a ".jpg" link I just tested Imgur. Yay - I can get a jpg link. Thanks for the tip. Exactly what I was looking for. GeoJPG teaser: https://i.imgur.com/pwHcij4.jpeg The original file is 15MB Imgur compressed it to a bit under 5MB with no apparent loss to image quality.

zimmertr
Back to top Reply to topic Reply with quote Send private message
Tom
Admin



Joined: 15 Dec 2001
Posts: 17834 | TRs | Pics
Tom
Admin
PostSat Oct 09, 2021 11:55 am 
You can always add a dummy parameter to the link so that it ends in .jpg. For example, here is a google photos permalink with dummy parameter added. https://lh3.googleusercontent.com/uvNDGjV_IIdvKioOEOuuI61hT3sya3zW7mYMUWLRJ-XEjFafzM56IJCZy1bgUnPOP--XAQ_2dBLwESoZyQmnZplKRI67AbweaoZIP7YtizY-SDk_QY2LHcAjojpqC-nZcMFdRUas10o=s800?dummy=image.jpg Flickr image links actually do end in .jpg, at least if they are jpg and you are linking to the actual image and not the page: https://live.staticflickr.com/1966/31384737598_12f70bf67a.jpg (actual image) https://www.flickr.com/photos/lakebagger/31384737598/ (page containing image) Imgur is probably best for what you want. As you note images above some file size are automatically compressed (quite heavily actually), ideal for maps if you want to avoid bloated file sizes that would otherwise result from bitmaps uploaded as png. I believe they will delete uploaded images if not accessed for some time period, but that may have changed.

Cyclopath, Joey
Back to top Reply to topic Reply with quote Send private message
domaz
Member
Member


Joined: 24 Jun 2006
Posts: 126 | TRs | Pics
Location: Tacoma
domaz
Member
PostThu Feb 03, 2022 10:37 pm 
Joey wrote:
I'm working on some new map software that requires links like https://_________.jpg
I have to say this is kind of a silly software limitation. The file type is determined by the return Content-Type header in HTTP protocol, not the extension in the URL! That's why cloud services don't end with .jpg, there is no need for it.

Back to top Reply to topic Reply with quote Send private message
Joey
verrry senior member



Joined: 05 Jun 2005
Posts: 2794 | TRs | Pics
Location: Redmond
Joey
verrry senior member
PostFri Feb 04, 2022 3:44 pm 
domaz wrote:
Joey wrote:
I'm working on some new map software that requires links like https://_________.jpg
I have to say this is kind of a silly software limitation. The file type is determined by the return Content-Type header in HTTP protocol, not the extension in the URL! That's why cloud services don't end with .jpg, there is no need for it.
I phrased it that way since I am feeding the url to the Leaflet map API and I thought that the API might require the url to end in .jpg. Turns out my guess was wrong. This file in the google cloud https://drive.google.com/uc?id=10YD7sJI_HHDXmQM4h96alvyGIU53nGYZ is a jpg and the Leaflet map API can display it as a georeferenced overlay with no problem. Currently the GeoJPG pilot project is paused while I finish other work. But when I get back to that project I will explore hosting the georeferenced jpg maps I make in google's cloud. For anyone curious, here is a 2 page PDF with a GeoJPG overview. https://geojpg.com/website/GeoJPG-maps-offline-browser.pdf

Back to top Reply to topic Reply with quote Send private message
domaz
Member
Member


Joined: 24 Jun 2006
Posts: 126 | TRs | Pics
Location: Tacoma
domaz
Member
PostTue Feb 08, 2022 2:37 pm 
Joey wrote:
domaz wrote:
Joey wrote:
I'm working on some new map software that requires links like https://_________.jpg
I have to say this is kind of a silly software limitation. The file type is determined by the return Content-Type header in HTTP protocol, not the extension in the URL! That's why cloud services don't end with .jpg, there is no need for it.
I phrased it that way since I am feeding the url to the Leaflet map API and I thought that the API might require the url to end in .jpg. Turns out my guess was wrong. This file in the google cloud https://drive.google.com/uc?id=10YD7sJI_HHDXmQM4h96alvyGIU53nGYZ is a jpg and the Leaflet map API can display it as a georeferenced overlay with no problem. Currently the GeoJPG pilot project is paused while I finish other work. But when I get back to that project I will explore hosting the georeferenced jpg maps I make in google's cloud. For anyone curious, here is a 2 page PDF with a GeoJPG overview. https://geojpg.com/website/GeoJPG-maps-offline-browser.pdf
Sounds like an interesting project. I went done this road long ago on ancient phones.. I even made a Windows Mobile App for viewing USGS DRG (GeoTIFFs). As far as USGS Data goes I still like the ease of download of the UW GIS Department clipped DRG quads. It might be one option for you to consider at least, although there might be more up to date options now.

Back to top Reply to topic Reply with quote Send private message
Dalekz
Member
Member


Joined: 01 Mar 2002
Posts: 487 | TRs | Pics
Dalekz
Member
PostWed Mar 02, 2022 11:19 am 
how is it degenerating

Back to top Reply to topic Reply with quote Send private message
   All times are GMT - 8 Hours
 Reply to topic
Forum Index > Photography Talk > Looking for cloud hosting that gives links ending in .jpg for photos
  Happy Birthday weathercrazy, Tag Man!
Jump to:   
Search this topic:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum