Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After installing the Node Gallery for Drupal 7, we've been testing to create some galleries. 2 problems appeared:
- Uploaded images are not shown in the 'view' tab. They are visable under 'manage items' and 'sort items'
- A numerous of 'blob' files appeared in the 'manage items' list
Anybody familiar with this problem or have a solution?
Comment | File | Size | Author |
---|---|---|---|
#3 | Schermafbeelding 2012-09-26 om 18.25.45.png | 31.76 KB | Plankenkoorts01 |
Comments
Comment #1
Plankenkoorts01 CreditAttribution: Plankenkoorts01 commentedFirst problem is fixed after a clean installation of drupal.
'blob' files still appear, even after clean install.
Comment #2
zengenuity CreditAttribution: zengenuity commentedI don't really understand what you mean by "blob" files. Can you provide a screenshot?
Comment #3
Plankenkoorts01 CreditAttribution: Plankenkoorts01 commentedSee attachment.
But! I found the solution. The problem was in the plupload module. 'Chunk' size was set to 1mb, resulting in all files larger than 1mb end up in a 'blob' file like you see in the attachment.
Changing the chunk size in de plupload.module fixed this problem!
Comment #4
Plankenkoorts01 CreditAttribution: Plankenkoorts01 commentedComment #5
zengenuity CreditAttribution: zengenuity commentedActually, I was able to replicate your problem, and this is something that needs to be fixed in Node Gallery API. You shouldn't edit the Plupload module to do this because it requires larger max upload sizes on your web server.
I have committed changes to fix this issue: http://drupalcode.org/project/node_gallery.git/commit/afcad22
Please reset your changes to Plupload and either grab the patch from the commit page above or use a dev release dated 2012-Sep-27 or later.
Let me know if it works for you.
Comment #6
scroogie CreditAttribution: scroogie commentedHi zen,
are you sure with the removals in the js file? One part is the gallery creation, and the other is waiting for plupload in case it gets initialised later through drupal (system module order).
Cheers
Comment #7
Plankenkoorts01 CreditAttribution: Plankenkoorts01 commentedI did as you said and this seem to be a solution too! It fixed the blob problem, while chunk size is set back to 1mb.
Thank you!
Comment #8
zengenuity CreditAttribution: zengenuity commentedscroogie,
The Plupload module changed a bunch from D6 to D7. It doesn't do any of the post-upload processing that it used to. It just provides a form widget, and you're expected to create your own upload handling. On the plus side, you don't have to mess around much with javascript to get it working. Everything is done with options on the plupload form element. Until this commit, I wasn't even loading the ng_plupload.js file. It was just left over.
Gallery creation would only be an issue with the upload new gallery wizard, which isn't implemented in the D7 version at all right now. Not opposed to bringing it back, but just haven't had time to deal with it.
Comment #9
zengenuity CreditAttribution: zengenuity commented