Skip to content

sainipray/djimage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Image Field

Overview

  • This Image field Provides functionality for Compression and Dimension of image at uploading time.

Installation

  • Installation -
    • Run

      pip install djimage
      
    • Add 'djimage' to your INSTALLED_APPS

      'djimage',
      
    • Import CompressImageField in your models.py file

      from djimage.field import CompressImageField
      
      image = CompressImageField(upload_to='images/')
      
                  **OR**
      
      # dim parameter is optional for convert image into specific dimension
      image = CompressImageField(upload_to='images/', dim=(100, 100))
      

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published