I'm using the code:
<?php
// Grabs the firsts image path and sets $imagePath.
$imagePath = $node->field_image_cache['0']['filepath'];
?><?php
print l(
theme('imagecache', 'product', $field_image_cache[0]['filepath'], $field_image_cache[0]['alt'], $field_image_cache[0]['title']),
$field_image_cache[0]['filepath'],
array('class' => 'thickbox', 'rel' => 'field_image_cache_1'), NULL, NULL, FALSE, TRUE);
?>To try and get thickbox working with this... however its never actually linking to the image - I just get the "loading" bar. Everything worked fine before. The only thing I notice different to when I use the default node template is that I'm on a multilanguage site, so the URL includes a /en/ in it.
Could this be the problem as to why thickbox is not finding the images?! If so is there anything I can do?
Thanks.
