Keyword

Integrating ARIZOOM with K2

  • Fred Kouwenberg
  • Fred Kouwenberg's Avatar Topic Author
  • Offline
  • New Member
More
13 years 2 weeks ago #99944 by Fred Kouwenberg
Integrating ARIZOOM with K2 was created by Fred Kouwenberg
Hello, I've purchased ARIZOOM to (be able to) zoom into images on an item view.

Now I cannot get this to work and I've checked out the ARIZOOM forum where there is an answer but I'm not experienced enough to get this to work.

 

I hope someone on this forum will be able to help me out.

 

The suggestion on the ARIZOOM forum was to change the following lines (lines 185-187) in the item.php file (located in the directory /components/com_k2/templates/default/)

 

 <a class="modal" href="<?php echo $this->item->imageXLarge; ?>" title="<?php echo JText::_('Click to preview image'); ?>">  

<img src="<?php echo $this->item->image; ?>" alt="<?php if(!empty($this->item->image_caption)) echo $this->item->image_caption; else echo $this->item->title; ?>" style="width:<?php echo $this->item->imageWidth; ?>px; height:auto;" />  

 </a>

 

and the suggestion was to replace these lines with the following ARIZOOM code:

 

{arizoom activeType="singleimage" src="<?php echo $this->item->imageXLarge; ?>" srcSmall="<?php echo $this->item->image; ?>"},{/arizoom}

 

But somehow I cannot get this to work.

I hope someone with thorough K2 and PHP knowledge can tell we exactly:

- if the suggestion made by ARIZOOM makes sense;

- which code I need to replace in the lines from the original K2 php code above and which code I need to leave in place.

 

Any information appreciated and thanks in advance!

 

Fred.

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


Powered by Kunena Forum