-
AuthorPosts
-
sobe Friend
sobe
- Join date:
- June 2010
- Posts:
- 249
- Downloads:
- 13
- Uploads:
- 20
- Thanks:
- 32
- Thanked:
- 4 times in 1 posts
October 14, 2014 at 8:25 pm #202080How does one disable the image-zoom-feature in the Joomshopping product page?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 15, 2014 at 6:29 am #553026Hi
I think you are referring to the popup view
You can disable it from template manager > Ja Fixel > General Tab > Extended settings > Popup View
sobe Friendsobe
- Join date:
- June 2010
- Posts:
- 249
- Downloads:
- 13
- Uploads:
- 20
- Thanks:
- 32
- Thanked:
- 4 times in 1 posts
October 15, 2014 at 8:31 am #553040Hi Pavit,
Thanks for helping; however, I’m not referring to that popview. Instead I’m referring to this one:
http://ja-fixel.demo.joomlart.com/index.php/en/shop/all-categories/product/view/10/31You’ll notice that if you move the cursor over the main image a zoom (magnifying glass) image appears above it and if you click it a larger image pops up.
I would like to remove the popup link, and the zoom (magnifying glass) image.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 15, 2014 at 4:56 pm #553121Hi
The popup feature is managed by a css lightbox class inside this file componentscom_jshoppingtemplatesfixelproductproduct_default.php
<span id='list_product_image_middle'>
<?php if(!count($this->images)){?>
<img id = "main_image" src = "<?php print $this->image_product_path;?>/<?php print $this->noimage;?>" alt = "<?php print htmlspecialchars($this->product->name);?>" />
<?php }
$i = 0;
foreach($this->images as $k=>$image){
$cactive = '';
if($i == 0) $cactive = ' inactive';
$i++;
?>
<a class="lightbox<?php echo $cactive;?>" id="main_image_full_<?php print $image->image_id?>" href="<?php print $this->image_product_path?>/<?php print $image->image_full;?>">
<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($image->_title)?>" title="<?php print htmlspecialchars($image->_title)?>" />
<div class="text_zoom">
<img src="<?php print $this->path_to_image?>zoom.png" alt="zoom" />
</div>
</a>
<?php }?>
</span>You should manage to change the <a class=”lightbox .
1 user says Thank You to pavit for this useful post
sobe Friendsobe
- Join date:
- June 2010
- Posts:
- 249
- Downloads:
- 13
- Uploads:
- 20
- Thanks:
- 32
- Thanked:
- 4 times in 1 posts
October 15, 2014 at 7:25 pm #553134Pavit, quick question:
I removed the zoom-magnifying-glass image, by removing the following code:
<div class=”text_zoom”><img src=”<?php print $this->path_to_image?>zoom.png” alt=”zoom” />
But I notice one can still click on the image and it pops up. What part of the code should I edit to remove the image-popup link?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 15, 2014 at 8:00 pm #553137<blockquote>But I notice one can still click on the image and it pops up. What part of the code should I edit to remove the image-popup link?</blockquote>
That is the lightbox class you should remove it , but if you remove it you will need to organize again the way images are showed
because since it will not include the image into a box, after you removed it all images will be showed one by onesobe Friendsobe
- Join date:
- June 2010
- Posts:
- 249
- Downloads:
- 13
- Uploads:
- 20
- Thanks:
- 32
- Thanked:
- 4 times in 1 posts
October 15, 2014 at 9:50 pm #553143I did what you suggested and it resulted how you said it would.
How do I re-organize the images like the way it’s supposed to be?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 16, 2014 at 5:04 am #553188<em>@sobe 450302 wrote:</em><blockquote>I did what you suggested and it resulted how you said it would.
How do I re-organize the images like the way it’s supposed to be?</blockquote>
Hi
You can try settings for the default template, the file you should check is in this folder componentscom_jshoppingtemplatesdefaultproductproduct_default.php
It is not a simple cut of code so you should understand that this requires a few customization of php code of these files
sobe Friendsobe
- Join date:
- June 2010
- Posts:
- 249
- Downloads:
- 13
- Uploads:
- 20
- Thanks:
- 32
- Thanked:
- 4 times in 1 posts
October 16, 2014 at 6:50 am #553201That’s a bit beyond my capacity for now.
Would have been nice if the configuration allowed for a simple way to deactivate this zoom-popup feature, which many probably don’t need or want. If not in the configuration, then editing the code should at least be easier.
I appreciate your help anyhow.
1 user says Thank You to sobe for this useful post
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
sobe Friendsobe
- Join date:
- June 2010
- Posts:
- 249
- Downloads:
- 13
- Uploads:
- 20
- Thanks:
- 32
- Thanked:
- 4 times in 1 posts
October 20, 2014 at 7:44 pm #553660Hi Adam,
Thanks for the suggestion. Unfortunately, even with the “Load Lightbox” unchecked the image still has a link to it. The difference is that instead of a pop-up it now goes to another webpage.Is there a way to remove the image-link altogether?
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
November 11, 2014 at 9:41 am #554854Hi,
You might want to clear your browser / Joomla! cache then recheck. If you still see the problem, please provide your site url with temporary back-end account via private reply, I will investigate the issue for you.
-
AuthorPosts
This topic contains 12 replies, has 3 voices, and was last updated by Adam M 10 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum