Page 3 of 3

Connecting to xml on local storage

Posted: Mon Mar 18, 2013 6:05 pm
by leonardo

Thanks. I got the image now.
What JS code would I add to show the filter name on the startScreen?
Also if I want to get do a filter result how can I do that?
I would like to know both so I can see which would be best for my app.


Connecting to xml on local storage

Posted: Mon Mar 18, 2013 6:20 pm
by Maryna Brodina

What JS code would I add to show the filter name on the startScreen? - Sorry, we don't have any sample code, it should be coded by you.

Also if I want to get do a filter result how can I do that? - if I understand you correctly you mean saving value from Input field to localStorage and in mapping should be JS code to check results. This approach is more complicated and slowly.


Connecting to xml on local storage

Posted: Mon Mar 18, 2013 6:39 pm
by leonardo

Ok. I noticed that when I downloaded the images a bunch of numbers were added to the names and sometimes to the file example, like Rodrigo_Mull122300124.gif or even Rodrigo_Mull.gif122300124. The extraneous digits cannot be renamed in the file extension. This will be a problem in a situation with hundreds of images. This behavior happened in drag & drop and also in straight file import.


Connecting to xml on local storage

Posted: Mon Mar 18, 2013 6:51 pm
by Maryna Brodina

Looks like a bug. Testing...


Connecting to xml on local storage

Posted: Mon Mar 18, 2013 7:27 pm
by Maryna Brodina

I was not able to reproduce it. Tigzzi editor adds that numbers to make image's names unique. So I uploaded image with name pic1.gif, after that uploaded again the same image which was automatically renamed to pic1_1363633045.gif (but not to pic1.gif1363633045). Also I was able to rename that picture. Could you show us a screenshot of images with such names?


Connecting to xml on local storage

Posted: Mon Mar 18, 2013 9:15 pm
by leonardo

Please check out my shared project. The name is too long to show on a screenshot. But this is it in the code:

code
<div class="media-list-item asset-thumbnail false active" data-tiggzi-action="clickAsset" data-tiggzi-assetid="2108971">
<a class="thumbnail" href="javascript: void(0);" rel="tooltip" data-original-title="Bell_Smart_1363640946&#46;gif1363640946697">
<div class="content">
<img src="http:&#47;&#47;project&#46;tiggzi&#46;com&#47;rest&#47;html5&#47;asset&#47;2108971&#47;data?text=false" alt="asset ID: 2108971" title="asset ID: 2108971">
<&#47;div>
<div class="caption">
Bell_Smart_13636&#46;&#46;&#46;
<&#47;div>
<&#47;a>
<&#47;div>
/code


Connecting to xml on local storage

Posted: Mon Mar 18, 2013 9:22 pm
by Maryna Brodina

Thank you for that. We'll continue testing and researching.


Connecting to xml on local storage

Posted: Tue Mar 19, 2013 4:46 pm
by Maryna Brodina

Hello! Still can't reproduce it. Are there any additional steps?


Connecting to xml on local storage

Posted: Wed Mar 20, 2013 7:12 pm
by leonardo

Marina,
It happens when files are dropped or when they are uploaded.


Connecting to xml on local storage

Posted: Wed Mar 20, 2013 7:16 pm
by Maryna Brodina

Hi, even with the new project? I just were not able to reproduce it with the new one. I've tried different files - jpg, gif, png. No luck...