Ticket #6 (new enhancement)

Opened 2 years ago

Last modified 2 years ago

Stretch images in PhotoField

Reported by: 235 at inmind org Assigned to: somebody
Priority: major Milestone:
Component: PhotoField Version:
Keywords: Cc:

Description

I've got weird situation, but I'll need change code to stretch images when they are smaller that default size. I's also would be good idea to move such option to settings

soon or late I'm gonna alter this part of code

Change History

09/09/06 22:33:35 changed by bryan

Interesting. Rather than making this a setting, how about making it an optional parameter so that it can be specified in your model, e.g.

    portrait = PhotoField(upload_to='photos', width=320, height=240, mode=CROP, stretch=True)

We'll take a look at adding this feature when we have time, but in the meantime if you'd like to submit a patch, I'd be open to merging it into PhotoField.