20 replies [Last post]
hobbesent's picture
Offline
Joined: 08/27/2007
Juice: 45
Was this information Helpful?

None of my images show up in the list or item detail views, even though the fields for the images are there. On the list view, the word 'image' is at the top of the table but no images show; in the details view a link to the image shows. When clicked on, the lightbox display pops up. I've looked through everything I can think of but cannot find a solution - I simply want the images to display where they're supposed to.

Can anyone offer me any suggestions to remedy this?

Thanks!

B

oslinux's picture
Offline
Joined: 09/06/2007
Juice: 461
Re: No Images, but link is good

i have had the same. when you look at the pic location in the very url it shows you that it points to a subfolder of the imagecache! There i did copy by hand the files from files/ubercart_images into the coressponding section and it worked fine. now if you want them smaller, just uopload an altered version. I know this ought to all happen automatically, but i cannot tell how.

bleen's picture
Offline
Joined: 11/05/2007
Juice: 2
File System | Temporary Directory

Not sure if this will help, I know I had a similar problem once, what resolved it for me was making sure that the Temporary Directory under Administer > Site Configuration > File System was present and you have full access (Read/Write) to this folder.

Hope this helps...

oslinux's picture
Offline
Joined: 09/06/2007
Juice: 461
Re: File System | Temporary Directory

how come then that imagecache does not complain about the ftp rights for its subfolders??? Puzzled

hobbesent's picture
Offline
Joined: 08/27/2007
Juice: 45
Re: Re: File System | Temporary Directory

Well, I've looked at the permissions; I've looked at the setup; and I still can't figure out why my images won't show. All I get is a link, which opens the thickbox. On the category tables, my images don't display at all despite the fact that the "images' column is there. On the product page, just the link.

However, my images DO show when I go to 'edit' a product. It seems that the system is having no trouble finding and displaying the images; but I can't figure out why it doesn't work everywhere. Can anyone offer any additional suggestions?

Thanks!

B

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Re: File System | Temporary Directory

It sounds like an imagecache problem. There should be 5 or 6 presets on its settings page: product, product_list, thumbnail, cart, category, and (if you need it) manufacturer. They should have been set up automatically, but maybe something went wrong. Check the status table on Store administration. There may be a link in the "Images" row that will help you set up the defaults.

Other than that, I've got no clue.

Edit: One clue. Check the permissions on your temporary directory.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Re: File System | Temporary Directory

Also, do you have Clean URLs enabled on the site?

hobbesent's picture
Offline
Joined: 08/27/2007
Juice: 45
Re: Re: Re: Re: Re: File System | Temporary Directory

Yes, they are enabled. The permissions are in order as well. I'll check the imagecache again just in case I've missed something. One thing to note: Before I did the update, they all worked fine.

I'll check imagecache again and report what I find, if anything.

Thanks for all your help guys!

B

hobbesent's picture
Offline
Joined: 08/27/2007
Juice: 45
Re: Re: Re: Re: Re: Re: File System | Temporary Directory

Hey guys, thanks again for sticking with me on this. Here are a couple of example urls that demonstrate the problem. You'll notice that some of the products have the images showing correctly; and others do not, even if they're on the same page:

http://turnkeycity.biz/drupal-5.2/view/freedownloads

http://turnkeycity.biz/drupal-5.2/catalog/14/all_products

Lyle: I do not see a 'status' table. These are the tables I have under store administration --> configuration --> display table display settings:

uc_payments_table The payments table on the order payments screen.
uc_cart_view_table Display information on products in a customer's cart.
op_products_view_table The products table on the order view screen.
op_products_customer_table The products table on the customer order screen.
op_products_edit_table The products table on the order edit screen.
op_order_comments_view_table The order comments table on the order view screen.
op_admin_comments_view_table The admin comments table on the order view screen.
uc_product_table Lists a group of products in an abbreviated format.

Obviously I'm missing something here but I can't figure out what it is.

Thanks!

B

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Re: Re: Re: Re: Re: File System | Temporary Directory

I meant an HTML table, that's actually on the Store administration page. It's underneath the icons and links that point to all of the settings pages. It shows the status of any products you have that aren't in the catalog, whether images are set up, if there is enough account information for UPS, and a few other things.

oslinux's picture
Offline
Joined: 09/06/2007
Juice: 461
Re: Re: Re: Re: Re: Re: Re: File System | Temporary Directory

so, you mean the images do not show in the product listing whereas they do on the individual nodes for the product? Then, in image cache in the subfolder productlist there is no copy of the pic ... do not get mistaken eventough the shown image path is /files/ Eye-wink Copy them theire manually (even in a different size or not) by ftp Smiling

hobbesent's picture
Offline
Joined: 08/27/2007
Juice: 45
Re: Re: Re: Re: Re: Re: Re: Re: File System | Temporary Director

No, the problem is like in some instances they do and in others they don't. That's what's so baffling! It works fine for some, but not for others. Actually, everything before the upgrade displays fine, everything entered after does not. If I copy them through ftp, that does not solve my problem because I still won't be able to do it via future uploads.

Lyle: I see what you mean now: Images Imagefield and Imagecache have been set up to display product images.

But there is no link, I guess since it's set up properly?

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Re: Re: Re: Re: Re: Re: Re: Re: File System | Temporary Dire

It sounds to me like you have miscached images. Somehow the caching mechanism was storing nothing where there should be something, but then things got fixed, so it started caching the right things. At least, we hope it's not the other way around.

We can check by getting rid of all the cached data, and have it go back to the originals and try again. On the Imagecache settings page is a button to "Flush Presets". Pressing it will clear the imagecache data from the database and delete the modified files in /files/imagecache. All the original files will still be where you put them.

Once you do that, it wouldn't be a bad idea to clear out the rest of the cache tables as well. That way you can get a completely fresh page load. That should get imagecache to make and display the images.

hobbesent's picture
Offline
Joined: 08/27/2007
Juice: 45
Lyle,

Lyle,

I cleared the caches, still no dice. Even doing so, the proper images display in the proper places for the products entered before updating ubercart. The new ones still just show the link.

Man I feel like such a pain - maybe I'm just totally missing something? I don't know, but I'm typically pretty intuitive when it comes to troubleshooting, but this one I just can't figure out at all.

If you go here: http://turnkeycity.biz/drupal-5.2/view/websites

You can see that the old items have the images correct. The new item does not.

Any more ideas?

Thanks!

B

hobbesent's picture
Offline
Joined: 08/27/2007
Juice: 45
Re: Lyle,

Well, I still can't figure out why things aren't working correctly. The image cache presets have been reset. The images are set to show in the catalog, product views and UC tables.

I don't think it's something with the settings because the products that I entered BEFORE updating to the latest version of UC display everything correctly. It is only the products I've entered afterwards.

At this point it is suffice to say that I have tried every resource I can think of to figure this out, and still no dice. Therefore, I'm wondering if anyone is willing to fix this for a fee? Please let me know.

Thank you.

cobrasound's picture
Offline
Joined: 08/07/2007
Juice: 157
Re: Re: Lyle,

I am having the same issue as well. Imagecache did NOT create it's folders inside of the /files directory (even though the permissions all appear to be correct). I un-installed and re-installed the imagecache module also to no effect.

Jeff

hobbesent's picture
Offline
Joined: 08/27/2007
Juice: 45
Hi Jeff,

Hi Jeff,

I actually got my problem figured out - I thought I had posted my solution here, but I obviously neglected to. My mistake. In any case, my problem was file directory permissions -- actually, I was looking in the wrong folders. It sounds like you're having the same problem I was, so hopefully this will help you:

You're probably looking to set your directory permissions under the imagecache folder (that was my problem). In fact, you need to be setting the proper file permissions under the 'files' folder (where you'll find both 'imagecache' and 'ubercart_images', or something to that effect). Make sure all the permissions are set correctly in all of those folders (there might be another sub-folder or two, I don't remember off-hand). In any case, all of the permissions you need set will be under the 'files' directory, and not the 'imagecache' directory.

Let me know if this helps!

EDIT: It seems I've answered before properly reading your question - you already knew about the files directory and permissions. What if you manually create those directories? Does it work then?

cobrasound's picture
Offline
Joined: 08/07/2007
Juice: 157
Re: Hi Jeff,

After setting the files directory to 777 permissions, the imagecache folder was created successfully. However, NOTHING is getting put in it! Shocked

So, the images still aren't showing up!

Jeff

hobbesent's picture
Offline
Joined: 08/27/2007
Juice: 45
Re: Re: Hi Jeff,

Make sure all sub-directories, including the imagecache folder and ubercart_images are also 777 (I can't remember if there are others, but if there are, 777 them as well). That should fix the problem.

cobrasound's picture
Offline
Joined: 08/07/2007
Juice: 157
hobbesent wrote:Make sure
hobbesent wrote:

Make sure all sub-directories, including the imagecache folder and ubercart_images are also 777 (I can't remember if there are others, but if there are, 777 them as well). That should fix the problem.

That didn't work either (and it's not how it's setup on the test box that is working either). I've had very hit and miss success with imagecache, usually it either works or there's no end to fixing it if it doesn't. :-/

Jeff

hobbesent's picture
Offline
Joined: 08/27/2007
Juice: 45
Re: hobbesent wrote:Make sure

Sorry I couldn't help -- that's pretty much the extent of my limited knowledge in this area. However, I do believe that for every problem there is a solution -- have you tried asking on other forums?