leonardo
Posts: 0
Joined: Thu Mar 14, 2013 7:04 pm

Connecting to xml on local storage

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.

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

Connecting to xml on local storage

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.

leonardo
Posts: 0
Joined: Thu Mar 14, 2013 7:04 pm

Connecting to xml on local storage

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.

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

Connecting to xml on local storage

Looks like a bug. Testing...

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

Connecting to xml on local storage

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?

leonardo
Posts: 0
Joined: Thu Mar 14, 2013 7:04 pm

Connecting to xml on local storage

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

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

Connecting to xml on local storage

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

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

Connecting to xml on local storage

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

leonardo
Posts: 0
Joined: Thu Mar 14, 2013 7:04 pm

Connecting to xml on local storage

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

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

Connecting to xml on local storage

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...

Return to “Issues”