class PostForm(forms.ModelForm):
image = ProcessedImageField(spec_id='posts:create:post_image',
processors=[ResizeToFill(width=600, height=400)],
format='JPEG',
options={'quality': 80})
width_field = forms.IntegerField()
height_field = forms.IntegerField()