topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday December 6, 2024, 9:30 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Free Image Host - Same URL, Update File  (Read 12208 times)

Asudem

  • Member
  • Joined in 2015
  • **
  • Posts: 132
  • C# data manipulation junkie
    • View Profile
    • Donate to Member
Free Image Host - Same URL, Update File
« on: May 15, 2016, 11:01 AM »
Greetings folks,

I'm looking for a free (or cheap) image host for a friend, but with what they want to use the images for they need the URLs of the files to stay the same. This eliminates most free image hosting sites I know. Any ideas on a good and reliable image host my friend can use?

Thanks!
If I do it more than 2 times I want to automate it in C#!

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,190
    • View Profile
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #1 on: May 15, 2016, 12:34 PM »
A little bit more on why they need them to stay the same might help in recommending.

For instance, I use bit.ly when I need a certain name, and point it to dropbox or massdrop or imgur, or whereever.  I'm not sure if that's a valid scenario for your friend.



That image is using a bit.ly URL to point to an imgur hosted image.

Asudem

  • Member
  • Joined in 2015
  • **
  • Posts: 132
  • C# data manipulation junkie
    • View Profile
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #2 on: May 15, 2016, 01:00 PM »
A little bit more on why they need them to stay the same might help in recommending.
They are using images for a profile, and the profile will be updated frequently. Due to the site's nature, custom HTML profiles are not an option, so they are stuck using static images instead of easy to edit HTML.

For instance, I use bit.ly when I need a certain name, and point it to dropbox or massdrop or imgur, or whereever.  I'm not sure if that's a valid scenario for your friend.



That image is using a bit.ly URL to point to an imgur hosted image.
Iiiiiinteresting. I never considered using something like that. But do you have to log into bit.ly and change the image url each time it's uploaded? My friend is... not tech savvy...
If I do it more than 2 times I want to automate it in C#!

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,776
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #3 on: May 15, 2016, 01:53 PM »
They are using images for a profile, and the profile will be updated frequently.

Gravatar?

Asudem

  • Member
  • Joined in 2015
  • **
  • Posts: 132
  • C# data manipulation junkie
    • View Profile
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #4 on: May 15, 2016, 02:13 PM »
They are using images for a profile, and the profile will be updated frequently.

Gravatar?
WOW! Just wow, that service is amazing! Not quite a fit for my friend's needs, but I am signing up and recommending this to everyone ASAP!
If I do it more than 2 times I want to automate it in C#!

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,776
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #5 on: May 15, 2016, 07:32 PM »
Dropbox is a good idea. You could just update the file, leaving it with the same filename, and the link will remain the same.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,190
    • View Profile
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #6 on: May 15, 2016, 10:51 PM »
Dropbox is a good idea. You could just update the file, leaving it with the same filename, and the link will remain the same.

Dropbox has been changing the way their links work, unfortunately.  So you definitely want to vet that it works if you decide to go that way.

Asudem

  • Member
  • Joined in 2015
  • **
  • Posts: 132
  • C# data manipulation junkie
    • View Profile
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #7 on: May 16, 2016, 02:09 AM »
Dropbox is a good idea. You could just update the file, leaving it with the same filename, and the link will remain the same.

Dropbox has been changing the way their links work, unfortunately.  So you definitely want to vet that it works if you decide to go that way.
Dropbox was my first idea, but any accounts made after 2014 apparently no longer get a public folder.  :(
If I do it more than 2 times I want to automate it in C#!

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,776
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #8 on: May 16, 2016, 12:35 PM »
Dropbox was my first idea, but any accounts made after 2014 apparently no longer get a public folder.  :(

You can still right-click a file and select "Get Public Link"

But that link might change or might not work well for this particular need.

Asudem

  • Member
  • Joined in 2015
  • **
  • Posts: 132
  • C# data manipulation junkie
    • View Profile
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #9 on: May 16, 2016, 12:45 PM »
Dropbox was my first idea, but any accounts made after 2014 apparently no longer get a public folder.  :(

You can still right-click a file and select "Get Public Link"

But that link might change or might not work well for this particular need.
That only works for within the "public" folder, or am I missing some setting here? My friend does no have a public folder as the dropbox account was recently created.
https://www.dropbox.com/en/help/16
Note: Dropbox accounts created after October 4, 2012 will not have a Public folder.
If I do it more than 2 times I want to automate it in C#!

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,190
    • View Profile
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #10 on: May 16, 2016, 02:03 PM »
It works in any folder.  The public folder just lets you do it for hosting.

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,776
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #11 on: May 16, 2016, 03:00 PM »
I was wrong about what the context menu item says, but the feature is definitely there:

https://www.dropbox.com/help/167

Dropbox Link.gif
« Last Edit: May 16, 2016, 03:08 PM by Deozaan »

Asudem

  • Member
  • Joined in 2015
  • **
  • Posts: 132
  • C# data manipulation junkie
    • View Profile
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #12 on: May 16, 2016, 03:20 PM »
It works in any folder.  The public folder just lets you do it for hosting.
I was wrong about what the context menu item says, but the feature is definitely there:

https://www.dropbox.com/help/167

[ Invalid Attachment ]
Example of an embedded image using that link below:

Exact same URL as a hyperlink here.

Dropbox takes you to a download page. It does not allow hotlinking outside the public folder.
If I do it more than 2 times I want to automate it in C#!

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,776
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #13 on: May 16, 2016, 03:31 PM »
Try changing the zero to a one at the end of the link ("?dl=1" at the end of the URL):

https://www.dropbox.com/s/x37ukdrt3sp90en/vlcsnap-2016-04-02-09h31m16s572.png?dl=1



Asudem

  • Member
  • Joined in 2015
  • **
  • Posts: 132
  • C# data manipulation junkie
    • View Profile
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #14 on: May 16, 2016, 03:32 PM »
Try changing the zero to a one at the end of the link (?dl=1 at the end of the URL)


UNDOCUMENTED FEATURES

Thank you so much, this is exactly what I wanted!
If I do it more than 2 times I want to automate it in C#!

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 9,776
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #15 on: May 16, 2016, 03:34 PM »
Now the real test is to replace the image file with a different image (but same filename) and see if it updates the hotlinked image correctly. :Thmbsup:

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,190
    • View Profile
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #16 on: May 16, 2016, 05:59 PM »
One other thing to be conscious of. Dropbox removed the public folder because of people's misuse, and bandwidth.  as such, I've seen it temporarily remove access.  Not sure if that's based on bandwidth or hits.  If the former, you're Ok.  If the latter...

Asudem

  • Member
  • Joined in 2015
  • **
  • Posts: 132
  • C# data manipulation junkie
    • View Profile
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #17 on: May 16, 2016, 06:31 PM »
One other thing to be conscious of. Dropbox removed the public folder because of people's misuse, and bandwidth.  as such, I've seen it temporarily remove access.  Not sure if that's based on bandwidth or hits.  If the former, you're Ok.  If the latter...
Funny story that. I was hosting my friend's profile on my dropbox using the public links, and during some exceptionally heavy traffic, dropbox DID shut off all my public links temporarily. So yeah, first hand, I know it's a possibility.

Now the real test is to replace the image file with a different image (but same filename) and see if it updates the hotlinked image correctly. :Thmbsup:
Good call, I'll do that now!

EDIT: Nope, still my cat  :(
If I do it more than 2 times I want to automate it in C#!

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • default avatar
  • Posts: 11,190
    • View Profile
    • Donate to Member
Re: Free Image Host - Same URL, Update File
« Reply #18 on: May 16, 2016, 06:36 PM »
How so?  Did you overwrite the file?  If you did, I don't get how it couldn't be.  Especially if your cat is still showing up.  Did you refresh and/or empty your cache for your browser?  I'd also suggest creating a new user in your browser, and going to the link from there.