Forums Index > Mewsoft Products > Auctionawy > Does anyone know how to create a separate thumbnail for the top of the listing?
auctionautoparts.com First Post Posted on: 09-20-09 03:06 PM
Does anyone know how to create a separate thumbnail for the top of the listing?

I would like to know if it is possible to create a separate thumbnail about triple the size of the gallery thumbnails so that I can add that to the Viewlisting header, much like the ebay listings..and it may be pushing it but can it also be clickable so that it forwards to the description section anchor tag.\ \ Thanks,\ \ -Will
mewsoft Reply #: 1 Posted on: 09-20-09 03:26 PM
Re: Does anyone know how to create a separate thumbnail for the top of the listing?

It is not interesting feature but can be done only as a custom work if you want, it will require a new html/thumsXX directory and geretaing the new thumb with admin options for its size.

Mewsoft Support
www.mewsoft.com

auctionautoparts.com Reply #: 2 Posted on: 09-20-09 04:32 PM
Re: Does anyone know how to create a separate thumbnail for the top of the listing?

Please email me a quote for this work to be done...Thanks -Will
auctionautoparts.com Reply #: 3 Posted on: 09-21-09 08:44 AM
Re: Does anyone know how to create a separate thumbnail for the top of the listing?

Ahmed,\ \ After looking into this further, I came up with a solution that works for me:\ \ I added this to the ViewItem.html template:\ \

<p><img src="/auctions/gallery/<!--ID-->.jpg" alt="<!--Title--> hspace="5"\ border="1"></p>

\ \ Would you be open to adding a section to the forum for users to share for lack of a better term "Hacks"?\ \ There are a few things that I have created that have been helping me out in modifying the default template that I think will benefit others trying to do the same...\ \ PS: I received your quote...Thank you for the speedy response.\ \ -Will
mewsoft Reply #: 4 Posted on: 09-21-09 10:32 AM
Re: Does anyone know how to create a separate thumbnail for the top of the listing?

Not all items have Gallery image, these items will display broken image link.

Mewsoft Support
www.mewsoft.com

auctionautoparts.com Reply #: 5 Posted on: 09-21-09 10:48 AM
Re: Does anyone know how to create a separate thumbnail for the top of the listing?

My Bad.... I can swap /gallery/ out for the /thumb/ directory.\ That should produce a graphic every time, correct?\ \ Any Thoughts on adding a "Hacks" section to the forum?\ \ -----------------------------------\ \ -Will\ AuctionAutoParts.com
auctionautoparts.com Reply #: 6 Posted on: 09-21-09 08:12 PM
Re: Does anyone know how to create a separate thumbnail for the top of the listing?

Ok, Here is what I devised to get around the broken image deal...
\
\ Add this to the class header:
\
\
\ <script language="JavaScript">
\ function ImageLoadFailed() {
\ window.event.srcElement.style.display = "None";
\ }
\ </script>
\
\
\
\ and put this where you want the image to display in your template:
\
\ <img src="/auctions/thumb/<!--ID-->.jpg" alt="<!--Title-->" OnError="src='/images/not_available.jpg'">
\
\
\ Note: this method requires an image to replace with the broken image, in this \ case I have created a image that says "Image not available" one could also put \ in a 1pixel transparent image so that nothing displays not even the broken \ image...