• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 21.07.18, 11:34
  • Opened by: Giulia Ghinami
  • Closed by: Marek
  • Closed on: 30.07.18, 10:25
  • Reason: Closed
  • Comment: Glad to help!

Ticket #12588 - You can not select images

Hello, when I go to select the image the choice does not appear.

I attach video

Comments

Marek 21 Jul 2018, 14:22

Hi, Giulia.
I just make a fix, please disable JS smarty compression in your back office to get it fixed

Giulia Ghinami 21 Jul 2018, 14:45

Even if I disable JS compression it does not work.

Marek 24 Jul 2018, 07:04

Yes, I see. I’m working on fix. Sorry for the delay

Marek 29 Jul 2018, 22:58

Try to add following JS code to the end of file /themes/alysum/assets/js/theme.js

$(document).ready(function(){
$('body').on('click', ".js-thumb", function(event) {
    $('.js-modal-product-cover').attr('src',$(event.target).data('image-large-src'));
    $('.selected').removeClass('selected');
    $(event.target).addClass('selected');
    $('.js-qv-product-cover').prop('src', $(event.currentTarget).data('image-large-src'));
  });
});
Giulia Ghinami 30 Jul 2018, 09:40

Works!