{"action":"created","issue":{"url":"https://api.github.com/repos/contao/core/issues/448","labels_url":"https://api.github.com/repos/contao/core/issues/448/labels{/name}","comments_url":"https://api.github.com/repos/contao/core/issues/448/comments","events_url":"https://api.github.com/repos/contao/core/issues/448/events","html_url":"https://github.com/contao/core/issues/448","id":2386644,"number":448,"title":"Bildergalerie: Dateinamen als Bildunterschrift","user":{"login":"importer","id":1215373,"avatar_url":"https://avatars.githubusercontent.com/u/1215373?v=3","gravatar_id":"","url":"https://api.github.com/users/importer","html_url":"https://github.com/importer","followers_url":"https://api.github.com/users/importer/followers","following_url":"https://api.github.com/users/importer/following{/other_user}","gists_url":"https://api.github.com/users/importer/gists{/gist_id}","starred_url":"https://api.github.com/users/importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/importer/subscriptions","organizations_url":"https://api.github.com/users/importer/orgs","repos_url":"https://api.github.com/users/importer/repos","events_url":"https://api.github.com/users/importer/events{/privacy}","received_events_url":"https://api.github.com/users/importer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/contao/core/labels/feature","name":"feature","color":"4183c4"}],"state":"closed","locked":false,"assignee":{"login":"leofeyer","id":1192057,"avatar_url":"https://avatars.githubusercontent.com/u/1192057?v=3","gravatar_id":"","url":"https://api.github.com/users/leofeyer","html_url":"https://github.com/leofeyer","followers_url":"https://api.github.com/users/leofeyer/followers","following_url":"https://api.github.com/users/leofeyer/following{/other_user}","gists_url":"https://api.github.com/users/leofeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/leofeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leofeyer/subscriptions","organizations_url":"https://api.github.com/users/leofeyer/orgs","repos_url":"https://api.github.com/users/leofeyer/repos","events_url":"https://api.github.com/users/leofeyer/events{/privacy}","received_events_url":"https://api.github.com/users/leofeyer/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2011-11-29T16:16:02Z","updated_at":"2015-07-20T13:04:35Z","closed_at":"2011-11-29T16:16:06Z","body":"Mein Wunsch für die **Bildergalerie** wäre, dass man als Bildunterschrift in der Vorschau (bevor man das Bild zum vergrößern anklickt) unter dem Bild zusätzlich die Möglichkeit bekommt, eine Bildunterschrift darzustellen. Die Bildunterschrift wäre sinnvollerweise der Dateiname, so wie es auch schon dann implementiert ist, wenn man das Bild zum vergrößern anklickt.\n\n_Dies wäre nach meiner Vorstellung einfach einzustellen, indem man einen zusätzlichen haken bei \"Bildunterschriften hinzufügen\" macht, damit für alle Bilder die Dateinamen als Bildunterschriften **automatisch** angezeigt werden._\n\nSo eine ähnliche Funkion existiert bereist mithilfe der Datei meta.txt, doch um Bildunterschriften von ca. 100 Bildern zu erstellen, wäre dieser Umweg etwas sehr aufwändig.\n\nIch hoffe jetzt, dass diese Erklärung verständlicher als die erste war und bitte darum, bei einer unverständlichen Erklärung nicht um sofortige Schließung des Tickets\n\nlg\nVali\n\n[Download the attachments](http://www.contao.org/tl_files/tickets/448.zip \"Download the attachments of this ticket\")\n\n--- _Originally created by anonymous on January 24th, 2009, at 09:17pm (ID 448)_"},"comment":{"url":"https://api.github.com/repos/contao/core/issues/comments/122877158","html_url":"https://github.com/contao/core/issues/448#issuecomment-122877158","issue_url":"https://api.github.com/repos/contao/core/issues/448","id":122877158,"user":{"login":"leofeyer","id":1192057,"avatar_url":"https://avatars.githubusercontent.com/u/1192057?v=3","gravatar_id":"","url":"https://api.github.com/users/leofeyer","html_url":"https://github.com/leofeyer","followers_url":"https://api.github.com/users/leofeyer/followers","following_url":"https://api.github.com/users/leofeyer/following{/other_user}","gists_url":"https://api.github.com/users/leofeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/leofeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leofeyer/subscriptions","organizations_url":"https://api.github.com/users/leofeyer/orgs","repos_url":"https://api.github.com/users/leofeyer/repos","events_url":"https://api.github.com/users/leofeyer/events{/privacy}","received_events_url":"https://api.github.com/users/leofeyer/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T13:04:35Z","updated_at":"2015-07-20T13:04:35Z","body":"Dieser Teil des `gallery_default`-Templates\r\n\r\n```html\r\n            <?php if ($col->caption): ?>\r\n              <figcaption class=\"caption\"><?= $col->caption ?></figcaption>\r\n            <?php endif; ?>\r\n```\r\n\r\nwird zu\r\n\r\n\r\n```html\r\n            <figcaption class=\"caption\"><?= $col->caption ?: $col->alt ?></figcaption>\r\n```\r\n"}}