ChronoConnectivity v5 view image

angykristal 15 Aug, 2014
Hello everyoneπŸ™‚

I uploaded a photo with chronoform v5 in the path of uploads

and I entered in field image frontlist.

I state that in ChronoConnectivity v5 I have already 'also added the model called "lnt" and related fields in the field list column

lnt.nomefields1: title
lnt.image: logo

Finally, I put the names in the field of logo and title fields always in frontlist.

I have already 'checked that the image has been loaded in the correct directory and should appear in the display table but unfortunately it appears only an empty square, the field title reads it perfectly.

😟 Someone can 'help me? where am I wrong? : o
thanks in advance and good mid-August: D
GreyHead 15 Aug, 2014
Hi angykristal,

If you look at the page source where the empty square appears what HTML is there?

angykristal 15 Aug, 2014
hi bob
thanks for your attention

appear this link for image :

set table db create in chronoforms and save image in file2
model is lnt

set frontlist :

column list :

html: ? nothing but test is code:
lnt.file2:<img src="lnt[file2]"/> ( idem not appear image)



link direct file image function:

πŸ™„ angy
angykristal 16 Aug, 2014
hi bob
i'm sorry for my last post confused :? but 😲

source html is appear in edit:
<td class="td-lnt.file2" style=""><img src="http://miodominio/components/com_chronoforms5/chronoforms/uploads/nome_form/" /></td>

thanks anticipation greats
angykristal 17 Aug, 2014
:D hi bob -

hello everyone

πŸ˜‰ I finally solved using the body of the custom, after taking a few examples of the v4 version, this way I can also customize the list, thanks a lot of the great fantastic tool.πŸ˜€ I solved thanks to some threads that showed the difference of the fields to be included in a different way from v4 :

$alfa= $row['lnt']['file2'];
$beta='<img src="';
$teta='" />';
echo $beta.$delta.$alfa.$teta ;

πŸ˜€ πŸ˜€ πŸ˜€

thank you very much
πŸ˜€ angy
GreyHead 20 Aug, 2014
Hi angy,

Well done - that's good.

Here's a way to code it that is a bit easier to read:
$file= $row['lnt']['file2'];
echo "<img src='{$path}{$file}' />";

This topic is locked and no more replies can be posted.