Experiencing a 401 Unauthorized Error During Update?

If you're seeing a 401 Unauthorized error when trying to update your Joomla extension, it's likely due to our new two-factor authentication (2FA) security measure for your Download ID.
To resolve this, check your email (Spam folder?) for a message to approve your server or device, or read our detailed blog post here( onlinecommunityhub.nl/best-practice/new-...-extension-downloads) to understand the steps involved. This will guide you through approving your server for future updates.

No bug Preview Images are blurred

More
6 months 4 weeks ago #2842 by Helmut
Preview Images are blurred was created by Helmut
This message contains secure information
The topic has been locked.
More
6 months 4 weeks ago #2843 by Ruud van Lent
Replied by Ruud van Lent on topic Preview Images are blurred
Hi Helmut,

the preview image size is 290 x 170, but it is 'stretched' to fit in a 290 x 290 container.

because the height is smaller (170) then the container height (290) the image gets stretched. You can try to set the preview width to 500, that way the height will be around 290 and the image doesn't need to be stretched (and as such will not look blurred).

Can you five that a try?
The topic has been locked.
More
6 months 4 weeks ago #2844 by Helmut
Replied by Helmut on topic Preview Images are blurred
Hi Ruud,
i tested this but it doesn't work - the images are still blurred.
And - additionally - the 500px doesn't fit our needs (looks not good in our layout).

Best regards
Helmut
The topic has been locked.
More
6 months 4 weeks ago - 6 months 4 weeks ago #2845 by Ruud van Lent
Replied by Ruud van Lent on topic Preview Images are blurred
Hi Helmut,

that is due to the boxed layout: that sets the preview width on the image element: in your case now to 500 > this makes the height to be agin strecthed from 290 to 500 > that will be blurred.

So there are two things you can do here: do not use the boxed layout but e.g. the flexbox layout: that will set the preview widt but it will not set the height and as such the image is not stretched,

of if you want the boxe layout you can do a template override for it:
in file gallery_boxed.php you can change line
Code:
$previewWidth = $tag['previewWidth'];


to (e.g.)
Code:
$previewWidth = 290;


that way the 500px preview image will be displayed in a 290 x 290 box and then there is no need to stretch as the height of the image is appr. 290px

Note that this will then be 'fixed' size also for other boxed galleries
Last edit: 6 months 4 weeks ago by Ruud van Lent.
The topic has been locked.
More
6 months 3 weeks ago #2847 by Helmut
Replied by Helmut on topic Preview Images are blurred
Hello Ruud,
thanks for the workaround. For now - this works :-)

Best regards
Helmut
The topic has been locked.
More
6 months 3 weeks ago #2848 by Ruud van Lent
Replied by Ruud van Lent on topic Preview Images are blurred
Thanks for reporting back Helmut.
Good to hear (and see) that it worked out!

Closing this topic, if you have any other questions / suggestions feel free to open a new topic.

Regards,
Ruud.
The topic has been locked.