Hi y'all
I'm building a gallery and want to be able have a 'next image' button. For that purpose I would need to be able to get the ID of the following page/image. How do I get that?
I have the idea to just get the current ID by using the k_page_id variable and then adding 1 to it. This could work, but I would never be able to delete an image or have it moved in the folder I think. So it would be better to can access the ID or Name of the next element
I'm building a gallery and want to be able have a 'next image' button. For that purpose I would need to be able to get the ID of the following page/image. How do I get that?
I have the idea to just get the current ID by using the k_page_id variable and then adding 1 to it. This could work, but I would never be able to delete an image or have it moved in the folder I think. So it would be better to can access the ID or Name of the next element