BinaryExporterServlet does not return images all images when using multiple languages
When working with content/images in multiple languages, the BinaryExporterServlet (/contentAsset) can't be used since it always returns an image in the default language. We suggest that you change this to the current language, and when the image does not exist in the current language use the default language as a fallback.
Correction: the BinaryExporterServlet only returns images in the current language, and does not default to the default language (which happens when you access an image by its URL)
Is this true even if you pull the image by inode? You should be able to specify the byInode/true and get the exact image you want.
On Mon, May 27, 2013 at 9:16 AM, isaaceindhoven [email protected]:
When working with content/images in multiple languages, the BinaryExporterServlet (/contentAsset) can't be used since it always returns an image in the default language. We suggest that you change this to the current language, and when the image does not exist in the current language use the default language as a fallback.
— Reply to this email directly or view it on GitHubhttps://github.com/dotCMS/dotCMS/issues/2940 .
We retrieve the content by Identifier, so perhaps it is possible if we change this. I will look into this immediately.
Yes, /byInode/1 pulls the correct language. Thanks