Hello,
I would like to display a CC6-form photo that has been uploaded to a CF6 form and stored on the server.
The single file name is stored in a table in the "photo" column. Only if I attach the file name directly to the img-url, then the photo will be displayed to me.
I could not find the problem.
the form:
name: beob_foto_form
data provider: {var:read_beob}
action url: beof_id={data:beof_id}&article_id={data:article_id}
content-box:
<div><img src="components/com_chronoforms6/chronoforms/uploads/{Fund.photo}" /></div>
Events-tab: view-foto
{fn:read_beob}
{view:beob_foto_form}
{debug:read_beob}
the browser-grafic-info:
.../components/com_chronoforms6/chronoforms/uploads/%7Bfoto.photo%7D
and the debugger:
I would like to display a CC6-form photo that has been uploaded to a CF6 form and stored on the server.
The single file name is stored in a table in the "photo" column. Only if I attach the file name directly to the img-url, then the photo will be displayed to me.
I could not find the problem.
the form:
name: beob_foto_form
data provider: {var:read_beob}
action url: beof_id={data:beof_id}&article_id={data:article_id}
content-box:
<div><img src="components/com_chronoforms6/chronoforms/uploads/{Fund.photo}" /></div>
Events-tab: view-foto
{fn:read_beob}
{view:beob_foto_form}
{debug:read_beob}
the browser-grafic-info:
.../components/com_chronoforms6/chronoforms/uploads/%7Bfoto.photo%7D
and the debugger:
Array ( [log] => Array ( [0] => SELECT `Fund`.`beof_id` AS `Fund.beof_id`, `Fund`.`user_id` AS `Fund.user_id`, `Fund`.`beo_id` AS `Fund.beo_id`, `Fund`.`mapid_v` AS `Fund.mapid_v`, `Fund`.`datum` AS `Fund.datum`, `Fund`.`species` AS `Fund.species`, `Fund`.`anzahl` AS `Fund.anzahl`, `Fund`.`stadium` AS `Fund.stadium`, `Fund`.`geschlecht` AS `Fund.geschlecht`, `Fund`.`beobachtung` AS `Fund.beobachtung`, `Fund`.`bestimmung` AS `Fund.bestimmung`, `Fund`.`bemerkung` AS `Fund.bemerkung`, `Fund`.`photo` AS `Fund.photo`, `Fund`.`created` AS `Fund.created`, `Fund`.`modified` AS `Fund.modified` FROM `mtb_beobachtung` AS `Fund` WHERE `Fund`.`beo_id` = '4051_2_s.jpg' AND `Fund`.`species` LIKE '%%' GROUP BY `Fund.beof_id`; ) [var] => Array ( ) )