Discussions
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: