I've installed Ubercart and, using the views module, cloned the product view. In the new product view, I created a block and generated the latest product added to the site. It works fine when admin is logged in (displaying everything), but when the user is not logged in, it shows product information (product name, price, buy now button) but does not display the thumbnail. The only way to see the product thumbnail is by loggin in.

I made sure that the item is unrestricted in the view.

Comments

Web Agent’s picture

I have had similar problems when working with images. The solution to the problem was the permissions area. Takes a bit of looking around but I eventually found that the image_cache module was not visible to the people that were not logged in. To fix the problem go to your permissions and carefully look around for the module/s that handle your images and make sure that they can all be "viewed" by users that are not logged in. Be careful not to let them edit stuff though.
---------------------------------------------------
Looking for a website designer in Melbourne?

ncswi’s picture

Thanks for the response. Unfortunately permissions were not the issue. I am a web site provider and have the web servers in my direct possession. They are Linux boxes. I tested your recommendation by setting the permissions to 777 on the entire imagecache directory and that did not resolve the issue.

================
Northern Computer Service, LLC
P.O. Box 1367
Woodruff, WI 54568
715.892.0530
715.358.9806
info@ncswi.com
www.ncswi.com

Web Agent’s picture

My apologies. I was not clear about what permissions i was referring to and yes your conclusion was the rational one. In Drupal there are permissions that are assigned to roles such as administrators etc.. So for example an administrator has permission to do most things and that is the reason your photos are showing up when you log in. But there is also a "anonymous user" (everyone else unless otherwise programmed) who generally can only see a limited amount of details about a page and has no back end access. In Drupal 6 this is found in the User Management > Permissions area (Sorry I moded my site and only using my structure). Here there are many options with tick boxes next to them which enable you to allow or not allow access to certain features of modules. Do a quick Ctrl+F to find all image instances and you should locate where your anonymous user is not allowed to view the images. Tick the box and save permissions to enable your changes. Hope that's it.