kopia lustrzana https://github.com/wagtail/wagtail
Update documentation - API example of image url to be relative
ImageRenditionField returns a relative URL - The example in the docs shows an absolute URL with the site's hostname, but the ImageRenditionField returns a relative URL. Merge pull request #5306 from mihow/patch-2pull/5318/head
commit
e967b9763f
|
@ -238,7 +238,7 @@ This would add the following to the JSON:
|
|||
"height": 1125
|
||||
},
|
||||
"feed_image_thumbnail": {
|
||||
"url": "http://www.example.com/media/images/a_test_image.fill-100x100.jpg",
|
||||
"url": "/media/images/a_test_image.fill-100x100.jpg",
|
||||
"width": 100,
|
||||
"height": 100
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue