kopia lustrzana https://github.com/wagtail/wagtail
				
				
				
			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. Relevant source here: https://github.com/wagtail/wagtail/blob/master/wagtail/images/api/fields.pypull/5306/head
							rodzic
							
								
									70a749b10a
								
							
						
					
					
						commit
						b06cb6a6eb
					
				| 
						 | 
					@ -238,7 +238,7 @@ This would add the following to the JSON:
 | 
				
			||||||
            "height": 1125
 | 
					            "height": 1125
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        "feed_image_thumbnail": {
 | 
					        "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,
 | 
					            "width": 100,
 | 
				
			||||||
            "height": 100
 | 
					            "height": 100
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Ładowanie…
	
		Reference in New Issue