Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does a colon in URL mean?

Tags:

url

I've seen this image URL today and I'm wondering what is this ":small" at the end. Is this something related to the CMS used by Twitter? Or can this be used with any image URL?

https://pbs.twimg.com/media/B9GOfXNIIAAxb0H.jpg:small

Thanks

like image 588
mathiasfk Avatar asked Feb 05 '15 19:02

mathiasfk


1 Answers

colon ":" is not a special character in the url encoded strings, so the :small is part of the requested file name. The server side code use these flags in this case to be able serve the images in different size.

like image 83
szpetip Avatar answered Sep 28 '22 02:09

szpetip



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!