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?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Plankenkoorts01’s picture

First problem is fixed after a clean installation of drupal.

'blob' files still appear, even after clean install.

zengenuity’s picture

I don't really understand what you mean by "blob" files. Can you provide a screenshot?

Plankenkoorts01’s picture

See 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!

Plankenkoorts01’s picture

Status: Active » Fixed
zengenuity’s picture

Status: Fixed » Active

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

scroogie’s picture

Hi 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

Plankenkoorts01’s picture

I 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!

zengenuity’s picture

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

zengenuity’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.