i want to see product image popup window when click it.pls help me

30.08.2011 14:35
#1
gegrika
Joomshopping forum user no avatar
Name: gegrika
28.07.2011
Posts: 6
Quote
i want to see product image popup window when click it.pls help me

my site product image view new tab.but i want to view it using popup window.

 
01.09.2011 10:49
#2
mogsama
Joomshopping forum user no avatar
Name: mogsama
28.07.2011
Posts: 13
Quote
Aw: i want to see product image popup window when click it.pls help me

You should alterd some code for lightbox effect. Normally you will have to alter the follwing two files:

1. components\com_jshopping\lib\factory.php
Line: 199 find

function loadJsFiles(){

Replace them with your desire lightbox's js and css

2. In components\com_jshopping\templates\default\product\product_default.php

Line: 26

<?php }?>
<?php foreach($this->images as $k=>$image){?>
<a class="lightbox" id="main_image_full_<?php print $image->image_id?>" href="<?php print $this->image_product_path?>/<?php print $image->image_full;?>" <?php if ($image->image_full!=$this->product->product_full_image){?>style="display:none"<?php }?>>
<img id = "main_image_<?php print $image->image_id?>" src = "<?php print $this->image_product_path?>/<?php print $image->image_name;?>" alt = "<?php print htmlspecialchars($this->product->name)?>" />
</a>
<?php }?>


Change link rel and class based on your lightbox effect. Also alter the table's layout to fits your needs.

 
20.09.2011 10:05
#3
lucausa75
Joomshopping forum user no avatar
Name: lucausa75
14.09.2011
Posts: 1
Quote
Aw: i want to see product image popup window when click it.pls help me

mogsama - 01.09.2011 10:49
You should alterd some code for lightbox effect. Normally you will have to alter the follwing two files:

1. components\com_jshopping\lib\factory.php
Line: 199 find

function loadJsFiles(){

Replace them with your desire lightbox's js and css

2. In components\com_jshopping\templates\default\product\product_default.php

Line: 26

<?php }?>
<?php foreach($this->images as $k=>$image){?>
<a class="lightbox" id="main_image_full_<?php print $image->image_id?>" href="<?php print $this->image_product_path?>/<?php print $image->image_full;?>" <?php if ($image->image_full!=$this->product->product_full_image){?>style="display:none"<?php }?>>
<img id = "main_image_<?php print $image->image_id?>" src = "<?php print $this->image_product_path?>/<?php print $image->image_name;?>" alt = "<?php print htmlspecialchars($this->product->name)?>" />
</a>
<?php }?>


Change link rel and class based on your lightbox effect. Also alter the table's layout to fits your needs.



Please, can you help me?
I dont understand clearly what I have to do in order to see pictures on my site like a pop-up...


Website Url: http://www.marsar.altervista.org/

Letzte Änderung: 20.09.2011 10:05
 


Copyrights MAXXmarketing GmbH. All Rights Reserved
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.