from django.db import models
from imagekit.models import ImageSpecField
from imagekit.processors import ResizeToFill
# Create your models here.
class Pictures(models.Model) :
    text = models.TextField()
    image = models.ImageField(upload_to="blogimg")
    image_thumbnail = ImageSpecField(source='image', processors=[ResizeToFill(120, 100)], format='JPEG', options= {'quality':60})
f8df09ce51cb992fe9e3a55fcb1dc5c0cba4318c
<mask token>

<mask token>


class Pictures(models.Model):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Pictures(models.Model):
    text = models.TextField()
    image = models.ImageField(upload_to='blogimg')
    image_thumbnail = ImageSpecField(source='image', processors=[
        ResizeToFill(120, 100)], format='JPEG', options={'quality': 60})

from django.db import models
from imagekit.models import ImageSpecField
from imagekit.processors import ResizeToFill


class Pictures(models.Model):
    text = models.TextField()
    image = models.ImageField(upload_to='blogimg')
    image_thumbnail = ImageSpecField(source='image', processors=[
        ResizeToFill(120, 100)], format='JPEG', options={'quality': 60})

from django.db import models
from imagekit.models import ImageSpecField
from imagekit.processors import ResizeToFill
# Create your models here.
class Pictures(models.Model) :
    text = models.TextField()
    image = models.ImageField(upload_to="blogimg")
    image_thumbnail = ImageSpecField(source='image', processors=[ResizeToFill(120, 100)], format='JPEG', options= {'quality':60})