/**
* Filebrowser - Friendica Communications Server
*
- * Copyright (c) 2010-2015 the Friendica Project
+ * Copyright (c) 2010-2021, the Friendica project
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
var embed = "";
if (FileBrowser.type == "image") {
- embed = "[url="+this.dataset.link+"][img="+this.dataset.img+"][/img][/url]";
+ embed = "[url="+this.dataset.link+"][img="+this.dataset.img+"]"+this.dataset.alt+"[/img][/url]";
}
if (FileBrowser.type=="file") {
// attachment links are "baseurl/attach/id"; we need id