Hi! I have added Sirv plugin but I am puzzled by the business logic of the plugin. It looks like it works only on images uploaded into Sirv cloud storage and not on the ones already stored at Apperyio's. Is this the correct assumption?
Hi! I have added Sirv plugin but I am puzzled by the business logic of the plugin. It looks like it works only on images uploaded into Sirv cloud storage and not on the ones already stored at Apperyio's. Is this the correct assumption?
Hi Jean,
Here is code of "setImage" function.
precode
function setImage()
{
var resultURL = Apperyio.storage.photoLink.get() + '&scale.width=' + Apperyio('width_slider').val() + '%&quality=' + Apperyio('quality_slider').val();
Apperyio('image').attr('src', resultURL);
Apperyio('url').val(resultURL);
}
/code/pre
As you can see you can use here any sirv url.
Also - you can just use sirv service like you need.
See more info here: https://sirv.com/resources/api/
Regards.
Hi Yuri
I have the same question. My images are stored in the Appery Files DB. Is there anyway I can reference them on must my files sit on the SIRV platform?
Thanks
Hi Deon,
Your images must be stored on the Sirv platform.
You can upload images to your Sirv account either with S3 file transfer, FTP or browser upload. Options are explained here: https://sirv.com/resources/getting-st...
To test it, register an account here: https://my.sirv.com/#/signup
Jake
Sirv
Thanks Jake
I need to do this programatically from my app. I do not use Amazon S3 as this is an unwanted cost. Cant use JScript to FTP either.
Neither of these two option proposed is helpfull for pushing an image from a mobile device.
Unless I am missing something?
Thank you
I wanted to ask the same question. It's not clear on the instruction on how to upload image directly from the App like what Deon mentioned so I am hesitate to use the service.
Deon - you don't need an Amazon S3 account. Sirv allows you to transfer files using the AWS S3 REST API, which is fast, secure and reliable (unlike FTP). Confusingly, it shares the name with the AWS S3 storage service, which is Amazon's paid storage service. The Sirv platform doesn't use Amazon S3 storage, it merely uses S3 compatible storage and transfer, meaning you may use the AWS S3 REST API.
Your S3 credentials are shown on this page in your Sirv account: https://my.sirv.com/#/account
Howard - you should use the AWS SDK for JavaScript (it's a REST API) to build REST requests like in this Appery.io screenshot:
An example of using the AWS SDK for JavaScript is here:
https://sirv.com/resources/api/#AWS_S...
Yurii - it would be great if Appery.io could provide a service to communicate with Sirv using the AWS SDK for JavaScript. Then all Appery.io users can make use of Sirv without each of them having to build REST requests. Could we explore this together? We can work with the Appery.io developers to build the integration - it will be quite easy and fast.
Thanks,
Jake
Sirv
Hi Jake - Thank you for writing in and your offer. Please, contact Max directly at: a href="mailto:max@appery.io" rel="nofollow"max@appery.io/a