Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
Dane
Experienced
Topic Author
Posts: 170
Joined: 04 Dec 2020, 15:05

Switch between photos using the arrow keys

09 Oct 2025, 06:27

Hello,

Is it possible to use the arrow keys to switch between photos in the content once one has been opened in full screen mode? Also by showing arrow buttons on the left and right side of the fullscreen view. 

For example, when i open a photo in the following article, it would be great, when switching by using the arrow keys and buttons is possible: https://www.linsenschuss.de/blog/Astrof ... Mondlicht/
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14469
Joined: 30 Sep 2006, 03:37

Re: Switch between photos using the arrow keys

09 Oct 2025, 22:09

This is images you have manually added into content, right? When added manually, the images aren't automatically aware of the "other" images that it should be grouped with, but this can be solved (see the "groups" section):
https://demo.photo.gallery/examples/plugins/popup/

For example, just add the following at the top of your content ...
Code
<div data-popup-container>
... and make sure to close the tag at the bottom of your content:
Code
</div>
By this, you are telling the app that all popup references within the tag are the same group, which may in turn be navigated when one is opened.
 
User avatar
Dane
Experienced
Topic Author
Posts: 170
Joined: 04 Dec 2020, 15:05

Re: Switch between photos using the arrow keys

10 Oct 2025, 00:41

Hi Karl,

Your reading works great, just as desired. Thank you!

Do you think this could be standardized somehow, so that it is standard for all posts? 

Perhaps in the future through a global setting -> Switch through all images in the respective folder Yes/No
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14469
Joined: 30 Sep 2006, 03:37

Re: Switch between photos using the arrow keys

10 Oct 2025, 03:20

Dane wrote:Do you think this could be standardized somehow, so that it is standard for all posts? 

Perhaps in the future through a global setting -> Switch through all images in the respective folder Yes/No
Perhaps, although the content section is generally something self-managed, although you can use various codes available (like the popup features). If you really need persistent grouped popups, then maybe you could add a simple global Javascript.
 
User avatar
Dane
Experienced
Topic Author
Posts: 170
Joined: 04 Dec 2020, 15:05

Re: Switch between photos using the arrow keys

10 Oct 2025, 04:08

Hi Karl,

ok thank you!