Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Contrib.Thumbnails

Thumbnails Generator Module for Orchard Project CMS using the ImageResizer.net library

Main features:

  • Simple and easy to use extension method
  • Compatible with Azure Storage or local file system
  • Uses the media folder to store cache of images (assets/cache)

Usage 1 (extension):

  • Reference Contrib.Thumbnails on your theme
  • Add @using Contrib.Thumbnails.Extensions; to your overriding view
  • Use extension method, @Html.Thumbnail("{mediaimageurl}", "Alternate Text", 100, 100, null)

Usage 2 (URL):

  • Use url /Thumbnails?mediaPath={mediapathfordirectory}&name={filename}&width=100&height=100

Futures:

  • Implement diferent resizing methods from the ImageResizer.net library.
  • Thumbnail management via the dashboard, refresh, erase, etc.
  • Detect file changes and invalid cache.

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.