![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
![]() |
#1 |
Registered User
Industry Role:
Join Date: Apr 2013
Location: Kent, England
Posts: 36
|
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 |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Mar 2013
Posts: 15
|
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.
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#3 |
Registered User
Industry Role:
Join Date: Apr 2013
Location: Kent, England
Posts: 36
|
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
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#4 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,057
|
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. .
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#5 |
Registered User
Industry Role:
Join Date: Apr 2013
Location: Kent, England
Posts: 36
|
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?
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Nov 2012
Posts: 135
|
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.
__________________
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#7 |
Registered User
Industry Role:
Join Date: Dec 2011
Posts: 10
|
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. |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#8 |
Registered User
Industry Role:
Join Date: Apr 2013
Location: Kent, England
Posts: 36
|
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.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Industry Role:
Join Date: Nov 2012
Posts: 135
|
![]()
__________________
|
![]() |
![]() ![]() ![]() ![]() |