There doesn't seem to be any pattern to which images will and will not work. At first none of them worked, then I zipped them using another program and all but one file worked. What could possibly be causing this? The images all seem to be perfectly fine. I was also unable to find any documentation for the module, so I'm posting here.

* file_check_upload = SUCCESS
* Creating Directory sites/default/files/pblog/6
* Creating strip hollister
* Creating thumbnail hollister
* Creating medium image hollister
* Creating strip IMG_0834
* Creating thumbnail IMG_0834
* Creating medium image IMG_0834
* Creating strip IMG_5319
* Creating thumbnail IMG_5319
* Creating medium image IMG_5319
* Creating strip whitneysunrise
* Creating thumbnail whitneysunrise
* Creating medium image whitneysunrise
* Creating strip yosemite
* Creating thumbnail yosemite
* Creating medium image yosemite
* Pblog asdf has been created.

* Unable to creating strip avatar
* Unable to creating thumbnail avatar
* Unable to creating medium image avatar

The image file was avatar.jpg, a small 9.6kb 90x90 image.

Comments

baldy’s picture

Hi donryanocero,
I am not sure what the problem is, but a few suggestions
- The image might be too small, as it is smaller than the thumbnails it tries to create.
- The script maybe timing out for some reason, if you rebuild the pblog does it then create the thumbnail images?
- Does it always work with smaller sets of images?

If you can post the zip file I can test it for you. I do not have much time to make any changes to the code at the moment but will try my best.

Regards
Baldy.

baldy’s picture

There is this patch available, that I have not put in CVS yet, http://drupal.org/node/681260
It might be worth trying.

Regards
Baldy

donryanocero’s picture

It seems that it was because the file was smaller than the smallest of thumbnails, so it errors out.

Also, it seems that my previous problems were fixed when I used Xarchiver over the basic zip utils, or maybe when I switched to the development version.

Now my problem is that I can't upload a zip file of any decent size. The biggest I've pulled off is 1.6mb, but i need to be uploading archives from 10-50mb. It just hangs for a few minutes then brings me back to a blank post pblog page.

www.ryandunne.net/blog

baldy’s picture

Assigned: Unassigned » baldy

Hey donryanocero,
Thanks for the feedback, I will add some error checks in the next version to avoid this problem.

Regards
Baldy