enlarge image directly in the product listing

  • Posts: 7
  • Thank you received: 1
10 years 1 week ago #212548

-- HikaShop version -- : 250
-- Joomla version -- : 324
-- Browser(s) name and version -- : Chrome42.0.2311.90 m

Please have a look, it works on another site but not on this one:
datorhjalp-sodermalm.se/2015/blommor-web...ng/category/19-popp1

Here its working perfect when I click on the image....
When Im pressing on a image its NOW opening in the same window.
mobil2008.se/2015/glaedjeflickor/index.p...onsttryck-21x29-7-cm

I tried to change in listing_img_title but without success- Please I need some help...

Thank you

Last edit: 10 years 1 week ago by cocacolacowboys.

Please Log in or Create an account to join the conversation.

  • Posts: 26272
  • Thank you received: 4044
  • MODERATOR
10 years 1 week ago #212560

Hi,

I can't see the first website ; it requires an authentication.
But about the second website,yes you have a view override for the product listing (img_title one, yes) to add the image popup ; because that is not provided by default in HikaShop.
By default the thumbnail image is displayed ; but you can load and use the hikashop popup helper to create the image popup, like it is done in the product page.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 1
10 years 1 week ago #212661

Hi again, so what do you mean by "hikashop popup helper". Is it "Styles for hikashop", legal pack or some extensions, or what?

Or is it enough to just:

You need to replace:
<a href="<?php echo $link;?>" title="<?php echo $this->escape($this->row->product_name); ?>">
By:
<a title="" onclick="SqueezeBox.fromElement(this,{parse:'rel'});return false;" href="<?php echo $this->image->getPath(@$this->row->file_path); ?>" rel="{handler:'image'}" target="_blank">

In the view "product / listing_img_title" (or another one if you are using another one).

Last edit: 10 years 1 week ago by cocacolacowboys.

Please Log in or Create an account to join the conversation.

  • Posts: 26272
  • Thank you received: 4044
  • MODERATOR
10 years 1 week ago #212675

Hi,

If you're sure to use Squeezebox for the image popup ; sure you can put directly the javascript call.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 1
10 years 1 week ago #212687

Ok, I think its ok right now - maybe it was the catche who caused my problems.... :sick:

Last edit: 10 years 1 week ago by cocacolacowboys.

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum