Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > RocketCake
Slideshow

bobh
Registered User
Quote
2022-11-04 12:07:04

I am finding the slideshow a really useful feature. I have the MOVE feature actioned but I am wondering if there is a way for the viewer to PAUSE the slideshow during the display.


niko
Moderator
Quote
2022-11-04 19:41:27

Not possible right now, but it's a good idea. Will likely add a feature like that.


hagen
Registered User
Quote
2024-02-17 23:05:40

Good evening,
any solution right now?
Thank you for an information.


niko
Moderator
Quote
2024-02-19 11:08:50

You can do it like this:

Create a button, and for it's hyperlink, set the type to "JavaScript" and set it to

javascript:pauseSlideshow();


Then, on the page, create a JavaScript code element, uncheck the "create div around code" section, double click it and paste this code into there:

function pauseSlideshow()
{
var slides = document.querySelectorAll('[id^="slide_"]');
var slide = window['js_' + slides[0].id];
var longTime = 99999999990;

if (slide.timeForFrame == longTime)
{
slide.timeForFrame = origTimeForFrame;
slide.thisFrameBegin = (new Date()).getTime();
}
else
{
origTimeForFrame = slide.timeForFrame;
slide.timeForFrame = longTime;
slide.thisFrameBegin = (new Date()).getTime();
}
}



micaelo
Registered User
Quote
2024-02-19 17:09:18

That's great! Thanks a lot
I couldn't wait to test it, and it works perfectly.


bruce
Registered User
Quote
2024-04-07 18:08:52

Hello,

I also have a question about the slideshow.

I inserted it at the size 100% 100%. So it adapts to the view size.
The photos are always fixed at the top left. So what's below/on the right is cut away.

Is it possible to change the orientation of the photos so that they are centered? So that something is taken away from the image evenly from the left and right.

Thank you in advance for the feedback.

Best regards
Bruce


micaelo
Registered User
Quote
2024-04-07 21:10:26

Is it possible to change the orientation of the photos so that they are centered? So that something is taken away from the image evenly from the left and right.

Unfortunately, RocketCake's slideshow insert is just very basic, and does not have the option to center images within a user-defined frame. The only way to get an acceptable output is to only use images which all have the same orientation (portrait or landscape) and the same aspect ratio. Then you can chose "fit width" or "fit height" and the output will look fine. See an example on my website https://4hundert.de. It also has a "Pause/Resume" button.


niko
Moderator
Quote
2024-04-08 07:37:44

Yes, it will be improved in that direction with the next update.


bruce
Registered User
Quote
2024-04-11 13:06:02

Yes, it will be improved in that direction with the next update.


Is it perhaps already possible to predict when the next update will be available?


niko
Moderator
Quote
2024-04-11 13:17:46

Hopefully already next week


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "In?ernational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact