Picture support in Drupal is enabled.
Clean-urls is enabled
Imagecache and ImageAPI are installed and enabled
Imagecache Presets are created.

When I upload a photo for a user I don't see anything in my imagecache folder. I even tried it in Drupal 5.2. I just can't get imagecache to create an image but Im sure there is something Im missing.

Comments

WorldFallz’s picture

IIRC, imagecache doesn't automatically integrate with the default user picture.... see Imagecache Example: User Profile Pictures

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

Chippe’s picture

Hi WorldFallz,

Ok, I understand what you mean but I should be able to see a picture in my imagecache folder.
After Imagecache preset is configured they write that you should upload a photo for your user on the site.

Try it out by uploading a photo for your user on the site (at least 100x100 pixels!), then accessing the URL to the cached image directly. Let's say you're user #1 and you've already uploaded a picture using the default location of /files/pictures/picture-1.jpg. Then try accessing the cached image at: /files/imagecache/thumb/files/pictures/picture-1.jpg."

Now Im supposed to see a picture but I don't.
When it works the next step is to override the default theme_user_picture function.

Edit: It must have been some kind of a bug.
I disabled clean-urls and it worked for some reason. I turned it back on and it still works!
It only took me about 20 hours in front of the computer to figure it out :-)

WorldFallz’s picture

lol, excellent. it might have been a caching issue. in d6 you can clear the cache at admin/settings/performance

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

Chippe’s picture

Thank you for the tip.
I'll try to remember that for my next issues.