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