Goodmorning, i m developing a little gallery and i'm using a lightbox/image. when you click on a thumbnail image it display the image in a modal with the Real size of the image . In the modal  you can go to the next image by click the apposite Button.

My problem is i have 40 images, i start to the first and i arrive by clicking the arrow in the modal to the image33 how can i do when i close the modal  to focus the current image(image33) instead of the first i ve open?

Best regards

Nello 

Would you be able to share a screenshot or oml of how this implementation looks like.

(Note : Make sure you don't have any confidential code Before sharing)

I could not find anything inbuilt within outsytems yet.


But if you are willing to tweak the code with a Little bit of JavaScript here is a sample using ScrollIntoView function

http://jsfiddle.net/walfo/cj8xynL0/1/

coder kamath wrote:

Would you be able to share a screenshot or oml of how this implementation looks like.

(Note : Make sure you don't have any confidential code Before sharing)

I could not find anything inbuilt within outsytems yet.


But if you are willing to tweak the code with a Little bit of JavaScript here is a sample using ScrollIntoView function

http://jsfiddle.net/walfo/cj8xynL0/1/


Hi  Coder, thanks for your reply!
 I can't attach my Oml sorry , i'll try explain my problem  to you with some screen.

1)This Is my gallery:

2) This is my LightBoxImage (it is displaying image 8):

If i click the arrow on the right of the screen i move to the next image.

Now i'm at the image n°14, if i close the modal how can i focus on this image in my gallery instead of my entry image?