That works, thanks, only thing, it changes all the galleries, can i not target individual items?
Hi Mike, thanks for your reply, I m not sure I explained it correctly, so I try it again.
My aim is to create following.
https://mywebsite.nl/start.html is the start page. On that page a masonery gallery with images representing different types of photos. -Potraits -Landscapes -Cities etc. I create my first custom link to the sets so clicking on the image representing portaits, the custom link I create reads https://mywebsite.nl/start.html/portraits/.
On that page (https://mywebsite.nl/start.html/portraits/) one finds the collection of portraits of different subjects, and suppose one of the pictures is of a woman called Kitty.
So on that image i create my second custom link pointing to https://mywebsite.nl/start.html/portraits/kitty/.
But when I create that second custom link it changes the first custom link, so that the first custom link does not point to https://mywebsite.nl/start.html/portraits/, but instead directly to https://mywebsite.nl/start.html/portraits/kitty/
Even if I rename the images it does not point to given custom URL but to the one I inserted at last link edit.