﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
8208	ImageField does not set width/height_field using 'actual' file	Victor Andrée		"As mentioned in [http://groups.google.com/group/django-developers/browse_thread/thread/1d6f859b99dbf701 django-developers], `models.ImageField` (actually `ImageFieldFile.save`) updates width/height_field using the 'original' (typically uploaded) file, not the one that gets saved. This means that if you don't save the same file as the one being uploaded (because you have resized it), width and height are incorrect.

The code to set width/height is in `ImageFieldFile.save`, and happens before the file is saved.

I'm attaching a patch which moves this code below the save call and uses the final file to find the dimensions. I don't know much about Django internals so it might need polishing, then again, it really just moves some code down a few lines and changes one function call."		closed	File uploads/storage	dev		wontfix			Accepted	1	1	0	1	0	0
