-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
Images do not display on macOS Safari with 100% zooming level #537
Comments
I am also facing the same issue on linux-ubuntu 20.04 LTS. Raised the issue in discussion #539 |
Just to add to my problem: I have
But there are a few warnings (I am not sure if they really matter):
And things like
The SOME_PHOTOs are not the ones that do not display though. So the conflict is probably not related to my issue. Just to let you know. |
@HaoranLiao, @vanshaj18, are you still experiencing the issue? I'm not able to reproduce on my end. maybe either of you could link me to your repos that have this rendering issue? regarding |
@alshedivat Hi, thanks for trying to reproduce this. The problem still exists. This is my repo. |
@HaoranLiao, this is very odd. I've just cloned your repo, built it locally, opened in Safari and everything seems to work: I do see a bunch of warnings in the build log:
don't think any of these warnings are critical, likely due to the fact that you are using the same thumbnail image for multiple projects, so it gets overridden multiple times during build. |
@alshedivat hmm, thanks for trying it. This is really odd. The Safaris on my two MacBooks (no extension installed, cache cleared) both have trouble displaying the images on my locally built site and my online published site. I might try with another Mac when I have the chance. I don't have anything to add to this issue. It might be just a Safari problem on my Macs. |
This behavior happened with me on Windows when the page was zoomed in. In my case, it started with 150% zooming level to break. |
@alshedivat This bug is genuine. What @mabdelhack described is also actually what happened to me with my macOS Safaris -- I just tried to zoom out on my Safari and found that everything worked fine. The default zooming level (100%) of my Safari gave the picture loading error on my website; if I just zoom out to 85% on Safari, the pictures all display fine. |
ok, I was able to reproduce this issue by zooming in and out the projects page. looks like an issue with responsive images. will look into this. |
Windows for me broke at >= 100% zoom. |
I suspect this was caused by pull #498 . Can anyone also check it out? |
Just another observation, this bug only occurs on the development server but not on the actual site. |
The bug occurs on both the actual site and the development server for me. |
Commenting out lines to resolve issue with figures not loading as specified in alshedivat#537
Found a stack overflow discussion related to this: https://stackoverflow.com/questions/45671200/safari-not-requesting-srcset-images-on-resize It seems that Safari does not support this feature of requesting (or downloading) a new image due to viewport size changes. This article explains it a bit: https://cloudfour.com/thinks/state-of-responsive-images-2017/#mixed-news-inconsistent-implementations |
Github issue link alshedivat/al-folio#537
Github issue link alshedivat/al-folio#537 [ci skip]
Github issue link alshedivat/al-folio#537
Github issue link alshedivat/al-folio#537 [ci skip]
Github issue link alshedivat/al-folio#537
Github issue link alshedivat/al-folio#537 [ci skip]
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I am using ubuntu 22.04 and had the same issue. Imagemagick was not generating the responsive images. Installing imagemagick using |
I can reproduce the same issue on a mobile device (iOS 15.5) and mobile layouts on a mac desktop. @tornikeo's suggestion about commenting out lines 6-8 |
With PR #726, we now have an option in Just make the following changes in
and also turn off
Lines 240 to 243 in bcd43a1
|
I recently pulled the latest changes from #726. It seemed to be working well on local but it broke the profile image for me in production. Going back to #537 (comment) fixed it. |
#537 (comment) and #726 should do the same thing. Did you change |
To my best knowledge, this issue should completely be fixed by PR #748. I have used jQuery to delete the responsive image It is now no further required to change anything in the Would appreciate if anyone would check and confirm whether this is working or not. |
I am still having a similar issue building my page. The images that are part of the forked repo are fine but my image does not consistently load. |
I am still facing the same issue on Safari, both on Macbook and Phone. The images look blurred at 100% resolution |
I ran into the same issue as well. The image is not loading at all on neither Safari nor Chrome on (I tested this both on MacOS, iPhone and Windows). |
Same issue here - my profile photo disappears when my tab (both Chrome and Safari) is full screen. |
Acknowledge the following
[For usage questions, please post in the Discussions instead of raising an issue.]
Describe the bug
My profile and project images do not display on macOS Safari (Version 13.1.3). The display was fine on Chrome and Firefox. And it was also fine on iOS Safari.
Expected behavior
Profile images and project card images displayed on the webpage
Screenshots
A screenshot of the profile image not displayed on macOS Safari:
A screenshot of the project card image not displayed on macOS Safari:
System (please complete the following information):
Additional context
My profile and project images do not display on macOS Safari (Version 13.1.3). The display was fine on Chrome and Firefox. And it was also fine on iOS Safari. Whenever I use the macOS Safari to open my page, say the about page, I get this error:
I tried to use different user agents in macOS Safari to open the webpage which is why there are different sized my_pic requested. All of the 480, 800, and 1400 sized images (.webp) cannot be found (but the .jpeg img is definitely in the /img folder). I tried opening up other people's al-folio webpage on macOS Safari and their images all display properly. Any clue on solving this?
The text was updated successfully, but these errors were encountered: