google-code-export / django-photologue

Automatically exported from code.google.com/p/django-photologue
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

no way to get actual size of resized photo #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. get a Photo object p
2. call e.g. p.get_display_size() (with fix from Issue 42)

What is the expected output? What do you see instead?
The actual size of the photo would be useful for the width= and height=
attributes of an <img> tag.
The method returns the maximum size of the given PhotoSize instead.

What version of the product are you using? On what operating system?
2.0 branch revision 185 on Ubuntu 7.10 Gutsy.

Please provide any additional information below.
This attachment modifies get_*_size() methods to return actual sizes.

Original issue reported on code.google.com by akaih...@gmail.com on 29 Mar 2008 at 6:25

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry about the double. Google Code is giving me some insane delays and I 
thought it
didn't receive my request at all, but it did.

Original comment by akaih...@gmail.com on 30 Mar 2008 at 4:20

GoogleCodeExporter commented 9 years ago

Original comment by justin.d...@gmail.com on 31 Mar 2008 at 8:23