-
AuthorPosts
-
July 4, 2015 at 1:15 am #208233
I’m curious as it is not well documented, I’ve done a test where I uploaded an image via the Media Manager and pasted into an article and it sync’d with the S3 Bucket. When I go to my site and copy the link to the image I get:
http://site.com/images/6ypfYbw.jpgWhen I choose the upload from S3 into an article I get:
http://bucket.s3.amazonaws.com/6ypfYbw.jpgIs the original image pointing to the Bucket? Or what is going on here?
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
July 6, 2015 at 10:49 am #576486July 8, 2015 at 2:29 pm #576730So a few things, I’ve added the following policy to my S3 bucket:
{
"Version": "2012-10-17",
"Id": "Policy1436364953770",
"Statement": [
{
"Sid": "Stmt1436364931888",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::campusconnectimages/*"
}
]
}When I go to the link that is generated by the JA S3, it is inaccessible. When I go to the actual bucket link from amazon it works fine:
https://s3.amazonaws.com/campusconnectimages/6ypfYbw.jpgThe S3 Link generated by putting it through the editor button is wrong.
Still none of the standard images are being populated with S3 links.
Edit:
So I switched to folder mode: Folder [http://s3.amazonaws.com/bucket_name/%5D
And it seems to be working for the input from the S3 Bucket, but it still doesn’t update any of the existing image links.July 8, 2015 at 2:29 pm #643043So a few things, I’ve added the following policy to my S3 bucket:
{
"Version": "2012-10-17",
"Id": "Policy1436364953770",
"Statement": [
{
"Sid": "Stmt1436364931888",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::campusconnectimages/*"
}
]
}When I go to the link that is generated by the JA S3, it is inaccessible. When I go to the actual bucket link from amazon it works fine:
https://s3.amazonaws.com/campusconnectimages/6ypfYbw.jpgThe S3 Link generated by putting it through the editor button is wrong.
Still none of the standard images are being populated with S3 links.
Edit:
So I switched to folder mode: Folder [http://s3.amazonaws.com/bucket_name/%5D
And it seems to be working for the input from the S3 Bucket, but it still doesn’t update any of the existing image links.July 8, 2015 at 2:29 pm #741699So a few things, I’ve added the following policy to my S3 bucket:
{
"Version": "2012-10-17",
"Id": "Policy1436364953770",
"Statement": [
{
"Sid": "Stmt1436364931888",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::campusconnectimages/*"
}
]
}When I go to the link that is generated by the JA S3, it is inaccessible. When I go to the actual bucket link from amazon it works fine:
https://s3.amazonaws.com/campusconnectimages/6ypfYbw.jpgThe S3 Link generated by putting it through the editor button is wrong.
Still none of the standard images are being populated with S3 links.
Edit:
So I switched to folder mode: Folder [http://s3.amazonaws.com/bucket_name/%5D
And it seems to be working for the input from the S3 Bucket, but it still doesn’t update any of the existing image links.July 8, 2015 at 6:18 pm #576746Fixed, it turned out to be the box for the Site URL wasn’t defined as abox but if you click and enter it in it allowed me to put a variable in it. Once set it worked like a charm.
July 8, 2015 at 6:18 pm #643059Fixed, it turned out to be the box for the Site URL wasn’t defined as abox but if you click and enter it in it allowed me to put a variable in it. Once set it worked like a charm.
-
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by carnalim 9 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum