I noticed this happening before on a previous site of mine but was able to correct it with a slight hack... but for my new site I really want to figure out the issue since its coming up again.
I am actually using UberCart where I noticed this but I don't believe its related to UberCart .... rather the ImageCache Module.
I uploaded a photo for the product, and the
code for the photo appears but the photo doesn't appear because the path being generated is incorrect and the path being generated is:
http://127.0.0.1/sites/default/files/imagecache/product_list/macbook-pro...
(product_list) is a present name under ImageCache so that's how that folder name is being generated
However the file is being uploaded to this directory:
http://127.0.0.1/sites/default/files/imagefield_thumbs/macbook-pro.jpg
This "/files/imagefield_thumbs" directory is also appearing on another Drupal site I am currently working on. I have searched all over the settings in Drupal/ImageCache to perhaps try and find a place where I am able to configure the location of where ImageCache files get uploaded but haven't had any luck.
Any one got any ideas?
Thanks I appreciate any help.
Comments
ImageCache and Ubercart
I also have this same problem.
I did enable clean URL's
I did enable clean URL's which now the imagecache/presetname folder's are being created, but when I go to upload images in the product content type for UberCart the images are still going into imagefield_thumbs folder as opposed to the correct imagecache/preset folder....
imagefield_thumbs
I have clean URLs and no problem with the imagefield_thumbs thumbnail getting created. ImageCache is also supposed to make various re-sizes for imagecache/product_full folders, etc, but does not. I think that is where the problem lies. I keep thinking it is a permissions problem, but after trying a few things with permissions, no luck.
I believe I solved the
I believe I solved the issue.
I went into Manage Fields for the field type "image" in the product content type.
In the settings for this field you can add a path to store this particular image in after its uploaded
it makes you put it in /sites/default/files but then lets you add a folder after that I entered in "imageCache/product_full" and now its uploading the images into that folder where UberCart is looking for them.
Hope that helps.
This never worked for me...
Before I made the above change,
It was looking for the image here: sites/default/files/imagecache/product_full/item1.jpg
And storing the image here: sites/default/files/item1.jpg
After the change,
Its looking here: files/imagecache/product_full/imagecache/product_full/collar1.jpg
And storing here: files/imagecache/product_full/collar1.jpg
I am using the latest versions of all modules as of today and have not created any imagecache presets other than the ones that ubercart adds.
Any advice??
Thanks...
http://africanwebscience.co.za
I was having the same issue
I was having the same issue with two of my sites under design. Fixed them both by completely removing all extra folder paths from the CCK field value. Worked for three days, now only the thumbnails are showing up! Damn right annoying this bug!
Perhaps we should log it
Perhaps we should log it somewhere other than here...
Do you think its a CCK, Ubercart, imagecache or something else issue?
http://africanwebscience.co.za
Well as I am not running
Well as I am not running Ubercart it would have to be between CCK and ImageCache
I had to make the Download Method public
I was having a similar problem in Views.
My thumbnail image was here in an imagefield_thumbs directory:
files/imagefield_thumbs/jtreat/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/jtreat/bio_photos/jct06.jpg
The solution was to change the Download Method (in Administer > Site configuration > File System) from Private to Public.
Check your Preset in Imagecache. If you don't see the Drupal preview image being modified by your preset (and see a URL for it instead), then try changing your Download Method to Public.
(I'm using ImageCache and ImageCache UI 6.x-2.0-beta10 in Drupal 6.16.)
("bio_thumbnail" is the Preset Namespace in Imagecache)
("jtreat/bio_photos" ([user]/bio_photos) is the file path set for field_bio_photo in the Bio content type)
First sorry for my english.
First sorry for my english. My writing is not good.
My issue is moved site to new hosting and now I am see strange path for images.
Example:
http://www.mysite.com/sites/mysite.com/files/apple.jpg/apple.jpgHow can I change this where the apple.jpg is double shown?
Thank You!
Solved my problem PROPERLY
Read ImageCache troubleshooting page: http://drupal.org/node/224913
My problem was simply to enable the Clean URLs. I was using my test environment and didn't care much about the mod-rewrite, but that cost me about 2 days...
Just to point one thing that is causing confusion, the directory /files/imagecache/ starts EMPTY and does NOT get filled until a call to the thumbnail required is invoked, upon which time, imagecache will create the thumb in its proper location, which in my example: /files/imagecache/Small/picture_small.jpg. And it makes perfect sense for how "imagecache" should work.
Hope this helps the folks that are still having problem with the incorrect path mirage.
Same problem
Hey,
Had the same problem.
files/imagefield_thumbs is the file usedby node in editing mode and has nothing to do with the problem not showing the thumbs made by imagecache in files/imagecache/
When i looked at my log files i saw my temp file was locked.
Make sure the temp files is set right in /admin/settings/file-system (use tmp instead of /tmp)
This worked for my case hopefully it works for you
Good luck
Yes!!
Thank-you. I was having trouble with imagecache to and you nailed it- changing the location of temp files to tmp.