I have been working on developing a snippet for community use, but have run across what appears to be a minor glitch. You can see my snippet here. The problem is this:
The code I am using to generate my thumbnail template is as follows:
[[div style="float:{$placement}; margin:0em 2em 1em 2em; width:{$width}; border:1em"]]
||= [[image {$image} width="{$width}" style="border:1em" alt="{$caption}" link="{$link}"]]||
|| ^^{$caption}^^ ||
[[/div]]
It is probably important to mention that, although I am using an external host for my images which provides me with the image URL, I also create a page which does nothing but show the picture in its original size. Now, when I enter the wiki-link in the 'link' parameter, everything works fine: the image appears in the template on the page as it should, and when I click on the image, it takes me to the image's page. However, if I try to create a backlinks section on the image's main page (using the module Backlinks) to record where the image is being used, nothing appears. And if I click on the "Backlinks" link on the "edit" bar at the bottom, it says this page is not linked anywhere in my wiki. Apparently this has to do with the use of the 'link' attribute in either the div or the template - which, I do not know.
Any ideas or suggestions?