suneditor
suneditor copied to clipboard
Question on using imageGallery(imageGalleryUrl)
Good afternoon!
Question on using imageGallery(imageGalleryUrl)
My images are stored on a server to which I do not have full access. From the server, I get a response like this:
{
response: {
"results": [
{
"Image": "//s3.amazonaws.com/.../grandiosa-1.jpg",
"Title": "Title 1",
"Image": "//s3.amazonaws.com/.../grandiosa-2.jpg",
"name": "Test image",
"alt": "alt text",
"tag": "tag name"
},
// ----------------------//
],
}
}
In your example:
format: {
"result": [
//---------//
And I get "response" and "results" and I can't change that.
Please tell me if I can somehow use all this to use imageGallery?
Thank you.
It could be a typo issue. results > result
I meant that the data from the server is returned in this form:
{
response: {
"results": [
{
it's "results" not "result" and I can't change that.
And the question is - can I somehow use this for imageGallery(imageGalleryUrl)
https://etyswjpn79.execute-api.ap-northeast-1.amazonaws.com/suneditor-demo This is the API currently used by the demo site. Please refer to the response data.