Bitcoin Forum
April 26, 2024, 05:24:17 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4] 5 6 »  All
  Print  
Author Topic: Images now proxied  (Read 9329 times)
ReCat
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
December 13, 2013, 11:28:20 PM
 #61

It makes sense until you realizes that the forum will fully proxy a 1MB JPEG and not a 60kb GIF.

BTC: 1recatirpHBjR9sxgabB3RDtM6TgntYUW
Hold onto what you love with all your might, Because you can never know when - Oh. What you love is now gone.
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714152257
Hero Member
*
Offline Offline

Posts: 1714152257

View Profile Personal Message (Offline)

Ignore
1714152257
Reply with quote  #2

1714152257
Report to moderator
1714152257
Hero Member
*
Offline Offline

Posts: 1714152257

View Profile Personal Message (Offline)

Ignore
1714152257
Reply with quote  #2

1714152257
Report to moderator
btcton
Legendary
*
Offline Offline

Activity: 1288
Merit: 1007


View Profile
December 14, 2013, 06:02:24 AM
 #62

Isn't it easier to just whitelist popularly known image hosting sites such as imgur?

The signature campaign posters adding useless redundant fluff to their posts to reach their minimum word count are lowering my IQ.
b!z
Legendary
*
Offline Offline

Activity: 1582
Merit: 1010



View Profile
December 15, 2013, 04:36:58 AM
 #63

Isn't it easier to just whitelist popularly known image hosting sites such as imgur?

That's probably not tinfoilhatty enough.
gweedo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
December 15, 2013, 04:42:59 AM
 #64

Isn't it easier to just whitelist popularly known image hosting sites such as imgur?

That's probably not tinfoilhatty enough.

No cause everyone would be like theymos whitelist this and whitelist this, and that thread would be insanity long. Image proxy is the best option, keeps every happy.
btcton
Legendary
*
Offline Offline

Activity: 1288
Merit: 1007


View Profile
December 15, 2013, 04:48:28 AM
 #65

Isn't it easier to just whitelist popularly known image hosting sites such as imgur?

That's probably not tinfoilhatty enough.

No cause everyone would be like theymos whitelist this and whitelist this, and that thread would be insanity long. Image proxy is the best option, keeps every happy.
If he manages to get it working.

The signature campaign posters adding useless redundant fluff to their posts to reach their minimum word count are lowering my IQ.
gweedo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
December 15, 2013, 04:50:00 AM
 #66

Isn't it easier to just whitelist popularly known image hosting sites such as imgur?

That's probably not tinfoilhatty enough.

No cause everyone would be like theymos whitelist this and whitelist this, and that thread would be insanity long. Image proxy is the best option, keeps every happy.
If he manages to get it working.

true to that too
ReCat
Sr. Member
****
Offline Offline

Activity: 406
Merit: 250



View Profile WWW
December 15, 2013, 07:08:49 PM
 #67

Some other forums automatically upload pictures onto their file servers and links that instead. Others require users to upload all pictures to a certain site and then whitelists only that site.

BTC: 1recatirpHBjR9sxgabB3RDtM6TgntYUW
Hold onto what you love with all your might, Because you can never know when - Oh. What you love is now gone.
DeboraMeeks
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500


View Profile
December 16, 2013, 08:29:04 PM
 #68

It looks like some avatar images are not being proxied.
justusranvier
Legendary
*
Offline Offline

Activity: 1400
Merit: 1009



View Profile
December 16, 2013, 08:55:32 PM
 #69

It looks like some avatar images are not being proxied.

Avatars aren't suppose to be proxied since they are loaded from the forum's server.
Not all of them are.
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1233


May Bitcoin be touched by his Noodly Appendage


View Profile
December 16, 2013, 10:55:26 PM
 #70

It looks like some avatar images are not being proxied.

Avatars aren't suppose to be proxied since they are loaded from the forum's server.
Not all of them are.
I'm kinda sure all the avatars are from the forum's server
Why wouldn't dynamic avatars work otherwise?

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
justusranvier
Legendary
*
Offline Offline

Activity: 1400
Merit: 1009



View Profile
December 16, 2013, 11:21:32 PM
 #71

I'm kinda sure all the avatars are from the forum's server
Why wouldn't dynamic avatars work otherwise?
I've got RequestPolicy installed, and I've seen avatars that are not hosted from bitcointalk.org.

Maybe they are legacy avatars from a time period before remote images were blocked or something.
Exther
Newbie
*
Offline Offline

Activity: 45
Merit: 0


View Profile
December 17, 2013, 03:09:40 PM
 #72

oh man, let me use imgur at least so I can put animated gif 
TheButterZone
Legendary
*
Offline Offline

Activity: 3052
Merit: 1031


RIP Mommy


View Profile WWW
December 18, 2013, 05:55:12 AM
 #73

btcticker.appspot.com / https://github.com/vrotaru/btcticker desperately needs to be whitelisted, and any other price converters without viewer IP tracking. So fucking off, I have to choose between deleting them or hoping nobody holds me to the old cached versions in my topics.

Saying that you don't trust someone because of their behavior is completely valid.
rme
Hero Member
*****
Offline Offline

Activity: 756
Merit: 504



View Profile
December 18, 2013, 08:00:52 PM
 #74

btcticker.appspot.com / https://github.com/vrotaru/btcticker desperately needs to be whitelisted, and any other price converters without viewer IP tracking. So fucking off, I have to choose between deleting them or hoping nobody holds me to the old cached versions in my topics.

A fix for this can be to make a list of domains that need to avoid cache.

Then, concatenate the date, the hour and the actual minute to the url, this has to change dynamically with php.

That way every minute the request will be diferent forcing the proxy to reload the image.

For example this image:
http://btcticker.appspot.com/mtgox/1.00btc2eur.png

Will turn into:
http://btcticker.appspot.com/mtgox/1.00btc2eur.png?anticache=201312182259

Now, with the proxy:
https://images.weserv.nl/?url=btcticker.appspot.com/mtgox/1.00btc2eur.png%3Fanticache=201312182254&fnr

Note: use %3F to encode ? and %26 to encode &.


The format is YEAR MONTH DAY HOUR MINUTE

This way we have a 60 seconds cache + https in images + not leaking ips to whitelist domains

This method will only be used by domains that need to avoid the cache.
Richy_T
Legendary
*
Offline Offline

Activity: 2422
Merit: 2113


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
December 19, 2013, 01:39:08 AM
 #75

btcticker.appspot.com / https://github.com/vrotaru/btcticker desperately needs to be whitelisted, and any other price converters without viewer IP tracking. So fucking off, I have to choose between deleting them or hoping nobody holds me to the old cached versions in my topics.

A fix for this can be to make a list of domains that need to avoid cache.

Then, concatenate the date, the hour and the actual minute to the url, this has to change dynamically with php.

That way every minute the request will be diferent forcing the proxy to reload the image.

For example this image:
http://btcticker.appspot.com/mtgox/1.00btc2eur.png

Will turn into:
http://btcticker.appspot.com/mtgox/1.00btc2eur.png?anticache=201312182259

Now, with the proxy:
https://images.weserv.nl/?url=btcticker.appspot.com/mtgox/1.00btc2eur.png%3Fanticache=201312182254&fnr

Note: use %3F to encode ? and %26 to encode &.


The format is YEAR MONTH DAY HOUR MINUTE

This way we have a 60 seconds cache + https in images + not leaking ips to whitelist domains

This method will only be used by domains that need to avoid the cache.

That means you need to update the link every time you need it to update which somewhat defeats the purpose.

Has anyone checked whether the proxy respects the standard cache headers and options?

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
rme
Hero Member
*****
Offline Offline

Activity: 756
Merit: 504



View Profile
December 19, 2013, 06:39:14 AM
 #76

btcticker.appspot.com / https://github.com/vrotaru/btcticker desperately needs to be whitelisted, and any other price converters without viewer IP tracking. So fucking off, I have to choose between deleting them or hoping nobody holds me to the old cached versions in my topics.

A fix for this can be to make a list of domains that need to avoid cache.

Then, concatenate the date, the hour and the actual minute to the url, this has to change dynamically with php.

That way every minute the request will be diferent forcing the proxy to reload the image.

For example this image:
http://btcticker.appspot.com/mtgox/1.00btc2eur.png

Will turn into:
http://btcticker.appspot.com/mtgox/1.00btc2eur.png?anticache=201312182259

Now, with the proxy:
https://images.weserv.nl/?url=btcticker.appspot.com/mtgox/1.00btc2eur.png%3Fanticache=201312182254&fnr

Note: use %3F to encode ? and %26 to encode &.


The format is YEAR MONTH DAY HOUR MINUTE

This way we have a 60 seconds cache + https in images + not leaking ips to whitelist domains

This method will only be used by domains that need to avoid the cache.

That means you need to update the link every time you need it to update which somewhat defeats the purpose.

Has anyone checked whether the proxy respects the standard cache headers and options?

No, php of bitcointalk does that.
Richy_T
Legendary
*
Offline Offline

Activity: 2422
Merit: 2113


1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k


View Profile
December 24, 2013, 07:51:36 PM
 #77

My thought was that Theymos would not want to do that. But I guess if the code to support the proxy is in there anyway, it's just another minor mod on top.

1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
theymos (OP)
Administrator
Legendary
*
Offline Offline

Activity: 5180
Merit: 12900


View Profile
December 27, 2013, 01:48:20 AM
 #78

bitcointalk.org now runs its own image proxy. GIFs will work now, and images will not be cached. However, images that don't load completely after a few seconds will still not work, and invalid URLs in [img] tags are less likely to work than before. Images must not be larger than 1.5 MB. You are only allowed to download so many images via the proxy before you're banned for a while, but no one acting reasonably should run into this. The proxy can't be used except through posts. Old image URLs will expire after a few months.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
BadBear
v2.0
Legendary
*
Offline Offline

Activity: 1652
Merit: 1127



View Profile WWW
December 27, 2013, 01:52:42 AM
 #79

Testing.

1Kz25jm6pjNTaz8bFezEYUeBYfEtpjuKRG | PGP: B5797C4F

Tired of annoying signature ads? Ad block for signatures
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1233


May Bitcoin be touched by his Noodly Appendage


View Profile
December 27, 2013, 02:03:49 AM
 #80


Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
Pages: « 1 2 3 [4] 5 6 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!