GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   Images not loading - programming question (https://gfy.com/showthread.php?t=1105915)

Dreamsites 04-10-2013 04:53 AM

Images not loading - programming question
 
Hi Guys and gals.

new to the forum but looks really useful. i have a programming question is there is another out there willing to help a buddy out.

im trying to put a tube site together and the external images will sometimes load and other times wont. seems really random. when you refresh you gain some and lose some.

take a look hushwebsites.com/tube/

i think it is a page load issue but is there a way around making sure your thumbnails load without having to load them in the body first?

Thanks peeps

Dan

Kephael 04-10-2013 03:01 PM

None load at all for me, are the images being loaded from a server you have access to? If so, I'd start by checking the web server error logs.

Dreamsites 04-10-2013 03:16 PM

yea they are accessable. if you navigate direct to the image it loads. ill have a look at the logs tho. didnt think of that.

thanks

sarettah 04-10-2013 03:45 PM

I am in chrome. With adblock running none of your thumbs load. I assume that that is because they are all external. With adblock shut down, some load, some do not as you said in your post.

Have no idea why.

.

Dreamsites 04-10-2013 04:02 PM

i know weird huh? i can understand if it was because ad blocker but it doesnt explain why some do and some dont. it load perfectly, altho quite slow on mobile android and ios.

how do other tube site work, surely they dont host the images themselves or how would they use auto feeds?

fonsolo 04-11-2013 11:03 AM

The link to your style sheet is outside of your <head> tag, it should come before. It should also be self closing with a slash at the end for good measure. For instance <link re........ />.

That may be what's causing some issues, since pages load from top to bottom and problems with code above can often lead to strange issues with the page bellow. Google html and css validators and run your code through them, or one newer versions of Firefox, there's on built into the "View Source" option when you right click on a page.

Nevet 04-11-2013 11:49 AM

None load for me. embed.niceratios.com doesn't seem to resolve.

In addition to fonsolo's excellent points above, you're also using id="thumb" multiple times. An ID attribute should be unique. You should probably change #thumb to .thumb in the CSS and change id="thumb" to class="thumb" in the page template.

I definitely second fonsolo's recommendation that you make use of an HTML validator.

Dreamsites 04-11-2013 03:42 PM

Thanks guys. I didn't notice the CSS link was outside the head doh! I normally clean up the CSS when I have the design how I like it, hence inline styling which should not be used as much as I have on that page. I will try googles validators and clean up my CSS but think you may have solved the issue with the CSS link. Thanks again you guys.

fonsolo 04-12-2013 03:01 AM

:thumbsup


All times are GMT -7. The time now is 03:08 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc