简体   繁体   中英

Show image from s3 (amazon) in html page

I need to display my images from s3 (amazon) to html web page. I have images in my s3 storge and I want to retrive them to my html page with html code or node js. I don't know the names of the images beacuse I'm trying to build an app the clients can upload and delete images but I still whant to sidplay the current images that are stored in the bucket.

How can I do that?

thanks,

Get your storage address and use this HTML code to present the image:

<html>
    <head>
        <title>Example</title>
    </head>
    <body>
        <img src="your_storage_address/image_folder/image_name.image_extension" />
    </body>
</html>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM