Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Gallery image size
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 12
TOPIC: Gallery image size
#64947
Gallery image size 5 Years, 7 Months ago Karma: 1
Hello. I'm using the plugin "Responsive Gallery Grid" for my galleries. I'm trying to reduce page load by loading thumbnail size or medium size of images on the thumbnails. But this seems to not work well with Ari, since it also loads a small image for the lightbox. The 2 plugins work well individually but not in conjunction. Can you please check the issue on this page?
Last Edit: 2019/05/15 21:08 By Alexandros_T.
The administrator has disabled public write access.
 
#64956
Re:Gallery image size 5 Years, 7 Months ago Karma: 760
Hello,

Try to add the following code to "Custom JS code" parameter on "ARI Fancy Lightbox -> Settings -> Advanced" page:

Code:


$('.rgg-img').each(function() { var $this = $(this); var src = $this.css('background-image').replace(/^url\("(.+)"\)$/, function($0, $1) { return $1; } ); $this.attr('href', src); $this.data('width', ''); $this.data('height', ''); });



Regards,
ARI Soft
The administrator has disabled public write access.
 
#64963
Re:Gallery image size 5 Years, 7 Months ago Karma: 1
It works with the lightbox image, but Ari also affects/messing the image appearance of the gallery thumbnails (and still can't combine medium/small thumbnails - full size lightbox).
Last Edit: 2019/05/10 17:03 By Alexandros_T.
The administrator has disabled public write access.
 
#64965
Re:Gallery image size 5 Years, 7 Months ago Karma: 760
Could you provide screenshot(s) to illustrate the problem?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#64967
Re:Gallery image size 5 Years, 7 Months ago Karma: 1
Here are 2 "Responsive Gallery Grid" galleries. 1st has size="thumbnail", 2nd has size="full".
You can see in the galley thumbnails difference in the 2 screenshots, one with Ari enabled, one with Ari disabled.
Last Edit: 2019/05/10 21:46 By Alexandros_T.
The administrator has disabled public write access.
 
#64969
Re:Gallery image size 5 Years, 7 Months ago Karma: 760
Try to use the following code instead of the previous one:

Code:


$('.rgg-img').each(function() { var $this = $(this); var src = $this.css('background-image').replace(/^url\("(.+)"\)$/, function($0, $1) { return $1; } ); $this.attr('data-src', src); $this.data('width', ''); $this.data('height', ''); });



Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12