jamiet757 Posted February 5, 2010 Share Posted February 5, 2010 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/ Link to comment https://forums.phpfreaks.com/topic/191103-use-php-file-to-access-images-in-amazon-s3-bucket/ Share on other sites More sharing options...
jamiet757 Posted February 5, 2010 Author Share Posted February 5, 2010 Nevermind, I realized that I can just link directly to the image from the amazon site, and I learned how I can secure the files so people can't download them all. Link to comment https://forums.phpfreaks.com/topic/191103-use-php-file-to-access-images-in-amazon-s3-bucket/#findComment-1007670 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.