VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: Multisilja on June 11, 2023, 11:57:59 AM

Title: Can't attach images to products in version 4.0.14 and 4.0.22
Post by: Multisilja on June 11, 2023, 11:57:59 AM
Hi,
I can't attach any images to products in the products -->product images tab.
The image is created in the Media window. But when I try to attach any image to a product nothing happens.
In the product images tab it finds the media from the search field allright, but nothing happens when clicking at the media found.
It worked fine in version 4.0.10.

Im using Joomla 3.10.11, Virtuemart 4.0.22 and PHP 8.0.28

Title: Re: Can't attach images to products in version 4.0.14 and 4.0.22
Post by: jenkinhill on June 11, 2023, 14:15:25 PM
Just checked with J3.10.11 & VM4.0.22  - worked ok.

Image file was .jpg in  /images/virtuemart/product - search and select - hit save.  No issues.
Title: Re: Can't attach images to products in version 4.0.14 and 4.0.22
Post by: GJC Web Design on June 11, 2023, 14:28:31 PM
Check for any JS errors
Title: Re: Can't attach images to products in version 4.0.14 and 4.0.22
Post by: Multisilja on June 11, 2023, 14:57:00 PM
I'm also using .jpg files in /images/stories/virtuemart/product.
I can search for an image and it shows, but I can't select it (nothing happens when I click at the image)
Title: Re: Can't attach images to products in version 4.0.14 and 4.0.22
Post by: jenkinhill on June 11, 2023, 18:16:13 PM
Are you using the new admin template?  Some things don't work with the old template.
Title: Re: Can't attach images to products in version 4.0.14 and 4.0.22
Post by: Multisilja on June 12, 2023, 08:46:26 AM
Thanks a lot Jenkinhill!
I was using the old admin template.
The new Template did the trick.