ac_ProductImages / ProductImage

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
moopa
Lieutenant (LT)
Lieutenant (LT)
Posts: 59
Joined: Tue May 13, 2008 10:11 am

ac_ProductImages / ProductImage

Post by moopa » Tue Aug 11, 2009 1:56 pm

This table and class is lacking a ThumbnailURL field.
Is it possible to add these? I vaguely recall seeing something about NVeloctiy on the forums before.

Thanks

Moopa

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: ac_ProductImages / ProductImage

Post by mazhar » Wed Aug 12, 2009 4:08 am

ProductImage class represent the additional image, so it make sense that it doesn't have any thumbnail because for additional images we don't have any thumbnails. So in workaround if you have generated thumbnails for those additional images you can try to prefix name with some predictable sequence so that you can easily calculate thumbnail URL from additional image name.

User avatar
moopa
Lieutenant (LT)
Lieutenant (LT)
Posts: 59
Joined: Tue May 13, 2008 10:11 am

Re: ac_ProductImages / ProductImage

Post by moopa » Wed Aug 12, 2009 4:19 am

mazhar wrote:ProductImage class represent the additional image, so it make sense that it doesn't have any thumbnail because for additional images we don't have any thumbnails. So in workaround if you have generated thumbnails for those additional images you can try to prefix name with some predictable sequence so that you can easily calculate thumbnail URL from additional image name.
I was thinking the same thing, however it may be easier for me to write a simple class.
I think it would be nice to add a ThumbUrl property for folks like myself who have been using your code base quite heavily but none of the front end controls. For our site, I envisage the additional pictures working quite similar to ebay with thumbs being clicked replacing an image via javascript. Just a thought :)

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: ac_ProductImages / ProductImage

Post by mazhar » Wed Aug 12, 2009 4:31 am

Have a look at following thread, here I posted a gallery for additional images where initially additional images are shown as thumbs
viewtopic.php?f=47&t=9026

Post Reply