I have Assets hooked up to S3, and have over 35,000 images indexed. When loading the Assets module file manager, the browser clocks and cannot render the file list. Same thing when selecting a file from the Assets field.

Inspecting the Assets source code, Assets_lib::get_folder_tree() is being called, creating one huge array of all folders/files.

Is there any way to lazy load files into the browser? Is there a setting in Assets to do this? Or how do others handle a large quantity of files? Is there a different module that will give me the S3 hookup and still handle a large quality (I am willing to sacrifice UI/design if I can find a solution to this issue).

Any direction would be appreciated, I am planning on using over 200,000 images in the future.

  • EE 2.5.5
  • Assets 2.1

UPDATE: I have over 6,500 folders within my S3 bucket. Although the files are being lazy loaded as noted in the comments, the folders are not - this is where I believe the issue to be.

  • I have a situation very similar to this and previous dev resorted to using text input fields and pasting the images one by one which of course isn't very UF.
    – Natetronn
    May 10 '13 at 15:33
  • Thanks for that - I agree that makes for a very poor experience for the admin; there has to be a way for EE to be able to handle this situation. May 10 '13 at 15:38
  • Hey Ben - as you know from email I've asked our devs to look at this. :) Thank you!
    – Lisa
    May 10 '13 at 15:57
  • I've never had a chance to try it though, Channel Images may be a option.
    – Natetronn
    May 10 '13 at 15:57
  • Benjamin, get_folder_tree, as the name implies, generates just the structure for folders and it is being used in the sidebar. Files are being loaded after the page renders via Ajax call and are being lazy-loaded 100 at a time - this sounds like a mis-diagnosis and if you email support@pixelandtonic.com, I'd be more than happy to look into to see what's killing it for you. edit: ah, my bad, just noticed the email. May 13 '13 at 7:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.