
When publishing the blog entry “The
SIM cards of the passengers of the Moscow metro will be subjected to contactless reading ” on Habrahabr, I typed, as usual, the
element <img src = "..."> and indicated in it the address of the illustration
with the SIM card (located on Wikimedia Commons)
- ht tp: //upload.wikimedia.org/wikipedia/commons/2/2c/Simcard.jpg
However, in the saved blog entry (and later editing it) the address of the image magically took on a different look:
- ht tp: //habr.habrastorage.org/post_images/b0d/064/947/b0d064947a9d80f718ff5abce8e1e1c9.jpg
And then I realized that Habrahabr began to accept for permanent storage those illustrations that are posted in blog entries.
')
This approach has at least four advantages:
- If the remote site stops working, the picture from the blog will disappear. Habrasklad, as far as I understand, is intended to exist as much as Habrahabr itself.
- If the remote site does not sustain habraeffekt, then the picture from the blog will disappear or it will begin to load excessively long, irritating the readers of the blog. Habrasklad, as I understand it, is resistant to habraeffect.
- The owner of the remote hosting loses the ability to analyze the referrer field and other information from the HTTP request headers from Habrahabr readers. Attendance counters of blog entries are made impossible, any surveillance of visitors is made impossible.
- There is no possibility of replacing one picture with another, without touching the blog post, or selectively showing another picture of a part of the readers - and so arrange, for example, some rude joke about the readers. Although it should be noted that such substitutions are often made with good intentions. Well, for example, if a new and improved version of a picture is downloaded to a remote hosting, but much larger, then the blog recording will not be bloated in width.
This approach has at least four disadvantages:
- The address of the picture becomes longer, so the author of the blog is more difficult to meet the limit of the length of such a blog entry, for which the use of habracata is allowed. Previously, it was possible to use hyperlink shorteners to address illustrations, but now it is impossible.
- Habrasklad is famous for its tendency to impose restrictions on the size and scope of illustrations. (And this is a sad glory.) Before, I could publish an example of a long photo panorama made on the HTC One mobile phone, simply by putting it on an external (with respect to Habrahabr) image hosting, and now this example may not fit the constraints and be reduced to indistinguishability.
- The use of external images made it possible to place at the end of the blog recording of the button-picture combined with its click counter. Something like “Tweet! - 150 people tweeted. (Or with a counter of some other quantity. For example, “Donate money to the above-described project! - 320,050 rubles have already been collected.”) Now the picture will stop changing, so this technique is not possible at Habrahabr.
- Previously, at the address of the external illustration, it was sometimes possible to guess its location (and, possibly, to find a larger version of it than that suitable for use in the blog recording, to find additional details and observations). It could be understood: this picture is on Wikimedia Commons (and is used in such and such articles on Wikipedia - this is their automatic list on Wikimedia Commons), that illustration was taken from the media, and the other from image boards, and the third from a popular blog. Now nothing like this can ever be done at.
In any case, I would like to see the further development of this function.
Well, for example, since all the illustrations placed on Habrahabr now remain on it, why not specify their URLs on the Internet instead of allowing the connection of files directly from the disk (excluding the extra step of uploading them to another hosting), as is done, for example ,
in descriptions of problems on Gitkhab.
I was pleased to see at the time that GitHub supports not only a button (more precisely, a hyperlink) that allows you to locate the file on your disk, select and click "Open", but also an alternative pleasant opportunity to drag the file to the desired comment location, there is a “upload file to GitHub” literally:
![[casting pictures on GitHub]](https://habrastorage.org/getpro/habr/post_images/e3e/956/253/e3e956253abe179d36cbbffefbdb4bdb.gif)
It would be nice to see something of the same kind on Habrahabr.