I'd be very pleased if someone will put a check/warning/disclaimer/whatever when using imagecache together with the private download method.
It made me lose two days and a little bit of brain before figuring it out.
the results are unexpected: for me it happened that images weren't downloaded correctly and randomly disappeared!

CommentFileSizeAuthor
#11 Picture 2.png139.37 KBAgentNiles

Comments

drewish’s picture

Category: bug » support
Issue tags: -imagecache, -image, -Private, -random, -download, -disappear

Sorry you ran into problems but it's really hard to understand what your problem is. Could please provide more information?

drewish’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)
elijah lynn’s picture

I am not sure if we are having a similar issue, but we started with a public files directory and later switched to a private method with a folder outside www. The imagecache preset that was created before the move works fine but any presets created after the move do not work. The images do not generate and the folders do not get created. Also the sample preview image of the drupal drop is missing from the preset screen as well.

I will post back if I figure it out but if anyone else knows it would be much appreciated!

crosendahl’s picture

I ran into a similar problem as ElijahLynn, but was able to fix it by resaving all my presets. I assume the original presets got hardwired to the prior directory, and by resaving they get fixed.

ThePeach’s picture

Ok, sorry for the late response, but I still have to figure how to subscribe to issues.
Anyway, I started configuring drupal with a private download method, then added imagecache module, then I had a strange behaviour with views, where randomly some images will not be displayed (I was creating a list of node teasers). This all disappeared two days later when I switched to public download method.

almaceria’s picture

Subscribe

nzcodarnoc’s picture

Subscribe

sydneyshan’s picture

There definately seems to be some sort of conflict between imagecache and the 'private' method of serving files.

I encountered missing/blank images when attempting to display a view (with imagecache thumbnails) to anonymous users.

When authenticated users saw the view the thumbnails appeared.

sydneyshan’s picture

Category: support » bug
Status: Postponed (maintainer needs more info) » Needs work
MrVictor’s picture

Make sure that you've set the right permissions for anonymous users. All ImageCache presets has its own permissions.

AgentNiles’s picture

StatusFileSize
new139.37 KB

I've been using drupal 6 + ubercart 2.x + imagecache + thickbox + private download method (on a IIS6 server) and the thumbnails are visible but thickbox opens the image as ASCII as seen in the screenshot attached.

It seems to be transferred as an image instead of text and I've enabled all the imachecache access rules but it remains the same. The reason I've been using the private download method is security related. I hope there is another solution then using the public method, which fixes this issue for me.

jayctreat’s picture

I've also had a problem with Imagecache and the private Download Method.
I'm using the latest versions: ImageCache and ImageCache UI 6.x-2.0-beta10 in Drupal 6.16.

I experienced the problem as I was trying to get Views to show thumbnail images from an imagefield in a CCK content type.

I used CCK to create a "Bio" content type.
I used Imagefield to put an image ("field_bio_photo") into the Bio content type.
I created an Imagecache preset (with the namespace "bio_thumbnail") to scale the Bio images into thumbnails.
The file path I set for field_bio_photo in the Bio content type was "bio_photos".

Drupal put my thumbnail image in an imagefield_thumbs directory:
files/imagefield_thumbs/bio_photos/jct06.jpg

But Views expected my thumbnail to be here (in an imagecache directory) and so Views couldn't find it:
files/imagecache/bio_thumbnail/bio_photos/jct06.jpg

Furthermore, when I went to the ImageCache User Interface, and looked at the "bio_thumbnail" preset, I couldn't see the preview image (files/imagecache/bio_thumbnail/imagecache_sample.png)!

The solution was to change the Download Method (in Administer > Site configuration > File System) from Private to Public. Then the preview image appears, and Views can find the bio_thumbnails.

And now, I see that I can keep the Download Method private if I just turn on the Permissions for "view imagecache bio_thumbnail" for all users! (See Comment #10 above!)

Jay C. Treat

glennnz’s picture

Subscribe

I'm having the same problem with:

ImageCache 6.x-2.0-beta10
Ubercart 6.x-2.4

The hardcoded presets in Ubercart will only display for User 1.

I've allowed other users to see the presets in permissions, no joy.

glennnz’s picture

Version: 6.x-2.0-beta9 » 6.x-2.0-beta10
Status: Needs work » Active

Updating version etc

glennnz’s picture

Status: Active » Fixed

Found the problem, I was being dumb.

I had CCK permissions enabled and not configured properly. As soon as I disabled that, the images appeared.

merzikain’s picture

Subscribe

Status: Fixed » Closed (fixed)

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