Hi,
I have never used curly braces in a URL before like you propose.
I also tried to do a google search for something similar but cannot find anything related. Is this some sort of plugin that does the URL substitution?
Hi,
I guess that I put them there, after some Googling. This initially worked, serving up the Page to which I had attached the image. I believe it would still work, if something would not break it by replacing the first pair of curly braces by their respective codes. Now, I of course don’t know if that break comes from Foogallery, or from something else…
Any ideas/help appreciated.
The curly brace is not a valid url character and is considered unsafe. Please read more here : https://meta.stackexchange.com/questions/79057/curly-brackets-in-urls
The curly braces were from Media Library Assistant, a plugin that is widely used.
Another plugin that I currently use, Masterslider Pro, also uses curly braces to reference the image in the library with {{slide-image-url}}
So to me, unexperienced as I am, it seems to be pretty common practice.
Question remains: is Foogallery replacing the first pair of curly braces with its encoded variant, or is something else doing this?
Yes, FooGallery encodes the contents of all html attributes, as this is a security best practice.
Ok, understood. Perhaps this is a faq, but:
with the curly braces MLA gave an easy way to link an image to the ‘parent’ page to which it had been attached. So a click/tap on the gallery image would take you to the other page with text etc.
I’m using Polylang, so I have galleries in four-fold, where each image should link to its parent page in one of these 4 languages. Can FooGallery handle this with some ‘shortcode’ like the curly braces of MLA, or do I need to hard-code in the various permalinks for the different languages?