L
L
likejavascript2015-04-02 18:44:30
Nginx
likejavascript, 2015-04-02 18:44:30

What is the best way to implement image loading through nginx?

I want to implement image loading using nginx and FileAPI from mail.ru , and in this regard, there are several questions:

  1. What is the best module to do this: nginx-upload-module , native clientbodyinfileonly or something else?
  2. How to check that the user is authenticated (is it possible to pull the backend and return some parameters, such as user_id)?
  3. How to rename a file to a hash so that it is called something like on habra //habrastorage.org/files/011/b0f/639/011b0f639f69491e9e4cbaf41656297f.jpg ?
  4. How, when loading an image, immediately generate three different sizes for it (128x128, 96x96, 30x30)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Gorgul, 2015-04-09
@xXxSPYxXx

ruhighload.com/index.php/2009/04/22/%D0%BE%D1%82%D...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question