Jump to content

Use PHP file to access images in Amazon S3 bucket


jamiet757

Recommended Posts

I am trying to configure my stock image site to use Amazon S3 to store the images.

 

I need to figure out how I can make a PHP file that will grab the imagewhen called, I would like to be able to do something like this:

 

<img src="/getimage.php?src=/content/folder/imagename.jpg">

 

This would make it easy to implement on my site, however I have no idea how I can make the PHP file that will grab the image.

 

I looked through the documentation on the API and it is way out of my league. Can anyone help me with something like this?

 

Here is a link to some of the docs, but I can't make sense of it all.

 

http://docs.amazonwebservices.com/AmazonS3/latest/gsg/

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.