Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number of images loaded #27

Open
yharith opened this issue Jun 27, 2014 · 12 comments
Open

Number of images loaded #27

yharith opened this issue Jun 27, 2014 · 12 comments

Comments

@yharith
Copy link

yharith commented Jun 27, 2014

Hi Jacqui,

I have problems loading more than 4000 images..can you help me with a fix

@dpituerdesign
Copy link

Guten Tag,

ich bin vom 23.06 bis zum 13.07 nicht im Büro erreichbar.
In dringenden Fällen können Sie sich an Herrn Michael Helmecke wenden, der unter
der gleichen E-Mail Adresse erreichbar ist.

Mit freundlichen Grüßen
Stephan Neumann

dpi türdesign GmbH - Am Schornacker 109 - 46485 Wesel

Telefon: 0281-9524-0
Telefax: 0281/8519-401
Persönliche Telefonnummer: 0281-9524-172

Internet: www.dpi-tuerdesign.de

dpi türdesign GmbH
Sitz der Gesellschaft: Wesel
Handelsgericht: HRB 10750 Amtsgericht Duisburg
geschäftsführender Gesellschafter: Dominik an der Heiden
Geschäftsführer Vertrieb: Andreas Krogull
kaufmännischer Geschäftsführer: Volker Broecker
Umsatzsteuer-Identifikationsnummer gemäß § 27a Umsatzsteuergesetz: DE 121007566
Hi Jacqui,

I have problems loading more than 4000 images..can you help me with a fix


Reply to this email directly or view it on GitHub:
#27

@JacquiHand
Copy link
Collaborator

Hi

The control isn't really designed to handle more than that kind of number of images. Would it be feasible to split your collection into a number of smaller related collections?

Jacqui

@yharith
Copy link
Author

yharith commented Jun 27, 2014

Jacqui, i have gone through the whole code and why do you think that the pivotviewer is not able to load more than 2 or 3 thousand number of images? Do you think there is no fix for this?

@JacquiHand
Copy link
Collaborator

The complete collection is loaded into memory at once which is why there is an upper limit for a usable collection size.

@yharith
Copy link
Author

yharith commented Jun 27, 2014

So if I load the collection into multiple cxml files, how can I display all of them in the pivotviewer and ensure that all my images load on startup?

@JacquiHand
Copy link
Collaborator

No, unfortunately it would not work like that. You would have to create links between collections using the Related element in the collection. This will result in a link to the related collection from the bottom of the info panel on the right of the screen when an item is selected.

@yharith
Copy link
Author

yharith commented Jun 27, 2014

So it means that at any given point of time, there would be just 2500-3000 images? Also, when I filter my collection based on the checkboxes or the search box, I would seamlessly get the images loaded without having to worry about which collection my images belong to?

@JacquiHand
Copy link
Collaborator

Using related collection linking is much less seamless than that. We have used it to provide paging of search result for example, http://linkeddata.uriburner.com/HtmlPivotViewer/?url=http%3A%2F%2Flinkeddata.uriburner.com%2Fpivot_collections%2Fcollection_2014-06-27_15-47-17.719287.cxml%23%24view%24%3D1 but filtering within the control only work for the loaded collection

@yharith
Copy link
Author

yharith commented Jun 27, 2014

Although I do not see a next button here for my other collection to load, I was able to change the URL to end with D1, D2, etc. I can see that my count on the filter panel still shows the same values for all the three pages.

@JacquiHand
Copy link
Collaborator

If you select an item so that the info panel is displayed on the right hand side of the page you should see links to the previous and next pages. (you may need to scroll down)

@yharith
Copy link
Author

yharith commented Jun 27, 2014

Oh okay. got it. So in this case, I am dealing with three different sets of collections all the time. So if I search for a tile, it would display it only if it is in the corresponding page, right?
I have noticed that I am not having any sorts of issues when I am loading the cxml file. It is only when I am actually trying to render the corresponding images I have an issue. Do you have any suggestions on those lines?

@JacquiHand
Copy link
Collaborator

I would guess it is a similar thing, all the images have to be loaded into memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants