Not signed in (Sign In)

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

    •  
      CommentAuthorsidtheduck
    • CommentTimeApr 28th 2008
     
    Yes, you can do this quite easily with Plogger. It looks like you are using the "Default / Classic" theme so open 'hemes/default/picture.php' and find the following code:// generate XHTML with thumbnail and link to picture view.
    $imgtag = '<img class="photos-large" src="'.plogger_get_picture_thumb(THUMB_LARGE).'" title="'.$capt.'" alt="'.$capt.'" />';
    then change it to read:// generate XHTML with thumbnail and link to picture view.
    $imgtag = '<script>
    britepic_src="'.plogger_get_picture_thumb(THUMB_LARGE).'";
    britepic_id="your_unique_britepic_id";
    </script>
    <script src="http://www.britepic.com/britepic.js">
    </script>
    <noscript>
    <img src="'.plogger_get_picture_thumb(THUMB_LARGE).'">
    </noscript>';
    Then, make sure you change "your_unique_britepic_id" to whatever your BritePic id is (it looks like you get this when you sign up).

    That should be it! If there are any problems, let me know.

    There may be some issue with wrapping the $imgtag variable in a link and having the "menu" link already built in to the flash of BritePic, so if this happens, further down in 'picture.php' you should see this code:print '
    <div id="picture-holder">
    <a accesskey="v" href="'.plogger_get_source_picture_url().'">'.$imgtag.'</a>
    </div>';
    just change it to be:print '
    <div id="picture-holder">'.$imgtag.'</div>';
    • CommentAuthorsupertelugu
    • CommentTimeMay 26th 2008 edited
     
    <blockquote><cite>Posted By: sidtheduck</cite>Yes, you can do this quite easily with Plogger. It looks like you are using the "Default / Classic" theme so open 'hemes/default/picture.php' and find the following code:<code>// generate XHTML with thumbnail and link to picture view.
    $imgtag = '<img class="photos-large" src="'.plogger_get_picture_thumb(THUMB_LARGE).'" title="'.$capt.'" alt="'.$capt.'" />';</code>then change it to read:<code>// generate XHTML with thumbnail and link to picture view.
    $imgtag = '<script>
    britepic_src="'.plogger_get_picture_thumb(THUMB_LARGE).'";
    britepic_id="your_unique_britepic_id";
    </script>
    <script src="http://www.britepic.com/britepic.js">
    </script>
    <noscript>
    <img src="'.plogger_get_picture_thumb(THUMB_LARGE).'">
    </noscript>';</code>Then, make sure you change "your_unique_britepic_id" to whatever your BritePic id is (it looks like you get this when you sign up).

    That should be it! If there are any problems, let me know.

    There may be some issue with wrapping the $imgtag variable in a link and having the "menu" link already built in to the flash of BritePic, so if this happens, further down in 'picture.php' you should see this code:<code>print '
    <div id="picture-holder">
    <a accesskey="v" href="'.plogger_get_source_picture_url().'">'.$imgtag.'</a>
    </div>';</code>just change it to be:<code>print '
    <div id="picture-holder">'.$imgtag.'</div>';</code></blockquote>

    thanks sid. for ur valuable help. but the problem is the image holder is missing and the images are aligned ti left..
    as you mentioned i also changed this
    print '
    <div id="picture-holder">'.$imgtag.'</div>';
    but for no use
    Please help

    you can see here http://www.supertelugu.com/gallery/?level=picture&id=272
    •  
      CommentAuthorsidtheduck
    • CommentTimeMay 27th 2008 edited
     
    supertelagu,

    Looking at your page's output source (http://www.supertelugu.com/gallery/?level=picture&id=272) it looks like the second change is working:print '
    <div id="picture-holder">
    <a accesskey="v" href="'.plogger_get_source_picture_url().'">'.$imgtag.'</a>
    </div>';
    just change it to be:print '
    <div id="picture-holder">'.$imgtag.'</div>';


    but not the first change:// generate XHTML with thumbnail and link to picture view.
    $imgtag = '<img class="photos-large" src="'.plogger_get_picture_thumb(THUMB_LARGE).'" title="'.$capt.'" alt="'.$capt.'" />';
    then change it to read:// generate XHTML with thumbnail and link to picture view.
    $imgtag = '<script>
    britepic_src="'.plogger_get_picture_thumb(THUMB_LARGE).'";
    britepic_id="your_unique_britepic_id";
    </script>
    <script src="http://www.britepic.com/britepic.js">
    </script>
    <noscript>
    <img src="'.plogger_get_picture_thumb(THUMB_LARGE).'">
    </noscript>';


    Can you double check that the code was saved and uploaded to your 'picture.php' file on your website?
    • CommentAuthorrizzler
    • CommentTimeDec 11th 2008
     
    i have the same problem. i have the exact code you posted sidtheduck yet it's alinged wrong :( http://rizzler.se/gallery/?level=picture&id=601