Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Thread Image
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #101
RE: Thread Image
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']}


My Blog
08-22-2014 04:59 PM
Find all posts by this user Quote this message in a reply
anhmjn Offline
Junior Member
**
Posts: 5
Joined: Aug 2014
Post: #102
RE: Thread Image
Thanks, I've tried your code but nothing happens.
HTML output is blank.
Maybe it's not working on portal.php 1.8 ?
08-22-2014 05:58 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #103
RE: Thread Image
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.

My Blog
(This post was last modified: 08-25-2014 03:57 PM by ZiNgA BuRgA.)
08-25-2014 03:47 PM
Find all posts by this user Quote this message in a reply
umetkaran Offline
Member
***
Posts: 110
Joined: Aug 2014
Post: #104
RE: Thread Image
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

wowtopik.com -> + marketplace forum & youtube sharing
webdiskus.com -> + website marketplace (domain, web, hosting etc)
(This post was last modified: 02-03-2017 10:24 AM by umetkaran.)
08-15-2015 06:48 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #105
RE: Thread Image
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.

My Blog
08-15-2015 05:47 PM
Find all posts by this user Quote this message in a reply
TheGame7 Offline
Junior Member
**
Posts: 4
Joined: Feb 2016
Post: #106
RE: Thread Image
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
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #107
RE: Thread Image
(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.

My Blog
02-14-2016 10:20 AM
Find all posts by this user Quote this message in a reply
TheGame7 Offline
Junior Member
**
Posts: 4
Joined: Feb 2016
Post: #108
RE: Thread Image
They are all different sized, also using attached images and not the thread images does not work.
   
(This post was last modified: 02-14-2016 05:44 PM by TheGame7.)
02-14-2016 05:44 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #109
RE: Thread Image
(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.

My Blog
02-15-2016 09:28 AM
Find all posts by this user Quote this message in a reply
TheGame7 Offline
Junior Member
**
Posts: 4
Joined: Feb 2016
Post: #110
RE: Thread Image
How do I keep the same aspect ratios, and why cant I use attached images?
02-16-2016 03:02 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: