Skip to content
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

Thumbnail image "squished" horizontally when uploaded into Browse category #2361

Closed
laurensorensen opened this issue Oct 10, 2023 · 6 comments

Comments

@laurensorensen
Copy link

I am finding that when I try and upload a rectangular image, instead of the image being slightly cropped on upload, the image gets "squished" (to use a technical term) horizontally. This is for browse category images in Spotlight. Below is a screenshot of the image in normal view in Gimp at the bottom, and then the resulting image in Spotlight thumbnail above that. Thanks for any help!
Screenshot 2023-10-09 at 5 05 33 PM

@laurensorensen
Copy link
Author

Also want to note that the original file uploaded is 1.2 megabytes in JPEG format, in case that helps.

@laurensorensen
Copy link
Author

This happened again with another category thumbnail. I guess I should stop my work on the images for the browse categories until this bug is fixed. Would you all expect this to be a time-consuming fix?

@marlo-longley
Copy link
Contributor

Hi @laurensorensen, can you please provide a link to the page where you see this?

@laurensorensen
Copy link
Author

laurensorensen commented Oct 11, 2023

https://exhibits.stanford.edu/virtual-tribunals/browse

Only Vogel and Andrae have this issue. (edit to remove Goebell)

@laurensorensen
Copy link
Author

laurensorensen commented Oct 11, 2023

All right, @marlo-longley assisted me with this and the issue appears to be that the image needs to be exactly 4:3 aspect ratio, otherwise the image will be altered upon upload if the box extends beyond the boundaries of the in-app Spotlight crop tool. I'll add this to the Spotlight documentation after running it by @caaster.

However, as a user, it would be great to get some sort of warning about this happening upon save, and also worth considering that if someone isn't very proficient in image editing or technical aspects like aspect ratio, this could still be an impediment for them uploading an image that isn't distorted.

@marlo-longley
Copy link
Contributor

Great, I'm glad these particular images were able to look correct when published. I will close this ticket and look out for any future discussion on image editing in Spotlight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants