Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Aug 2012
    Location
    UK
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Image coding issue stopping image indexing?

    Hi, I was hoping someone would able to assist me on possible coding issues related to getting my internal images indexed, for some reason only the cover image is being indexed?

    Code:
    <div class="image active"><a href="?image=0" data-type="image"  data-url="/content/images/products/call-of-duty-modern-warfare-3-ps3-large.jpg" data-full="/content/images/products/call-of-duty-modern-warfare-3-ps3.jpg" alt="call of duty modern warfare 3 ps3" title="call of duty modern warfare 3 ps3">
    					    <img src="/content/images/products/call-of-duty-modern-warfare-3-ps3-thumb.jpg" alt="call of duty modern warfare 3 ps3 image" title="call of duty modern warfare 3 ps3" height="75"></a></div>
    																				<div class="image"><a href="?image=1" data-type="image"  data-url="/content/images/products/call-of-duty-modern-warfare-3-ps3-19-large.jpg" data-full="/content/images/products/call-of-duty-modern-warfare-3-ps3-19.jpg" alt="call of duty modern warfare 3 ps3" title="call of duty modern warfare 3 ps3">
    					    <img src="/content/images/products/call-of-duty-modern-warfare-3-ps3-19-thumb.jpg" alt="call of duty modern warfare 3 ps3 image" title="call of duty modern warfare 3 ps3" height="75"></a></div>
    As far as i can make out and i am no coding expert, only the ?image=0 and =images=2, 3, 4, and so on are hyperlinks, and these types

    data-full="/content/images/products/call-of-duty-modern-warfare-3-ps3-19.jpg
    "

    (These I assume are the large images and need to be hyperlinked, or full path and not shown like that?)


    Would value some input, iv done over 500,000 images by hand on both sites in stunning HD and cannot find a way that Google can find them on the page.

    I am thinking it is down to shortened urls, not showing the full url, /content/images/products/ rather than having the actual domain name url preceding it?

    Would anyone care to enlighten me, really is a pain.

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,979
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    This probably won't come down to being a PHP issue itself. I'm not familiar with all the new HTML5 stuff either so I can't input on any of that. I'm also not familiar with how the search engines index images.
    This will be more beneficial in the general web building forum.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 

  • #3
    Regular Coder
    Join Date
    Mar 2013
    Posts
    262
    Thanks
    4
    Thanked 67 Times in 67 Posts
    Relative URL shouldn't matter since (I believe) all bots convert them into absolute URLs anyway.

    I'm kind of confused as to which one is being indexed, but one problem is that you have the same alt attribute for both images.
    My signature :)

  • #4
    New to the CF scene
    Join Date
    Aug 2012
    Location
    UK
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by ttkim View Post
    Relative URL shouldn't matter since (I believe) all bots convert them into absolute URLs anyway.

    I'm kind of confused as to which one is being indexed, but one problem is that you have the same alt attribute for both images.
    Hi peeps, thanks so far, the same alt image keyword is simply because the page contains several images about the same product ie.

    call of duty black ops 2 xbox 360 has say 20 images which have alt tags call of duty black ops 2 xbox 360

    Do you reckon it would be better to use, keyword like

    call of duty black ops 2 xbox 360 image 1 (in the alt tag)

    call of duty black ops 2 xbox 360 image 2 etc.

    Would love more imput, done so many images it is beyond funny.

  • #5
    Regular Coder
    Join Date
    Mar 2013
    Posts
    262
    Thanks
    4
    Thanked 67 Times in 67 Posts
    The same alt attribute should be fine for the same images of varying sizes. Google will probably index only one of them anyway.

    If they are different images, then you should try to use different alt attributes that describe each image.

    I can't say I know how Google works, but I've also heard of over-optimization hurting sites. Let's say you have 50 images of a product with the same alt attributes. That would be considered spammy so try to be descriptive. Or, try to optimize the main image's alt attribute and do some variations for the other ones.
    My signature :)

  • #6
    New to the CF scene
    Join Date
    Aug 2012
    Location
    UK
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy

    Quote Originally Posted by ttkim View Post
    The same alt attribute should be fine for the same images of varying sizes. Google will probably index only one of them anyway.

    If they are different images, then you should try to use different alt attributes that describe each image.

    I can't say I know how Google works, but I've also heard of over-optimization hurting sites. Let's say you have 50 images of a product with the same alt attributes. That would be considered spammy so try to be descriptive. Or, try to optimize the main image's alt attribute and do some variations for the other ones.
    Thanks for this, will do some more research, been reading online and not finding much information, i just figured the actual images represent the gameplay of the game, so figured having the same image keyworded would be enough, as the images do relate to the game.

    I might have to label them keyword image 1, keyword image 2, and so on, pain in the arse, wish google would be more precise as to what they bloody want, may have to redo thousands of image attributes.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •