MyBB Hacks

Full Version: Thread Image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12
Does anything show in the HTML output?

Can you also try these and see what the HTML output is?

Code:
{$GLOBALS['threadfields']['timg']}
{$GLOBALS['threadfields']['timg']['url']}

Thanks, I've tried your code but nothing happens.
HTML output is blank.
Maybe it's not working on portal.php 1.8 ?
Oh, so you're using 1.8 (which is still experimental so stuff is not expected to work).
From testing here though, it seems to work.  If your portal is in a different directory from the rest of your forum, the image may not show, but at the very least, HTML output shouldn't be blank.

So I'm not sure why it doesn't work for you.
how to make auto resize dimension (like avatar auto resize).
or maybe all at once, auto resize file size & dimension. like on facebook

thank for your time and responses before
Use the scale_max() function in the image filter.
The the Documentation/undoc.html file that is included in the XThreads download package for more details.
How can I get this so it resizes all thumbnails to be the same size? Also is there anyway I can use this with attached images instead so they do not have to upload twice?
(02-14-2016 07:20 AM)TheGame7 Wrote: [ -> ]How can I get this so it resizes all thumbnails to be the same size?
They are all the same size.

(02-14-2016 07:20 AM)TheGame7 Wrote: [ -> ]Also is there anyway I can use this with attached images instead so they do not have to upload twice?
Don't use attached images.
They are all different sized, also using attached images and not the thread images does not work.
[attachment=1080]
(02-14-2016 05:44 PM)TheGame7 Wrote: [ -> ]They are all different sized
They are sized the same but have different aspect ratios.

(02-14-2016 05:44 PM)TheGame7 Wrote: [ -> ]using attached images and not the thread images does not work.
I'm struggling to make sense out of that sentence, but don't use attached images.
How do I keep the same aspect ratios, and why cant I use attached images?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12
Reference URL's