collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

Can't get RSG "Show My Galleries" to work by Dampfnudel
[February 25, 2019, 11:01:55 AM]


Change the order of uploaded images in the gallery by whazzup
[February 19, 2019, 10:37:29 PM]


Upload timeout for large galleries (500 images each) by whazzup
[February 11, 2019, 10:07:25 PM]


Greetings from Ronald Smit by whazzup
[January 06, 2019, 03:39:22 PM]


Pluign and module by whazzup
[June 08, 2018, 11:57:13 PM]


Version 4.4.1 released by whazzup
[May 31, 2018, 04:31:16 PM]


search.html.php refer to rsgsearch.css with a wrong path by whazzup
[January 13, 2018, 08:12:04 PM]


Slow Gallery with many Photos by whazzup
[September 22, 2017, 09:22:33 AM]

Solved: Thumbnails in slideshow view

  • 7 replies
  • 3722 views
Solved: Thumbnails in slideshow view
« on: April 12, 2016, 11:48:02 AM »
Hi!

I'm using 4.1.0 version, and I have a problem with thumbnails in the slideshow view.

Thumbnails are shown in two lines, see attached image.

I would to get the same aspect as the demo page:

http://demo.rsgallery2.nl/index.php/demo-rsgallery21/1-first-gallery?page=slideshow

Thanks
« Last Edit: April 18, 2016, 09:12:36 PM by whazzup »

Re: Thumbnails in slideshow view
« Reply #1 on: April 12, 2016, 09:02:08 PM »
(1) Could you please add a picture of the settings regarding the slideshow
(2) It may depend on the size of the box
« Last Edit: April 12, 2016, 09:12:36 PM by whazzup »
If you are looking for the newest version of  RSGallery2 for Joomla 3 please check out https://github.com/RSGallery2

Re: Thumbnails in slideshow view
« Reply #2 on: April 13, 2016, 10:21:02 AM »
Thanks for quick reply whazzup!

I think all settings and sizes are at their default values:

Original image: 2816x2112
Display image: 400x300
Thumb: 80x60

Re: Thumbnails in slideshow view
« Reply #3 on: April 13, 2016, 09:57:21 PM »
I did a test with two images (thumbs) and surprise i see something similar
Maybe it depends on the number of images ?
Needs more testing but time is scarce on my side

On my website with normally more than 10 Images i see no artefact.

I may have more time on the weekend
If you are looking for the newest version of  RSGallery2 for Joomla 3 please check out https://github.com/RSGallery2

Re: Thumbnails in slideshow view
« Reply #4 on: April 14, 2016, 08:30:02 AM »
I have this issue with two galleries: 6 and 15 images.

With 6 images, I have 5 in first line and 1 in the second.

With 15 images, I have 13 in the first line and 2 in the second. If i unpublish 3 images, with 12 images, I get 10 in the first line and 2 in the second.

Thanks for your time

Re: Thumbnails in slideshow view
« Reply #5 on: April 17, 2016, 09:04:55 PM »

The analysis shows that the width of the "innerCarousel" is calculated wrong in file

components\com_rsgallery2\templates\slideshow_parth\js\jd.gallery.js
in function
Code: [Select]
fillCarousel: function() {

in line

Code: [Select]
this.carouselInner.normalWidth = ((this.maxIter * (this.options.thumbWidth + this.options.thumbSpacing + 2))
 + this.options.thumbSpacing) + "px";

I will try to recalculate the formular
« Last Edit: April 17, 2016, 10:17:41 PM by whazzup »
If you are looking for the newest version of  RSGallery2 for Joomla 3 please check out https://github.com/RSGallery2

Re: Thumbnails in slideshow view
« Reply #6 on: April 17, 2016, 10:25:32 PM »
Possible solutions to fix the too small width of the carousel

Solution one will add enough space

Code: [Select]
this.carouselInner.normalWidth =
   (this.maxIter * (this.options.thumbWidth + 2*this.options.thumbSpacing + 1));
if (this.options.carouselHorizontal)
   this.carouselInner.style.width = "" + this.carouselInner.normalWidth + "px";

Solution two is more accurate (but it may be to narrow in some situations)
Code: [Select]
this.carouselInner.normalWidth = Math.ceil(
   (this.maxIter * (this.options.thumbWidth + 2*this.options.thumbSpacing + 0.3)));
if (this.options.carouselHorizontal)
   this.carouselInner.style.width = "" + this.carouselInner.normalWidth + "px";




If you are looking for the newest version of  RSGallery2 for Joomla 3 please check out https://github.com/RSGallery2

Re: Thumbnails in slideshow view
« Reply #7 on: April 18, 2016, 09:40:44 AM »
Thanks whazzup,

Second solution don't work for me, but first do it!

Many thanks

Greetings