Aleksandr Pasevin
Posts: 0
Joined: Mon Nov 05, 2012 10:13 am

How to display more than one photo from Tiggzi files storage?

Hi guys, putting many hopes in Tiggzi.

I am testing a basic "instagram"-like functionality. I have managed to implement login function, then from database to take file name and query it to files storage to retrieve. My problem is that i can not populate more than one image into image containers... At bets what I get is the same image in all containers...

Is there any common approach to this or a tutorial I could look at?

Thanks in advance!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to display more than one photo from Tiggzi files storage?

Hello! Could you clarify please how do you populate images? Some screenshots would help.

Aleksandr Pasevin
Posts: 0
Joined: Mon Nov 05, 2012 10:13 am

How to display more than one photo from Tiggzi files storage?

So here is how i get data about files from database and populate it to labels, all is good here.

Image

This is where im having problems... when i console.log() it i get one string with all filenames in it.

Image

This part is ok as well, here i just insert result to image container

Image

P.S. I have two service instances first one get filename from database and on success i call second service to load that file from storage. It looks like this event happens only once..but i want it to happen same amount of times as there are file names.

Aleksandr Pasevin
Posts: 0
Joined: Mon Nov 05, 2012 10:13 am

How to display more than one photo from Tiggzi files storage?

Do you need more clarification? or I could share project with you.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How to display more than one photo from Tiggzi files storage?

You would need to issue a separate request to get the next image.

Aleksandr Pasevin
Posts: 0
Joined: Mon Nov 05, 2012 10:13 am

How to display more than one photo from Tiggzi files storage?

So I will need to create a loop of some sort? Does it mean I will need to write my custom code? Or is it possible to achieve same functionality just by data mapping and just few lines of additional code?
Sorry it took me a while to reply...

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

How to display more than one photo from Tiggzi files storage?

Hello Aleksandr,

Unfortunately you cannot do it using standard mapping tools. One RESTService is not able to get more than one database images.
You can try to write JS code which uses ajax to get image from database, but it's not that ease.

Aleksandr Pasevin
Posts: 0
Joined: Mon Nov 05, 2012 10:13 am

How to display more than one photo from Tiggzi files storage?

Thats what I was afraid off :] But anyway, thanks for your quick and helpful replies. I will start digging deeper ;]

Return to “Issues”