quick [IMG] tags - G2
|
whodah
![]()
Joined: 2003-05-17
Posts: 96 |
Posted: Sat, 2005-06-11 22:48
|
|
hello! i'd like to build something that users can copy/paste really easily rendered bbcode so they can post their gallery pictures on most forum software. i had it working on G1: and i am now attempting to do this for G2! my first question - has it been done? i've searched the forums and havn't seen it, but i'd hate for me to have just used bad search terms... if i'm not reinventing the wheel - on to my variable questions! i see that if i call: that i will be returned a rendered thumbnail of that image. i'm after just the location of the image itself in http form, not a full rendered < i m g > tag. what can i call to get:
thanks a ton! |
|


Posts: 96
found #3:
{g->url arg1="view=core.DownloadItem" arg2="itemId=`$child.id`"}Posts: 96
#1:
{g->url arg1="view=core.DownloadItem" arg2="itemId=`$child.thumbnail.id`"}Posts: 96
ok, i'm officially stuck...
i cannot figure out how to get the url to the resized image from main.php...
any help would be appreciated!
Posts: 431
Have you seen the URL generator module from the contributions page? Have a look here - it seems to do what you're after.
Posts: 32509
yeah, the module is neat. don't know if it's up to date though.
Posts: 96
very cool - that sooooooooooo get's me going! i'll continue the conversation over there after i modify a few things in it!
thx! :D