Forum Moderators: open

Message Too Old, No Replies

Images not appearing on mobile

         

rugrat95111

5:15 am on Mar 11, 2022 (gmt 0)

Top Contributors Of The Month



Hi,
I'm new to all of this so please bear with me. I was just handed the job of taking care of a website and not really sure what I'm doing though I can figure things with a little direction Anyway, I'm faced with a dilemma of sorts, that is, images on a web site are showing on a pc but not on a mobile device. The name of the site is [snip]
Any help would be appreciated.
Thank you ahead of time
Dave

[edited by: phranque at 7:27 am (utc) on Mar 11, 2022]
[edit reason] please see ToS [webmasterworld.com] [/edit]

lucy24

5:27 am on Mar 11, 2022 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The sitename will shortly be deleted--this site's rules--but for anyone coming along later:

I checked for the single most common culprit, a mismatch between https page and http images. No problem there. (But why the absolute links anyway?)

rugrat95111

5:51 am on Mar 11, 2022 (gmt 0)

Top Contributors Of The Month



Not sure why the links were spelled out but on my pc they work so didn't want to mess with that (leave well enough alone). Only problem is they don't show up on my phone though they used to, of course that was a few years ago and the phone was kind of out dated. I don't know if CSS has anything to do with the problem or not. I'm just wanting to get this up and running for now and will be looking seriously into learning about html/css. btw..thanx for the response.

rugrat95111

6:09 am on Mar 11, 2022 (gmt 0)

Top Contributors Of The Month



In the last 10 minutes the images quit showing up on my pc also and I didn't even touch anything.

phranque

7:29 am on Mar 11, 2022 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], Dave!

have you tried directly requesting the image urls and examining the response?

rugrat95111

7:41 am on Mar 11, 2022 (gmt 0)

Top Contributors Of The Month



I spent the past hour on the phone with the web host and got the pictures appearing again. I have a mess with either the ntml or css to get fixed. The joys of life. Thank you so much.

Dimitri

12:46 pm on Mar 11, 2022 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month



Peace first, then ...

Are your image served through CDN?

mismatch between https page and http images

Some browsers may be configured by default, not to accept a mix up non secure content, on secure pages. The browser on the phone, might have different settings, than your desktop one. But this wouldn't explain why images are showing after a while. Like being said, check the call and response.

rugrat95111

9:06 pm on Mar 11, 2022 (gmt 0)

Top Contributors Of The Month



All the images were https-no problem there. The server host set the site up to have a php index page but an old html page was appearing. Still not getting on the phone what it needs to look like though so it looks as though I'm about to enter the world of html/css coding. Thanks again for all the ideas & comments.

lexipixel

11:33 pm on Mar 11, 2022 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Could be a CSS @media rule, e.g. ---

@media (max-width:625px) {
img { display: none; }
}

Or, since you mention "server host set the site up to have a php index page but an old html page was appearing" ---

thoughts --
- always clear cache/history to make sure you're pulling fresh page.
- check to see if .htaccess is serving .html ahead of .php
- try deleting the old .html version from server if no longer.

Dimitri

1:56 pm on Mar 12, 2022 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member Top Contributors Of The Month



What would be interesting is to know, if the image is called by the browser, and if so what is the return code.

tangor

3:36 am on Mar 13, 2022 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



HTML static site or a CMS?

Knowing which would be helpful!

rugrat95111

2:02 am on Mar 18, 2022 (gmt 0)

Top Contributors Of The Month



Sorry for replying so late. I've been ultra busy here. The site is static--the image problem is okay and I got the situation straightened out with the server host over the index page displayed. I need to get to work on the site and getting it updated and all--right now I'm learning about some ins and outs of html & css. I WILL prevail. I thank all for the responses and concern.