-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading larg-sized Images #10980
Comments
Not enough information to properly describe the issue. Please update to include more information |
I see the same issue, but with every large image that was uploaded or is uploaded. I upload a large image and it is shown as you see in the two attached screenshots. It is shown the same in browser and in Rocket.Chat Client for MacOS (I tried already the actual developer version, which I compiled by myself). First screenshot shows the image in the timeline. You see only part of the big image. Second screenshot shows the image after I clicked on it in the timeline. There you see the complete original image... |
Yeah, it seems the new lazyload doesn't scale images. So images that are too large just expand beyond the view. |
Same on docker 065.1 Really slows the loading and unnecessarily take up acres of screen real estate. A real retrograde step. |
@rocket-cat label add "type: bug" |
You don't have permission to execute this command |
I can confirm this. It happens when you upload a full-sized photo from android client. |
Timeline image previews are not being resized to an appropriate size but are being shown at the original file height and width. No scrollbars so image is useless. Either a css class has been deleted or a resize function is no longer being called. |
@richardt3 I'm pretty sure a CSS class was lost, as the images no longer have |
@vynmera because of users shouting, I added a dirty hack piece of custom css to my install to make width 80% of the frame. Image is still a full download but doesn't take up the whole screen now. |
Thanks for the fix @vynmera 👍 |
@vynmera - nice one. I don't suppose you have the CSS handy? Save waiting for the next release :) |
@acolville My fix includes a small HTML change too, so perhaps try out #10980 (comment) ? |
quick fix before release Administration > Layout > Custom CSS
|
Description:
Our Rocket not work correctly after upgrading to 65.1 in loading image,
the problem most see in large-sized images,
this problem happens on old posts (before upgrading to 65.1)
Server Setup Information:
The text was updated successfully, but these errors were encountered: