<img src="[[+projekt-images]]" ... /> [[+projekt-description]]
[[IF [[+projekt-images]] is:not empty then: <img src="[[+projekt-images]]" class="img-responsive section-sm center-block" alt="" title="" />]] [[IF [[+projekt-description is:not empty then: [[+projekt-description]]]]
This question has been answered by multiple community members. See the first response.
[[+projekt-images:isnot=``:then=`<img src="[[+projekt-images]]" ... />`]] [[+projekt-description:isnot=``:then=`[[+projekt-description]]`]]
Raw editing is a way too hard by now cause i don't understand how to change the code to affect what i need.<img src="[[+projekt-single-image]]" ... />
<img src="[b]assets/img/[/b]filename.jpg" ... />
[[!getImageList? &tvname=`migx-projekt-items` &tpl=`migx-projekt-items-tpl`]]
{
"formtabs":[
{
"MIGX_id":28,
"caption":"Item-Typ ausw\u00e4hlen",
"print_before_tabs":1,
"fields":[
{
"MIGX_id":74,
"field":"fake",
"caption":"",
"description":"",
"description_is_code":"0",
"inputTV":"",
"inputTVtype":"",
"validation":"",
"configs":"",
"restrictive_condition":"",
"display":"none",
"sourceFrom":"config",
"sources":"",
"inputOptionValues":"",
"default":"",
"useDefaultIfEmpty":"0",
"pos":1
}
],
"pos":1
},
{
"MIGX_id":31,
"caption":"Projektbild",
"print_before_tabs":"0",
"fields":[
{
"MIGX_id":72,
"field":"projekt-single-image",
"caption":"Projektbild ausw\u00e4hlen",
"description":"",
"description_is_code":"0",
"inputTV":"",
"inputTVtype":"image",
"validation":"required",
"configs":"",
"restrictive_condition":"",
"display":"",
"sourceFrom":"migx",
"sources":[
{
"MIGX_id":1,
"context":"project",
"sourceid":3
}
],
"inputOptionValues":"",
"default":"",
"useDefaultIfEmpty":"0",
"pos":1
},
{
"MIGX_id":73,
"field":"projekt-single-image-alt",
"caption":"Alternativtext",
"description":"alt-tag for this image",
"description_is_code":"0",
"inputTV":"",
"inputTVtype":"",
"validation":"",
"configs":"",
"restrictive_condition":"",
"display":"",
"sourceFrom":"config",
"sources":"",
"inputOptionValues":"",
"default":"",
"useDefaultIfEmpty":"0",
"pos":2
}
],
"pos":2
}
],
"contextmenus":"",
"actionbuttons":"",
"columnbuttons":"",
"filters":"",
"extended":{
"migx_add":"Projekt-Item hinzuf\u00fcgen",
"disable_add_item":"",
"add_items_directly":"",
"formcaption":"Auswahl",
"update_win_title":"Projekt-Item",
"win_id":"form-projekt-bild",
"maxRecords":"",
"addNewItemAt":"bottom",
"multiple_formtabs":"7||6",
"multiple_formtabs_label":" ",
"multiple_formtabs_field":"",
"multiple_formtabs_optionstext":"Bild",
"multiple_formtabs_optionsvalue":"",
"actionbuttonsperrow":4,
"winbuttonslist":"",
"extrahandlers":"",
"filtersperrow":4,
"packageName":"",
"classname":"",
"task":"",
"getlistsort":"",
"getlistsortdir":"",
"sortconfig":"",
"gridpagesize":"",
"use_custom_prefix":"0",
"prefix":"",
"grid":"",
"gridload_mode":1,
"check_resid":1,
"check_resid_TV":"",
"join_alias":"",
"has_jointable":"yes",
"getlistwhere":"",
"joins":"",
"hooksnippets":"",
"cmpmaincaption":"",
"cmptabcaption":"",
"cmptabdescription":"",
"cmptabcontroller":"",
"winbuttons":"",
"onsubmitsuccess":"",
"submitparams":""
},
"columns":""
}"sourceFrom":"migx",
"sourceFrom":"config",