Fix #542 Flipped witdh and Hight in the code

This commit is contained in:
Tommy Mikkelsen 2022-07-22 23:38:09 +02:00
parent 3003fe4579
commit c8b90148c3
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) * [#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) * [#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) * [#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) ## V0.3.17 (20220601)

View file

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