VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: alexsai on November 23, 2011, 18:15:45 PM

Title: (SOLVED in SVN )Related Products Images - Doesnt Show MAIN Image
Post by: alexsai on November 23, 2011, 18:15:45 PM
Hi! In my product details view I have related products. My products have 2 - 3 images. Is it possible to choose the related product image or make VM choose the first one? I ask this because in the related products vm shows the last image of each product.
Title: Re: Related Products Images - How to show a particular image?
Post by: PRO on November 23, 2011, 18:27:32 PM
This is going to be a bug.
Title: Re: Related Products Images - Doesnt Show MAIN Image
Post by: Cleanshooter on November 23, 2011, 18:49:40 PM
You can set the display order by going into the product details and dragging the images into the order you want them displayed. If you have never dragged into an order it will by default display the last images added to the product details ( I think).
Title: Re: Related Products Images - Doesnt Show MAIN Image
Post by: PRO on November 23, 2011, 18:58:07 PM
Cleanshooter, he means in the related products. The related products show the last image, and not the main image.

Title: Re: Related Products Images - Doesnt Show MAIN Image
Post by: PRO on November 23, 2011, 19:04:24 PM
OP: I cannot reproduce this problem.

I tried a few ways, and could not get it to do it like you say.

HOW are you choosing images? Are you choosing them? or uploading them?

OTHER people have had this problem, I just cannot reproduce it
Title: Re: Related Products Images - Doesnt Show MAIN Image
Post by: Cleanshooter on November 23, 2011, 20:21:06 PM
OK THX BT.pro I see what you mean as it is happening on mine too.  I will look into to and see what i can find :)
Title: Re: Related Products Images - Doesnt Show MAIN Image
Post by: PRO on November 23, 2011, 20:29:33 PM
I tried a few ways and it did not do it on mine.

Title: Re: Related Products Images - Doesnt Show MAIN Image
Post by: alexsai on November 23, 2011, 21:36:49 PM
Hi, i used synchronisation for adding images and then i used add image in the product page.
I upgrade to version M from version J.
I have a backup site and I can make an account for you so yuo can check.
Title: Re: Related Products Images - Doesnt Show MAIN Image
Post by: PRO on November 23, 2011, 21:47:02 PM
alexsai, the images should be in the folder, and you do not have to upload.

Use the "filter images" up top in the images tab. Just search for the image

Title: Re: Related Products Images - Doesnt Show MAIN Image
Post by: alexsai on November 24, 2011, 01:47:37 AM
I  explained my self not very well. Actually I did as you said.
Anyway the problem is in the related products..
If u cant reproduce i can give u access to my site.
Title: Re: Related Products Images - Doesnt Show MAIN Image
Post by: PRO on November 25, 2011, 13:17:29 PM
no need, This should be fixed soon
Title: Re: Related Products Images - Doesnt Show MAIN Image
Post by: Milbo on November 25, 2011, 13:19:42 PM
Hmm please try the new version in the svn then, it is ready for testing.
Title: Re: Related Products Images - Doesnt Show MAIN Image
Post by: alexsai on November 25, 2011, 15:50:10 PM
Hi Milbo,
do you mean the 'N' relese. I can't find it on 'others download', when you will relese it?
Title: Re: Related Products Images - Doesnt Show MAIN Image
Post by: cas on November 26, 2011, 07:30:36 AM
I have the same problem with version M.  The problem is caused because it's displaying the image from the table virtuemart_product_medias with the lowest 'virtuemart_media_id', but it should be displaying the image with the lowest 'ordering' number.   

Hi Milbo, is this what you fixed in the svn?   When do you expect version N to be released with this fix?   I've never had any luck trying to use the svn.

Thanks,
Chuck
Title: Re: Related Products Images - Doesnt Show MAIN Image
Post by: Milbo on November 26, 2011, 10:36:37 AM
Quote from: cas on November 26, 2011, 07:30:36 AM
it's displaying the image from the table virtuemart_product_medias with the lowest 'virtuemart_media_id', but it should be displaying the image with the lowest 'ordering' number.
ah thanks, that is a good hint to follow, I will take a look on it.
Title: Re: Related Products Images - Doesnt Show MAIN Image
Post by: cas on November 26, 2011, 19:59:15 PM
Glad to help Milbo.  You do so much for us!   Let us know if the fix will be in version N? 
Title: Re: (SOLVED in SVN )Related Products Images - Doesnt Show MAIN Image
Post by: Cleanshooter on November 30, 2011, 23:09:30 PM
Found it this will be fixed and included in the next release :) and is now updated on the SVN.

Title: Re: (SOLVED in SVN )Related Products Images - Doesnt Show MAIN Image
Post by: cas on December 01, 2011, 04:07:48 AM
Thanks Cleanshooter!   Since I never have any luck building a usable version with the svn, any idea when the new version N will be released? 
Title: Re: (SOLVED in SVN )Related Products Images - Doesnt Show MAIN Image
Post by: jenkinhill on December 01, 2011, 15:44:35 PM
Version N is here:  http://forum.virtuemart.net/index.php?topic=94183