How to show thumbnail immagine in cronoconnectivity

georgeverges 07 Apr, 2014
Hello everybody,

I have a form with Name, Surname and Upload File.
In my database mysqli, i have a table fields name, surname and photo.
The form and chronoconnectivity page works fine.

On chronoconnectivity instead of read the file photo.jpg I would like to see a thumbnail of the photo that has been uploaded.
Is it possible?

Thanks all,
George
GreyHead 07 Apr, 2014
Hi George,

I have done this by using the Image Resizer action in the ChronoForm that creates the record to create a thumbnail version then showing that by using an <img> tag in a Custom Listing.

I guess that if you save the whole <img> tag to a database table it would also work with a Standard Listing.

Bob
georgeverges 08 Apr, 2014
Hello Bob,

Thanks for the advice, but sorry I am new on it...

Could you please help me with it, just give an example about the code with my case...

Where should I add the code, chronoform or chroconnectivity?
The field in my table is 'foto'
I already have a image resizer that works fine
The problems is how to show.... I dont know where to put the code... and which code

Thanks very much...
hope hear from y soon
GreyHead 09 Apr, 2014
Hi George,

it needs to be in ChronoConnectivity probably,. How is your listing set up?

Bob
georgeverges 09 Apr, 2014
Hi Bob,

What do you mean how is my listing setting up?

Everything is default from Joomla 3.2 with Chronoform and Chronoconnectivity...

There is not settings made by myself...

Thanks,
i hope hearing from you soon
George
GreyHead 10 Apr, 2014
Hi George,

ChronoConnectivity has two main listing options - an automatic one or a Custom listing.

If you are using the Custom Listing then it's simple to add an image tag in the body section.

If you are using the automatic one then you can include an image tag if the full tag is saved in the database table; and you 'may' be able to build one from the image file name but I don't know how to do that.

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