Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2011 at 19:31 UTC
Updated:
11 Oct 2011 at 03:15 UTC
Not sure if this is the right place for this, but the issue is with "products reference"
I have created a view as in the video ( http://vimeo.com/22746978 ).
Show content of Product Display sore by title
Display format Grid
On views page create Relationship: Product Reference
Add Fields: Commerce Product: Product Image.
The image shows up in views as long as the image is set to original, but if I change the image to thumbnail, medium or anything else it doesn't show up in views. Any idea how to fix this or is anyone else had this issue?
Comments
Comment #1
dawehnerMh the field handler should really work, let's move to commerce issue queue whether they have an idea what's going on here.
If it's a real bug in views feel free to move it back. Some easy way to reproduce it, would be cool as always.
Comment #2
Letharion commentedIt's extremely likely to be a permissions problem. Drupal probably doesn't have write access to the files/styles directory.
Closing, as it's does not seem to be Views related.
Comment #3
scottcarlton commentedAdmin status shows file is Writable (public download method) and I also checked via cpanels with 755 permissions. Files system shows sites/store.website.com/files as the Public file system path.
It works with Fields: (Product Reference) Commerce Product: Product Image - Image Styles - set to none(original image). If i change it to thumbnail, medium, large, or even a custom setting the images doesn't appear in views.
I need at least the thumbnail, and custom product-image to work.
The image also shows as the original in the Content Type : Product Display node via product reference in manage displays, but if I change the manage display to thumbnail, medium, large or custom it will also disappear in the Product Display Node. Don't get it? It's been frustrating, this bit.
Comment #4
scottcarlton commentedI set up my product type with Lable: Product Image | Field: field_product_image | Widget:Image then Set up my product and uploaded image.
Made my Content Type: Product Display and created my product reference field.
In views, create new view. Name Product Display
Show Content of type product display sorted by title.
Display format Grid with fields.
Under relationship add Product Reference.
Under fields add (Product Reference) Commerce Product: Product Image.
Read reply below to see what happens. Image style has to be at none(original image) otherwise it doesn't show. Both in Manage Displays under Product Type and in Product Display View.
Keep racking my brain over this one.
Comment #5
scottcarlton commentedchanged the Public File System Path sites/store.website.com/files to sites/default/files and it worked. Would like it to work in sites/store.website.com/files, but this will work for now.