{"action":"created","issue":{"url":"https://api.github.com/repos/TN03/XH_split/issues/28","repository_url":"https://api.github.com/repos/TN03/XH_split","labels_url":"https://api.github.com/repos/TN03/XH_split/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/TN03/XH_split/issues/28/comments","events_url":"https://api.github.com/repos/TN03/XH_split/issues/28/events","html_url":"https://github.com/TN03/XH_split/issues/28","id":199443457,"number":28,"title":"Größere Flaggen für die Sprachauswahl","user":{"login":"lck-git","id":22255655,"avatar_url":"https://avatars.githubusercontent.com/u/22255655?v=3","gravatar_id":"","url":"https://api.github.com/users/lck-git","html_url":"https://github.com/lck-git","followers_url":"https://api.github.com/users/lck-git/followers","following_url":"https://api.github.com/users/lck-git/following{/other_user}","gists_url":"https://api.github.com/users/lck-git/gists{/gist_id}","starred_url":"https://api.github.com/users/lck-git/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lck-git/subscriptions","organizations_url":"https://api.github.com/users/lck-git/orgs","repos_url":"https://api.github.com/users/lck-git/repos","events_url":"https://api.github.com/users/lck-git/events{/privacy}","received_events_url":"https://api.github.com/users/lck-git/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2017-01-08T20:15:05Z","updated_at":"2017-01-11T00:56:27Z","closed_at":null,"body":"Ich schlage vor als Standard die [größeren Flaggen](http://www.cmsimple-xh.org/de/?Download-Bereich:Flaggen_f%C3%BCr_Zweitsprachen) mit XH_split auszuliefern, auch für CMSimple_XH wäre es sinnvoll. Die kleinen Flaggen sind für mobile Geräte einfach zu winzig."},"comment":{"url":"https://api.github.com/repos/TN03/XH_split/issues/comments/271746223","html_url":"https://github.com/TN03/XH_split/issues/28#issuecomment-271746223","issue_url":"https://api.github.com/repos/TN03/XH_split/issues/28","id":271746223,"user":{"login":"cmb69","id":2306138,"avatar_url":"https://avatars.githubusercontent.com/u/2306138?v=3","gravatar_id":"","url":"https://api.github.com/users/cmb69","html_url":"https://github.com/cmb69","followers_url":"https://api.github.com/users/cmb69/followers","following_url":"https://api.github.com/users/cmb69/following{/other_user}","gists_url":"https://api.github.com/users/cmb69/gists{/gist_id}","starred_url":"https://api.github.com/users/cmb69/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmb69/subscriptions","organizations_url":"https://api.github.com/users/cmb69/orgs","repos_url":"https://api.github.com/users/cmb69/repos","events_url":"https://api.github.com/users/cmb69/events{/privacy}","received_events_url":"https://api.github.com/users/cmb69/received_events","type":"User","site_admin":false},"created_at":"2017-01-11T00:56:27Z","updated_at":"2017-01-11T00:56:27Z","body":"*Bisweilen stelle ich schon recht dümmlich an!*\r\n\r\nHier geht es um eine Verbesserung der Darstellung für den Fall, dass diese vom Browser unterstützt wird. Schimpft sich auf neudeutsch \"Progressive Enhancement\" und kann in diesem Fall leicht per `picture` Element implementiert werden, siehe PR #30 ([Download Komplettpaket](https://github.com/TN03/XH_split/archive/f1d7cb74134b59b84dcae4424d30afca97f17ffb.zip)).\r\n\r\nDie wichtigsten modernen Browser [kennen das `picture` Element](http://caniuse.com/#search=picture) und [können SVG als Bild einbinden](http://caniuse.com/#search=svg); IE (nicht Edge) und Opera Mini fallen halt auf das GIF zurück.\r\n\r\nDer einzige Nachteil, den ich bisher entdecken kann, ist die nun per core.css festgelegt Bildgröße – da müsste halt in manchen Templates nachgebessert werden (alternativ siehe weiter unten).\r\n\r\nUnd dann bliebe immer noch reichlich Raum für Verbesserungen:\r\n* größere GIFs (theoretisch auch noch größere GIFs für höhere Auflösungen, was aber vermutlich durch die SVGs irrelevant ist)\r\n* alternativ PNGs\r\n* serverseitiges Auslesen der GIF-Größe, um diese dann auf das SVG anzuwenden (= maximale Abwärtskompatibilität?)\r\n* eigenes Caching der `file_exists()` (das sollte eigentlich PHP weitgehend übernehmen, aber der Default von `realpath_cache_size` [war bis vor kurzem viel zu klein](https://github.com/php/php-src/pull/2271))\r\n* …"}}
{"actor":{"display_login":"cmb69"}}