xthread- thread image not working
rkrusty26 Offline
Junior Member
**
Posts: 14
Joined: Aug 2013
Post: #1
xthread- thread image not working
post edited : thread image is working now but is there any option to make firtst attachment to thread image???? and one more thing if all the pics is arranged in proper manner like in last pic then that will be great
hi everyone!!

i want to implement Thread images to my forum but i am not successful can anyone tell me what is the problem???

all the information also shared by pics on attachments and 2nd last pic of my forum after adding this thread field.

my forum: http://studentsuvidha.com/forum/index.php

i am telling what i did:

Title : Thread Image
Key : timg
Description: Max file size: 10 KB. Max image size: 200x200. Min Image Size: 75x75. Image allowed: GIF, JPEG, PNG.
Modify it as our needs. Depends on some settings bellow.
Applicable Forums : Select forum(s) where this will be applied
Input Field Type : File
Valid File Extensions : gif|png|jpeg|jpg
Maximum File Size : 0

Editable by Usergroups : everyone required

Only Accept Image Files : Yes
Minimum Image Dimensions : 75x75
Maximum Image Dimensions : 200x200
Image Thumbnail Generation : 75x75

Display Format :

PHP Code:
<a href="{URL}" target="_blank"><img src="{URL}/thumb75x75" alt="{FILENAME}" title="Click to view this thread image in full size - {$GLOBALS['threadfields']['timg']['dims']['w']} x {$GLOBALS['threadfields']['timg']['dims']['h']}" style="margin: 3px; float: left;" /></a>


after that i added

Quote:{$GLOBALS['threadfields']['timg']['value']}
in front of

PHP Code:
<span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>



Attached File(s) Thumbnail(s)
                           
(This post was last modified: 01-16-2014 01:09 AM by rkrusty26.)
01-16-2014 12:57 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
xthread- thread image not working - rkrusty26 - 01-16-2014 12:57 AM

 Standard Tools
Forum Jump: