Easy Thumbnails — easy
This documentation covers the 2.7 release of easy-thumbnails, a thumbnailing application for Django which is easy to use and customize. To get up and running, ... 本文檔涵蓋了 easy-thumbnails 2.7 版本,這是一個易於使用和自訂的 Django 縮圖應用程式。為了啟動並運行,...
Usage — easy
The primary function of easy-thumbnails is to dynamically create thumbnails based on a source image. So whenever a thumbnail does not exist or if the source was ... easy-thumbnails 的主要功能是根據來源影像動態建立縮圖。因此,每當縮圖不存在或來源是......
Settings — easy
Settings¶. class easy_thumbnails.conf. Settings ¶. These default settings for easy-thumbnails can be specified in your Django project's settings module to ... 設定¶. class easy_thumbnails .conf.設定 ¶.這些簡單縮圖的預設設定可以在 Django 專案的設定模組中指定...
Installation — easy
Run python manage.py migrate easy_thumbnails . You're done! You'll want to head on over now to the usage documentation.
Image Processors — easy
Following is a list of the built-in processors, along with the thumbnail options which they use. easy_thumbnails.processors. autocrop (im, autocrop=False, ** ... 啟動該影像的自動裁剪方法。 easy_thumbnails .processors。背景(im,大小,背景=無,**kwargs)...
Easy thumbnails for Django
You can use ThumbnailerImageField (or ThumbnailerField ) for easier access to retrieve or generate thumbnail images. For example: from easy_thumbnails.fields ... 運行 manage.py migrate easy_thumbnails 。用法範例。縮圖選項可以在 settings.THUMBNAIL_ALIASES 中預先定義,也可以在範本中指
iT 邦幫忙:
easy_thumbnails 簡化了許多操作縮圖的步驟,使用上輕鬆許多。easy_thumbnails 的底層使用pillow,pillow 是一套強大的函式庫,用來處理圖形,如果需要更細部的圖像處理, ...
easy
You can use ThumbnailerImageField (or ThumbnailerField) for easier access to retrieve or generate thumbnail images. For example: from easy_thumbnails.fields ... 您可以使用 ThumbnailerImageField(或 ThumbnailerField)更輕鬆地檢索或產生縮圖。例如:來自easy_thumbnails .fields ...
easy
You can use ThumbnailerImageField (or ThumbnailerFileField) for easier access to retrieve or generate thumbnail images. For example: from easy_thumbnails.fields ... 您可以使用 ThumbnailerImageField(或 ThumbnailerFileField)更輕鬆地擷取或產生縮圖。例如:來自easy_thumbnails .fiel
easy
You can use ThumbnailerImageField (or ThumbnailerFileField) for easier access to retrieve or generate thumbnail images. For example: from easy_thumbnails.fields ... 從easy_thumbnails .files 導入 get_thumbnailer thumb_url = get_thumbnailer(profile.photo)['av