When uploading an image, it go to the right folder: /files

But the thumbnails images (afer the preset work) also go to /file and not to /files/imagecache like it should be, and the sub-folder /files/imagecache/thumbnails (thumbnails is the preset name) doesn't even create.

How to fix it?

Comments

Kessin’s picture

As near as I can tell, I'm having the same issue. While I'm in edit I can see the pics I've uploaded but once I save the post they don't show. I checked my /default/files and everything is going there, except one preset which isn't being created at all. I looked in /default/files/imagecache and none of the uploads are there.

Bobuido’s picture

This is quite a common problem and is_more_likely_ a Drupal or server configuration issue than a problem / bug

If you haven't already found the following nodes, these might help:

Troubleshooting imagecache
http://drupal.org/node/224913

Troubleshooting imagecache migration
http://drupal.org/node/346042

I've gone through just about everything I can think of to get this version (5.x-2.3) to work on the staging server

Annoyingly it was a breeze to setup on my Ubuntu dev environment

With your next post, try to describe:
What you've done (config: file system working, cleanURLs working etc.)
What software you have (Versions of Drupal, PHP, modules etc.)

I'm currently trying to get a bit more feedback from the server but I'll have to make a similar post very soon it would seem!

Apache error logs are not helping me get to the bottom of this!

Kessin’s picture

Thanks Bobuido! The trouble shooting page was exactly what I needed. I had a space and a "&" in my image file names. I just changed this and I'm good. They mentioned getting a module to make it work, but I don't really want any more modules if I can get away w/ it. =)

Wish I could help w/ your problem, but if I get too deep in Apache & DB's I'm kinda' lost. =) Are you going to upgrade anytime soon? / Would that even fix it?

Bobuido’s picture

You're welcome Kessin. I'm glad it was a simple fix for you

Unfortunately I think I've checked / tested pretty much everything on the troubleshooting page

File system works
CleanURLs work
Image toolkits work

:S

I'm 99.9% sure this is a server issue...enhanced security perhaps? I might set up a fresh Drupal or two (with only ImageAPI and Imagecache installed). Both with identical code but running in two different environments

Kessin’s picture

Just for anyone interested, I went back and loaded some more pics with spaces in the names and they worked just fine. I think it was the "&" that was keeping the others from working, and not the spaces.

drewish’s picture

Status: Active » Fixed

ah, sound like #357569: Add support for transliteration in the module would help here.

http://drupal.org/node/224913 should address most of these issues already.

Status: Fixed » Closed (fixed)

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