By Martyna Chojnacka on Wednesday, 23 January 2019
Posted in Technical Issues
Replies 7
Likes 0
Views 501
Votes 0
Hi
I am trying to migrate images from the previous website to the EasySocial. There are thousands of them, so I am hoping for automatization of this process. I reckon API use - so the photos can get resized to all of needed sizes that Easy Social requires. Photos also need to be assigned to the users (there is thousands of them also ).
If there is no such thing as ready API available, do you have any rules or tips for writing it from scratch?
Also, I would need to use it, to choose which photos are going to be avatars and which ones are album photos.

Many thanks
Martyna
Hi Martyna,

Correct me if I am wrong here, do you meant that you want to migrate images site A (using EasySocial) to site B (that using EasySocial as well) yes?
If yes, unfortunately, there is no automation for this.
What you need to do is just by manually migrate all folder from .../media/com_easysocial/... (site A to the new site B)

p/s: we strongly suggest you to do a full backup beforehand just for precaution step

Best regards,
Fadhli
·
Wednesday, 23 January 2019 12:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi

No that is not the case. My site A is not Easy Social, it was not a cms site - I would rather consider it as a database.

I can not just insert thousands of user's photos into media folder, that is no the aim - hence my question.

I reckon API use - so the photos can get resized to all of needed sizes that Easy Social requires. Photos also need to be assigned to the users (there is thousands of them also ).
If there is no such thing as ready API available, do you have any rules or tips for writing it from scratch?
Also, I would need to use it, to choose which photos are going to be avatars and which ones are album photos.
·
Wednesday, 23 January 2019 16:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Martyna,

I see, unfortunately it is not possible at this point of time and I am really sorry but unfortunately we cannot accommodate your request currently as it is beyond our support scope's policy as outlined in https://stackideas.com/support

Having said that, if you require us to perform the customization for you, you can always request for a quote from us at https://crm.stackideas.com and select "Customizations" . Our sales person would be glad to send you a quote for the customizations that you have requested.
·
Wednesday, 23 January 2019 17:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Well, I am not quite sure how is migrating photos a customization?

It is a standard feature - users photos, I am just asking technical questions, about your extension's functionality. I do not need to customize anything, but migrate content.

Are the insides of how Easy Social works a secret to developers and not supported if they are a bit more advanced?

The question is how Easy Social processes photos uploaded, how does the API work and if it is avaialble, so I can use it to import my own data. I would like to get support for this from the authors, instead of recreating it myself, maybe send me to the documentation or any usefull info, but to say it is not supported is very unhelpfull, especially that I do not require any new or unsupported features, but just common data import.
·
Wednesday, 23 January 2019 19:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Martyna,

Actually there is no 'simple' API to easily migrate your photo from non cms database to easysocial database structure, where each photo have tightly integrated with easysocial functionalities such as (photo path, privacy,cloud/local storage, stream ids, albums, photo format etc.)
However, If you want to get some idea on how the photo processing work, you can start by looking at the following controller:
.../components/com_easysocial/controllers/photos.php
·
Thursday, 24 January 2019 16:17
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post