I like an extra placeholder for the config files, is it posible to get a [+dr.documentId+] kind of placeholder? that holds the id from the page the image is on?
would be great for use in ditto that way a thumbnail could have a link in it that goes to the page the image belogs to, in Ditto I cold do <a href="[~[+id+]~]" >[[directResize snippetcall]]</a> but that does ofcourse not worl because the template in in the config already has an <a>.
I made a new one using jquery hover thing the config tpl looks like this:
$tpl = <<<HTML
<a class="load-local" href="#" rel="#image[+dr.originalFilenameNoext+]">
<img src="[+dr.thumbPath+]" width="[+dr.thumbWidth+]" height="[+dr.thumbHeight+]" alt="[*pagetitle*]"/></a>
<p style="display:none;" id="image[+dr.originalFilenameNoext+]"><img src='[+dr.bigPath+]' alt="" title= ""/></p>
HTML;
and would be great if It could be like this:
$tpl = <<<HTML
<a class="load-local" href="[~[+dr.documentId+]~]" rel="#image[+dr.originalFilenameNoext+]">
<img src="[+dr.thumbPath+]" width="[+dr.thumbWidth+]" height="[+dr.thumbHeight+]" alt="[*pagetitle*]"/></a>
<p style="display:none;" id="image[+dr.originalFilenameNoext+]"><img src=’[+dr.bigPath+]’ alt="" title= ""/></p>
HTML;