I have created several image styles in Drupal 7 (thumbnail, medium, large and xlarge). I also have created a script that imports data from a CSV-file, and copy images to the system.

The script seems to work fine and all images are attached to nodes correctly. Using Views I have created a block that shows nodes of a certain node type, and thumbnails attached to said node. Links to the images is OK in HTML.

Now the problem starts. Some images (thumbnails and large) get created, but some doesn't.

I can not find a reason why the images that doesn't get created should not be created. At first I thought maybe the image size was to big, but this isn't the case. Some images that gets created are bigger than ones that doesn't, and all images are bellow the systems 32 MB limit (from 3 to about 15 MB).

I have no idea where to start looking. All images copied during the import seems fine when opening on my system (OS X).

Can anyone point me to where I can get started at finding what the problem might be?


  • Oh, and one more thing. Some thumbnails that get created does not have a large style image created.
    – pusle
    Jul 5, 2011 at 7:07
  • Jeez how embarrassing! This was a file permission problem :O
    – pusle
    Aug 16, 2011 at 11:29

1 Answer 1


As I commented on the question, this was a file permission problem..

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.