Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
pulling out image code
ok starting to get our webstore together, it all works fine and seems very easy and painless to work.
I do however want to do some nicer things with the items and invoke some nicely lightbox style javascript on item pictures. But a problem i have is pulling out the code for an item image.
If i use:
<%=getCurrentAttribute('item','storedisplaythumbnailhtml')%>
it returns:
<img src='/core/media/media.nl?id=33297&c=472052&h=3d37dcd3ceae2195e81b&resizeid=-1&resizeh=150&resizew=159' border='0' alt='smallf02.jpg' title='smallf02.jpg'>
now because i want to hyperlink to this image dynamically and add in some javascript what I want to pull out on a dynamic basis is:
0