Website not working in Chrome Browsers but works fine in firefox |
Website not working in Chrome Browsers but works fine in firefox |
nootkan |
Nov 25 2021, 02:25 PM
Post
#1
|
Member Group: Members Posts: 34 Joined: 16-July 21 Member No.: 28,016 |
Hi all, I am having a tough time trying to figure out why my website works fine when viewed in firefox but not in chrome based browsers. For some reason the webp image files aren't loading but when I change them over to png, jpg or gif everything is good again. Been at this for a couple of weeks now and can't seem to see what is wrong so though I'd get some more eyes to see if I am missing something simple or ? Thanks for your time. The website is https://www.bassonhook.com
|
Christian J |
Nov 26 2021, 03:15 PM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
Seems the linked page has changed to JPG images now. I have no idea why it didn't work before though, not even when opening the WebP images directly in my Chrome-based browser.
|
nootkan |
Nov 26 2021, 05:17 PM
Post
#3
|
Member Group: Members Posts: 34 Joined: 16-July 21 Member No.: 28,016 |
Christian, thanks for the reply. I was getting too many emails telling me the links were broken so I changed everything back to the compressed jpgs and pngs. I can't seem to figure it out either as it worked just fine in firefox but not chrome. Probably a conflict somewhere in a css file or js file but will have to troubleshoot again as webp images definitely increased page speed when tested. I could upload a temp file to my server for troubleshooting if anyone here would like me too.
|
Christian J |
Nov 26 2021, 08:46 PM
Post
#4
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
A simple test page might help. Are you able to view other pages with WebP images in Chrome?
|
nootkan |
Nov 27 2021, 03:40 PM
Post
#5
|
Member Group: Members Posts: 34 Joined: 16-July 21 Member No.: 28,016 |
A simple test page might help. Are you able to view other pages with WebP images in Chrome? Hi Christian, so I created a temp file where I could still troubleshoot the issue and discovered a couple of webp images were actually showing. I decided to check my code again in W3 validation and voila somewhere along the line a couple of extra divs were place in the code (Dreamweaver maybe?) once I removed them all is good again. Thanks for helping me it was much appreciated and got me thinking along a different path. This post has been edited by nootkan: Nov 27 2021, 04:03 PM |
nootkan |
Nov 27 2021, 04:58 PM
Post
#6
|
Member Group: Members Posts: 34 Joined: 16-July 21 Member No.: 28,016 |
I guess there must be a time limit on editing as I couldn't edit my previous post. It seems I spoke too soon. I forgot to change my png and jpg files back to webp to confirm. The changes didn't actually fix the problem. So back to the drawing board. The temp link is https://www.bassonhook.com/temp/index.php
Also I noticed that the last webp image in the right sidebar is working so that is strange. This post has been edited by nootkan: Nov 27 2021, 05:02 PM |
Christian J |
Nov 27 2021, 08:38 PM
Post
#7
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
I guess there must be a time limit on editing as I couldn't edit my previous post. Yes, one hour. Maybe something's wrong with the image files? I tried saving https://www.bassonhook.com/images/largemout...nkbait-med.webp and open it in Irfanview, but didn't see it there either. |
Brian Chandler |
Nov 27 2021, 11:37 PM
Post
#8
|
Jocular coder Group: Members Posts: 2,460 Joined: 31-August 06 Member No.: 43 |
Is there any point in using .webp? I did not know of it, and it turns out to be a google proprietary format, claiming better compression than (eg) jpeg or png. I looked as the logo file (bohlogo5.webp), which is 8k; save in png and it is 32k; resave as jpg (no noticeable loss of quality) and it is 11k. Hardly a big deal - if you really want to save bytes, recode the logo file in svg and it will surely be a lot smaller than any bitmap format including webp, while being an open standard.
The slogan at the top of this page says "making the web accessible to all...", which would only suggest "Don't use webp". |
nootkan |
Nov 29 2021, 01:04 PM
Post
#9
|
Member Group: Members Posts: 34 Joined: 16-July 21 Member No.: 28,016 |
Is there any point in using .webp? I did not know of it, and it turns out to be a google proprietary format, claiming better compression than (eg) jpeg or png. I looked as the logo file (bohlogo5.webp), which is 8k; save in png and it is 32k; resave as jpg (no noticeable loss of quality) and it is 11k. Hardly a big deal - if you really want to save bytes, recode the logo file in svg and it will surely be a lot smaller than any bitmap format including webp, while being an open standard. The slogan at the top of this page says "making the web accessible to all...", which would only suggest "Don't use webp". Brian, thanks for your reply. The point of using webp is to satisfy google so pages rank better and a faster page load in mobile phones is one of the major ranking factors. I've proven to myself with other websites I developed that a faster page loading speed increased the ranking so I am trying to make this website faster also. I tried converting my png and jpeg images to svg and it didn't look at all like the png or jpg so I abandoned that idea also. It actually turned the images dark. https://www.bassonhook.com/images/bohlogo5.svg This post has been edited by nootkan: Nov 29 2021, 01:05 PM |
nootkan |
Nov 29 2021, 01:07 PM
Post
#10
|
Member Group: Members Posts: 34 Joined: 16-July 21 Member No.: 28,016 |
I guess there must be a time limit on editing as I couldn't edit my previous post. Yes, one hour. Maybe something's wrong with the image files? I tried saving https://www.bassonhook.com/images/largemout...nkbait-med.webp and open it in Irfanview, but didn't see it there either. Christian, I am using an online convertor to convert my images which were originally created in photoshop cs6 so I will have a look to see if they are being corrupted somehow. Thanks again. |
Brian Chandler |
Nov 29 2021, 01:31 PM
Post
#11
|
Jocular coder Group: Members Posts: 2,460 Joined: 31-August 06 Member No.: 43 |
I tried converting my png and jpeg images to svg and it didn't look at all like the png or jpg so I abandoned that idea also. It actually turned the images dark. https://www.bassonhook.com/images/bohlogo5.svg You can't properly "convert" images to svg, which is only for graphics (i.e. not photographs); you have to make them again, using appropriate fonts etc, so every part of the image is a mathematical expression. Indefinitely expandable, and fiendishly compact on data. |
pandy |
Nov 29 2021, 05:48 PM
Post
#12
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Maybe something's wrong with the image files? I tried saving https://www.bassonhook.com/images/largemout...nkbait-med.webp and open it in Irfanview, but didn't see it there either. Same here. Which is strange since IV uses to report when the image contains errors. Christian, I am using an online convertor to convert my images which were originally created in photoshop cs6 so I will have a look to see if they are being corrupted somehow. Try another converter. Why not IrfanView? It's free and handles a lot of formats. https://www.irfanview.com/ Here, upload this to your server and see if it works. It does for me locally. It's converted from JPG with IrfanView. x.zip ( 34.17k ) Number of downloads: 88 This forum probably should allow webp attachments. It doesn't. That's why I zipped it up. |
nootkan |
Dec 4 2021, 04:25 PM
Post
#13
|
Member Group: Members Posts: 34 Joined: 16-July 21 Member No.: 28,016 |
Hi guys, thanks for all the replies. Using IrfanView worked so thanks for that.
Webp images are now viewable in chrome. However, I decided to leave the gif, jpg and png images up until webp becomes accessible to all like Brian suggested. I've got them compressed to a size that is comparable to the webp images and when checking in googles page speed test the difference is only a few percentage points so I'll monitor the page ranking to see if I fall or climb. I've removed the temp file so that link won't work anymore. Don't see an option to mark this thread as resolved but maybe that is the moderators job. Thanks again. |
pandy |
Dec 4 2021, 05:41 PM
Post
#14
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Nope. It's no one's job. We don't do that here.
Glad the Irfan file worked. I thought it would. Online services can be good - and not so good. |
Lo-Fi Version | Time is now: 23rd April 2024 - 04:42 PM |