Guest User

Untitled

a guest
Jun 18th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1.     <?php
  2.         foreach ($node->field_image_cache as $index => $field) {
  3.           if (!empty($field['filepath'])) {
  4.             print "<a href='javascript:changePImg($index)' onMouseOver='changePImg($index)'>";
  5.             print theme_imagecache('product_thumbnail', $field['filepath']);
  6.             print "</a>";
  7.         }
  8.     ?>
Add Comment
Please, Sign In to add comment