Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorelias75
    • CommentTimeJun 2nd 2009
     
    Hi!
    I use plogger for my www.FreeFilmPosters.com and so far, the program and the support here has been great! Here is my current issue:
    Google is indeed indexing all my pages. The problem is how it does that. All pages are indexed great except for the photos. So all photos instead of being indexed as (for example): "Pulp Fiction" are indexed as "April 24th, 2009". In other words, the indexing appears according to the date each photo is uploaded. What I want is to have my photos being indexed according to the file name. Is there a way of doing this?
    thanx
    •  
      CommentAuthorsidtheduck
    • CommentTimeJun 3rd 2009
     
    elias75,

    I'm pretty sure it's indexing that because the h1 tag on the individual pictures is empty (gallery name) so then it indexes the next h2 tag (which is the date) instead of the second h2 tag (which is the picture caption). I would edit your 'picture.php' file in your theme to wrap the picture caption in an h1 tag and remove the gallery name h1 tag from 'header.php' if you are not going to use it. That way, Google will index the picture as the caption instead of the date.
    • CommentAuthorelias75
    • CommentTimeJun 7th 2009
     
    sidtheduck,

    sorry for my late response to this thread but I was away for a few days.... Please note that I am a newbie when it comes to html & php..... I do understand generally what you mean above in your answer and I tried to make those changes... (I use dreamweaver btw).... the thing is that I do not know how to do them, I mean, I was looking for the h1 tag but couldn't find it... where should I look.... I don't see anything relevant in the code... sorry, I know it sounds funny, but as I said.... newbie here.... please just show me the way and I will figure it out (I should hope)....
    cheers!
    • CommentAuthorelias75
    • CommentTimeJun 10th 2009
     
    also how do I remove the details info from each photo? (dimensions, camera model etc)
    • CommentAuthorelias75
    • CommentTimeJun 17th 2009
     
    anyone? please need some help....
    •  
      CommentAuthorsidtheduck
    • CommentTimeJun 17th 2009
     
    Hi elias75,

    I've been gone for about a week and am making my way through unanswered posts. Sorry for the late reply. For my expamples, I am assuming you are using the default theme.

    Posted By: sidtheduckremove the gallery name h1 tag from 'header.php'
    I guess if you are using the beta3 version of Plogger, the h1 tag is built into the generate_header function. To remove it (since you seem to have a blank gallery name), you would open 'header.php' in the theme folder that you are using. Look for the following code (should be lines 6-8):
    print '<div id="wrapper">
    <table id="header-table" width="100%"><tr><td>'.generate_header().
    '</td><td id="jump-search-container">'.generate_jump_menu() . generate_search_box().'</td></tr></table>';

    and change it to read:
    print '<div id="wrapper">
    <table id="header-table" width="100%"><tr><td id="jump-search-container">'.generate_jump_menu() . generate_search_box().'</td></tr></table>';<?code>

    <blockquote><cite>Posted By: sidtheduck</cite>I would edit your 'picture.php' file in your theme to wrap the picture caption in an h1 tag</blockquote>To do this, open 'picture.php' in the theme folder you are using and look for the following code (should be lines 7-18):
    <code> print ' <div id="inner_wrapper"> <div id="big-picture-container">
    <table style="width: 100%;">
    <tr>
    <td>
    <h2 class="date">'.plogger_get_picture_date().'</h2>
    </td>
    <td class="align-right">
    <h2 id="picture_caption">';
    $capt = plogger_get_picture_caption();
    print $capt;

    print '</h2></td></tr></table>';

    and edit it to read:
    print ' <div id="inner_wrapper"> <div id="big-picture-container">
    <table style="width: 100%;">
    <tr>
    <td>
    <h2 class="date">'.plogger_get_picture_date().'</h2>
    </td>
    <td class="align-right">
    <h1 id="picture_caption">';
    $capt = plogger_get_picture_caption();
    print $capt;

    print '</h1></td></tr></table>';


    Posted By: elias75also how do I remove the details info from each photo? (dimensions, camera model etc)
    Finally, to get this done you need to still be in 'picture.php' in the theme folder you are using. Look for the following code (should be lines 45-54):
    print '
    <table style="width: 100%;">
    <tr>
    <td id="exif-toggle-container"><div id="exif_toggle">'.$detail_link.'</div></td>
    </tr>
    </table>
    </div>';


    print generate_exif_table($row["id"]);

    and delete those lines or comment it like so:
    /* print '
    <table style="width: 100%;">
    <tr>
    <td id="exif-toggle-container"><div id="exif_toggle">'.$detail_link.'</div></td>
    </tr>
    </table>
    </div>';


    print generate_exif_table($row["id"]);*/
    • CommentAuthorelias75
    • CommentTimeJun 18th 2009
     
    Hi Sidtheduck,

    as always your comments did the job! Well, at least for "the remove the details info from each photo" part of my question. I am sure that now Google will index the picture as the caption instead of the date.... is there a way to find out just to make it sure?? Or else I will just wait for Google to index the next bunch of photos!

    Plogger is GREAT! in my site I have more than 4,600 photos and I am adding around 150-200 each week! At some point I will make another site with Plogger.... for the time, check www.FreeFilmPosters.com

    cheers
    Elias
    • CommentAuthorelias75
    • CommentTimeJul 24th 2009
     
    Hi Sidtheduck,
    it's me again :) ok so after a month I see some changes towards the desired result but still not what I wanted... getting close though....
    Google is still not indexing the photos according to the file name (or the caption). if you try site:freefilmposters.com you will see that photos are all indexed as "FreeFilmPosters.com Galleries". I should think some small change in the code is needed again... I am using beta3 version of Plogger , default.
    thanks in advance!
    Elias
    •  
      CommentAuthorsidtheduck
    • CommentTimeJul 24th 2009
     
    elias75,

    It appears that this has to do with your <title> tags all having "FreeFilmPosters.com Galleries" as the title. It looks like your Plogger setup is in a subfolder and the actual gallery display is happening via an include function in http://www.freefilmposters.com/gallery1.php. Is this correct? If so, I think the <title> tag of gallery1.php is static and reads "FreeFilmPosters.com Galleries" for all pages.

    The easiest way to fix this would be to update to the latest SVN code as the generate_title() function has been updated to allow for greater control of the title tag output. Let me know if you are willing to update your Plogger installation and I can try to help you integrate the titles.
    • CommentAuthorelias75
    • CommentTimeJul 28th 2009
     
    Hello Sidtheduck,

    yes you are absolutely right. The Plogger setup is in a subfolder and the actual gallery display is happening via an include function in http://www.freefilmposters.com/gallery1.php

    Yes I am willing to update the Plogger installation to make this work. However, I have no idea how to update to the latest SVN code.... I am very new to php and just starting to figuring out.... so, where do I start??

    cheers! :)
    • CommentAuthorelias75
    • CommentTimeAug 3rd 2009
     
    so, how do I update to the latest SVN code?
    •  
      CommentAuthorsidtheduck
    • CommentTimeAug 3rd 2009
     
    Hi elias75,

    Sorry, I forgot to reply. I have been working on an updated generate_title() function, but it is not yet in the SVN code (I thought it was). I can send you the updated code for your use, but it still may be slightly buggy. If you want to try it out, email me at sidtheduck SPLAT gmail DOT com.