Thumbnails should be served over SSL if needed

Mixed content errors = bad
Merge pull request #1300 from nciske/2.x

Thumbnails should be served over SSL if needed