By Vlassis on Sunday, 23 August 2015
Posted in Technical Issues
Likes 0
Views 790
Votes 0
I would like to know the Joomla optimization process on EasySocial.

Eg, I have set a file size limit to 1MB.

So, if a member uploads an image at 4200px wide and 800KB size, what is happening to the uploaded image?

And how can I handle that file? How can I locate it?

If the member deletes the post, the image file is being deleted too?
Hi Vaggelis,

From what I understand, Easysocial creates a folder for each users base on the User ID. You can found the user ID in Joomla user manager or Easysocial User manager.

For example, if the ID of user Y is 189, then you'll see /media/com_easysocial/photos/189

Then inside that, Easysocial create folders for each albums user creates named base on the Albums ID as well.

I know if isn't really practical and take some time to find images in that case, but there isn't really any other way as having a name or username base folder name would be a conflict when user change them...

So to found images, you need to search for user ID and Album ID, then the image name. You'll see also that Easysocial creates multiple versions of each images (of different resolution so pages can load faster...)


Hope this help!
·
Monday, 31 August 2015 02:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Vaggelis,

I am really sorry for the delay of this reply as it weekends for all of us here.

Eg, I have set a file size limit to 1MB. So, if a member uploads an image at 4200px wide and 800KB size, what is happening to the uploaded image?

There are two things that you need to look at in this case. One is the image size must be under 1MB so it will be allowed to be upload. Another thing is you must have high value of memory_limit in your server php.ini in order to process image with high resolution. For image with 4200px in resolution you will need a minimum of 95M in memory limit in order for the upload to work correctly. You can find out more on the require memory_limit in order to process image with high resolution on your site here, http://www.dotsamazing.com/en/labs/phpmemorylimit .

And how can I handle that file? How can I locate it?

The photo will be uploaded inside /media/com_easysocial/photos folder on your server.

If the member deletes the post, the image file is being deleted too?

Yes the image will be deleted too.
·
Monday, 24 August 2015 12:15
·
0 Likes
·
0 Votes
·
0 Comments
·
So the image is already processed but I have to modify the value of memory_limit in my server php.ini ?

What is the name of the file in /media/com_easysocial/photos ?

How do you locate it? Through firebug?

Thanks!!!
·
Monday, 24 August 2015 14:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Can anyone please help me to locate the file of an uploaded image? If a user makes a post with an image, how can I locate it to a folder? Where is the image URL?
·
Monday, 31 August 2015 00:06
·
0 Likes
·
0 Votes
·
0 Comments
·
That is really great!

And how can I found the album ID?

·
Monday, 31 August 2015 03:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Two ways I know:

1. By URL. Go to the album on your site front-end.

The URL should looks like: .../albums/item/Album_ID-Album_title/user/user_name

Ex: Yoursite/albums/item/144-cover/user/Y


2. By going in back-end. Easysocial / albums. And search for the album you want. The ID is on the right side.

Hope this help!
·
Monday, 31 August 2015 04:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you so much for that!!!
·
Monday, 31 August 2015 14:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Aikigi,

Thanks for the helps.
·
Tuesday, 01 September 2015 10:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,
I uploaded a photo with a user with filename test.jpg 1920x1200 753KB

I see 5 more created images that are really perfect and optimised. Why EasySocial uploads the original file also untouched?

Can I disable that, or I have to reduce the maximum file upload eg to 500KB ?

Thanks!
·
Tuesday, 27 October 2015 05:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Vaggelis,

I am sorry for the delay of this reply,

Actually it will generated 6 type of image source e.g. ('thumbnail' , 'large' , 'original', 'square' , 'featured' , 'medium' );

Do you mean when you upload a new photo in Easysocial, it will stored original file in your server right?

If yes, unfortunately that was not possible to disable is because all type of image source still have to use it.
·
Tuesday, 27 October 2015 18:40
·
0 Likes
·
0 Votes
·
0 Comments
·
So, EasySocial stores the uploaded file and 6 versions of it: 'thumbnail' , 'large' , 'original', 'square' , 'featured' , 'medium' ?
·
Wednesday, 28 October 2015 20:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Vaggelis,

I am sorry for the delay of this reply,

Yes, when you upload the photo in your site, Easysocial will regenerated these 6 type 'thumbnail' , 'large' , 'original', 'square' , 'featured' , 'medium' and stored in your site.
·
Thursday, 29 October 2015 17:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks!
·
Friday, 30 October 2015 04:12
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome.
·
Monday, 02 November 2015 22:57
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post