By Dalia Jas on Sunday, 29 December 2013
Posted in General Issues
Replies 6
Likes 0
Views 1.3K
Votes 0
I set up remote storage to be working with Amazon S3. But it works only like this:

- user uploads picture in the stream,
- folder is created in local server media/com_easysocial/photos/....
- images like _thumbnail.jpg _original.jpg _square.jpg _large _stock are created in local server. In amazon S3 bucket appears NOTHING.
- I click on cron url http://mydomain/index.php?option=com_easysocial&cron=true&phrase=.key
- then all the mentioned files (_thumbnail _original _square _large) appears in amazon S3. In local server media/com_easysocial/photos/.... there is left only one file _stock.jpg

When I upload picture in jreviews, none of the folders is created in local server, file appears in amazon S3 bucket.

So is there something with my easysocial settings? Why it's not working without clicking on cron url. I would appreciate your help.
Hello Dalia,

I am really sorry for the delay of this reply as it is a weekend for us here. Can you also please provide us with your Amazon S3 credentials as well?
·
Sunday, 29 December 2013 21:46
·
0 Likes
·
0 Votes
·
0 Comments
·
OK, thank you.
This issue is not urgent at all
·
Monday, 30 December 2013 04:38
·
0 Likes
·
0 Votes
·
0 Comments
·
I would greatly appreciate if you could look into my issue with Amazon S3 as described above.
·
Monday, 06 January 2014 20:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Dalia,

Ah, I am really sorry I guess I missed your post earlier. Hm, when I checked the site, it seems to be working fine actually. The "_stock" is necessary to be stored on the server because EasySocial allows you to rotate photos.

As for why the images are stored locally first is simply because we want the upload process to be extremely fast and smooth. What I believe JReviews is doing is when your user uploads the photo in JReview, it immediately pushes the file to Amazon. This may cause the upload process to be a little slow. Hence, we leave the "synchronization process" to the cron so it doesn't affect the speed.
·
Tuesday, 07 January 2014 13:18
·
0 Likes
·
0 Votes
·
0 Comments
·
But the problem is that photos appear in S3 bucket only after I click on cron url. If I do not click on it - all the photos remain in local server. Does it have to be like this?

Thank you for your help.
·
Tuesday, 07 January 2014 18:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Dalia,

There's actually no work around for this and it has to be like this unless you want to wait a couple of minutes for your photos to get uploaded EasySocial is unlike JReviews. Every photo that is uploaded, it get's resized and we need to send them to Amazon. Now, imagine if you are uploading 5mb worth of image and that would need to be uploaded to the server first and then pushed to Amazon. You will wait pretty long before this process is completed.
·
Wednesday, 08 January 2014 03:22
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post