You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, there is currently no workaround for this. Currently we just proxy the fields, and use whatever they have available. Not all backends support these tags. We could implement this missing feature within django-any-imagefield however, so no matter what backend you use, the feature will work (hence marking as "enhancement").
For my projects, I wrap all images in a sorl.thumbnail tag, to restrict the size at the frontend. This could also be a usable workaround, as SORL will store/cache the width and height fields for you.
Is there any work-around to get image dimensions automatically into the model like stock Django does with the
width_field=
andheight_field=
options?The text was updated successfully, but these errors were encountered: