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.

 

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 04-10-2013, 04:53 AM   #1
Dreamsites
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
Dreamsites is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 04-10-2013, 03:01 PM   #2
Kephael
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.
Kephael is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 04-10-2013, 03:16 PM   #3
Dreamsites
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
__________________
Dreamsites is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 04-10-2013, 03:45 PM   #4
sarettah
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!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 04-10-2013, 04:02 PM   #5
Dreamsites
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?
__________________
Dreamsites is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 04-11-2013, 11:03 AM   #6
fonsolo
Confirmed User
 
fonsolo's Avatar
 
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.
__________________

Last edited by fonsolo; 04-11-2013 at 11:04 AM..
fonsolo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 04-11-2013, 11:49 AM   #7
Nevet
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.
Nevet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 04-11-2013, 03:42 PM   #8
Dreamsites
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.
__________________
Dreamsites is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 04-12-2013, 03:01 AM   #9
fonsolo
Confirmed User
 
fonsolo's Avatar
 
Industry Role:
Join Date: Nov 2012
Posts: 135
__________________
fonsolo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.