felixmokross / lapuertahostels

0 stars 0 forks source link

Image Viewer: inefficient dynamic height transformation #113

Closed felixmokross closed 2 months ago

felixmokross commented 2 months ago

The image viewer dialog always uses a height transformation and’s uses the browser window height as a basis. For landscape photos this does not make sense, the requested image will be much bigger than needed.

Performance could be improved by a smarter algorithm to calculate the optimal image transformation.