Not signed in (Sign In)

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

    • CommentAuthornike
    • CommentTimeJun 15th 2008
     
    i need help to make image tag in my plogger gallery that can be posted in some forum or sites. it is like imege tag in many image hosting , that will show thumb image and will be linked to original picture. please help .. and thanks
    •  
      CommentAuthorsidtheduck
    • CommentTimeJun 16th 2008
     
    nike,

    Do you mean something like this? -> http://www.scenemeup.com/index.php?level=picture&id=3540 (I hope thebluebus is okay with me using their website as an example) :)
    • CommentAuthornike
    • CommentTimeJun 17th 2008
     
    absolutely, yes !!
    but you only provide for original image tag, can you also give the thumb image tag ? so it can be posted in forum...

    if possible the tag would be like this :
    [url=http://www.scenemeup.com/index.php?level=picture&id=3531][img]http://scenemeup.com/thumbs/tn-3531-inters077.jpg[/img][/url]

    or similar like that ...
    can you share the code ? thanks !
    • CommentAuthorthebluebus
    • CommentTimeJun 17th 2008 edited
     
    sid thats fine :)

    i've just got this in picture.php

    <div id="imgcode">
    [IMG]http://www.scenemeup.com<?php echo plogger_get_source_picture_url(); ?>[/IMG]
    </div>

    i'm going to make it so you just click the box and it gets copied into your clipboard (like on photobucket) but that needs some javascript i think
    •  
      CommentAuthorsidtheduck
    • CommentTimeJun 17th 2008 edited
     
    So for yours, nike, your code should look like:<div id="imgcode">
    [url=<?php $_SERVER['REQUEST_URI']; ?>][img]http://www.scenemeup.com<?php echo plogger_get_picture_thumb(THUMB_LARGE); ?>[/img][/url]
    </div>


    And change THUMB_LARGE to THUMB_LARGE, THUMB_SMALL, THUMB_RSS, or THUMB_NAV (whichever you prefer) and of course change 'scenemeup.com' to your own site's domain.
    • CommentAuthornike
    • CommentTimeJun 18th 2008 edited
     
    thanks sidtheduck :D
    it works in plogger beta 3

    i just place the code :

    <div id="imgcode">
    [url=<?php $_SERVER['REQUEST_URI']; ?>][img]<?php echo plogger_get_picture_thumb(THUMB_LARGE); ?>[/img][/url]
    </div>

    it just small problem, it show like this :
    [url=][img]http://nike.ej.am/plogger3/thumbs/lrg-6-jaime-pressley-fhm-5__1_.jpg[/img][/url]

    the [url=] doesn't show the url ;(

    this my web : http://nike.ej.am/plogger3/
    •  
      CommentAuthorsidtheduck
    • CommentTimeJun 18th 2008 edited
     
    oops! I forgot the "echo" or "print" command for the REQUEST_URI. Sorry. It should look like this:<div id="imgcode">
    [url=<?php echo $_SERVER['REQUEST_URI']; ?>][img]http://www.scenemeup.com<?php echo plogger_get_picture_thumb(THUMB_LARGE); ?>[/img][/url]
    </div>
    • CommentAuthornike
    • CommentTimeJun 18th 2008
     
    thank you so much sidtheduck !

    i modify the code like this :
    <div id="imgcode">[url=http://nike.ej.am<?php echo $_SERVER['REQUEST_URI']; ?>][img]<?php echo plogger_get_picture_thumb(THUMB_SMALL); ?>[/img][/url]
    </div>

    and it show what i want , like this :
    [url=http://nike.ej.am/plogger3/?level=picture&id=4][img]http://nike.ej.am/plogger3/thumbs/4-jaime-pressley-fhm-4.jpg[/img][/url]


    :D
    • CommentAuthornike
    • CommentTimeJun 19th 2008
     
    by the way, can you please also provide code for beta 2 ? since i prefer using beta 2

    in beta 3, it takes a long time to make thumb images, when i import from folder uploads
    i don`t know if other users also has some experience or not.
    • CommentAuthorthebluebus
    • CommentTimeJun 19th 2008
     
    i havent noticed it taking too long. I've got about 3.5k images in my album. Usually uploading around 40-60 at a time, only takes a min max