A
A
Aleksey2020-04-24 13:52:04
PHP
Aleksey, 2020-04-24 13:52:04

How to display pictures from a folder online?

Good day. There is a site:

u0763918test1.isp.regruhosting.ru

When uploading a picture, the pictures are saved to a folder on the upload server.
The gray block displays pictures already uploaded to the upload folder.

How can I make it so that when the next picture is loaded, it is immediately added to the gray block? Without reloading the main page?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Huk, 2020-04-24
@vanyahuk7

After uploading the file to the server, return the ulr of the image and add it to the DOM

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question