خرید بک لینک

Vote count: 0

When I upload an image like below:

image = models.ImageField(upload_to = "storage", blank=True, null=True)

I want to able to resize the height and width of raw image to 30x30(or different size). It shows up as raw in the current setting. What's the simplest way for it to get applied?

In the template:

<p><center><img src="{{ person.image.url }}"> </center><p>

asked 27 secs ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 17 تير 1395 ساعت: 5:49

صفحه بندی