I've looked into this previously... I've tried putting
<img src="{$threadfields['gal_img']['url']}/thumb320x240" alt="Image"> instead of {$GLOBALS['threadfields']['imgone']} in postbit_first and postbit_classic but still nothing shows up in the thread. I also used the same settings for the custom field as mentioned in the thread.
Any ideas? (btw I'm not creating a new forum for images, I'd like to add an upload image field to an already preformatted thread.
Thanks for your help.
Try {$GLOBALS['threadfields']['imgone']['value']}
Awesome you nailed it.
Now I'm trying to make it resize.. I've changed the custom field to have an image thumbnail generation of 900x506.
I've changed the templates to read {$GLOBALS['threadfields']['imgone']['value']}/thumb900x506 like the description for the field instructed in the add custom field screen.
However it will display the image but shows "/thumb900x506" on the thread as text.
Thanks again for your help man.
(03-06-2011 09:06 AM)ATNwebdesign Wrote: [ -> ]btw I'm not creating a new forum for images
I don't mean that you want to create Images Gallery. What I meant is, maybe you can read there how adding an image in our application with the explanation in that thread.
I'm really sorry if that is not what you want
(03-06-2011 09:30 AM)ATNwebdesign Wrote: [ -> ]I've changed the templates to read {$GLOBALS['threadfields']['imgone']['value']}/thumb900x506 like the description for the field instructed in the add custom field screen.
Something like this:
Code:
{$GLOBALS['threadfields']['imgone']['url']}/thumb900x506
|
(08-07-2012 07:28 AM)RateU Wrote: [ -> ]What is your thread URL?
You, on the other hand, gave a forum URL. We're not going to trawl through and guess what you're referring to.
If you need assistance, follow the goddamn instructions.
Hello.
How can i use this in new reply (full editor) ? I can't find out what new global template should i create ....
i did tried with intro_newreply, copied template and added global values, but it doesn't work ...
as i can see, xthread doesn't affect newreply templates .. so can it be done ?
Thanks in advance
XThreads only works with threads, not posts.