ah, ok :)
just as another idea, you can handle the image uploads with Nginx, this
will free Python from dealing static files.
Le samedi 25 octobre 2014 20:31:35 UTC+1, John a écrit :
>
> That's a good idea, Aliane. In my case, the server was lightly loaded,
> the conversion time is very short a
That's a good idea, Aliane. In my case, the server was lightly loaded,
the conversion time is very short and the admin was only used by a very
small number of users who were sufficiently patient.
John
On 25/10/14 20:23, Aliane Abdelouahab wrote:
> You have to send the picture editing to another p
You have to send the picture editing to another process, because you will
block the operation untill the image will be converted!
Le samedi 25 octobre 2014 19:23:33 UTC+1, John a écrit :
>
> On 25/10/14 15:26, Daniel Grace wrote:
>
> I need to include the following steps, but I don't know how
On 25/10/14 15:26, Daniel Grace wrote:
> I need to include the following steps, but I don't know how:
> 1. copy the 'picture' file
> 2. resize it (the copy)
> 3. save it to the upload directory
> 4. store it in the 'thumb' field
> ... continue as before and save the 'profile'.
> --
Daniel,
I've
I need to include the following steps, but I don't know how:
1. copy the 'picture' file
2. resize it (the copy)
3. save it to the upload directory
4. store it in the 'thumb' field
... continue as before and save the 'profile'.
--
You received this message because you are subscribed to the Google
Hi,
I am trying to put together some code for resizing an image and storing the
resized image on the database, but I am running into some problems having
struggled to find some decent examples online. Here is what I have come up
with so far, in the model:
class UserProfile(models.Model):
u
6 matches
Mail list logo