Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $img = 0;
- if (isset($node->field_image_cache[0]['filepath'])) {
- foreach($node->field_image_cache as $imageCache) {
- print "<a href='javascript:changePImg($img)' onMouseOver='changePImg($img)'>";
- print theme_imagecache('product_thumbnail', $imageCache['filepath']);
- print "</a>";
- $img++;
- }
- }
- ?>
Add Comment
Please, Sign In to add comment