Merge pull request #545 from WebTools-NG/#542-Export-Art-&-Posters-NOT-honouring-the-Dimension-settings

Fix #542 Flipped witdh and Hight in the code
This commit is contained in:
Tommy Mikkelsen 2022-07-22 23:38:39 +02:00 committed by GitHub
commit 7e10e5cd76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -23,6 +23,7 @@
* [#538 ET Library output needs the Library Title in 1st Column](https://github.com/WebTools-NG/WebTools-NG/issues/538) (Bug fix)
* [#537 ET Custom Level - blank with no name](https://github.com/WebTools-NG/WebTools-NG/issues/537) (Bug fix)
* [#543 ET Limit Export dialogue shows start value equal to end value](https://github.com/WebTools-NG/WebTools-NG/issues/543) (Bug fix)
* [#542 Export Art & Posters NOT honouring the Dimension settings](https://github.com/WebTools-NG/WebTools-NG/issues/542) (Bug fix)
## V0.3.17 (20220601)

View file

@ -1396,8 +1396,9 @@ const etHelper = new class ETHELPER {
fileName
);
// Build up pic url
const width = res.split('*')[1].trim();
const hight = res.split('*')[0].trim();
//const width = res.split('*')[1].trim();
const hight = res.split('*')[1].trim();
const width = res.split('*')[0].trim();
let URL = this.Settings.baseURL + '/photo/:/transcode?width=';
URL += width + '&height=' + hight;
URL += '&minSize=1&url=';