kthornbloom / Smoothproducts

A simple, lightweight and responsive product image viewer using jQuery
kthornbloom.com/smoothproducts
185 stars 89 forks source link

Add default image loading with sp-default class #17

Closed andynoelker closed 8 years ago

andynoelker commented 8 years ago

This adds the option to include an "sp-default" class with an image link. This will cause that image to be loaded by default, instead of the first image in the list.

This does not include a new minified version of the js file, but as you do not specify the minify method you use, I will leave that up to you (honestly I would suggest dropping that from the project as most people use a task runner or their own method to minify now).

kthornbloom commented 8 years ago

Nice feature! I've got it merged in.