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
(02-16-2016 03:02 PM)TheGame7 Wrote: [ -> ]How do I keep the same aspect ratios
I don't know what you want to do here.
XThreads resizes uploaded images, keeping the same aspect ratio.
If you upload images with different ratios, XThreads won't change them.
If you wish to keep this behaviour and want all images to be of the same ratio, then the images you upload need to have the same ratio.

(02-16-2016 03:02 PM)TheGame7 Wrote: [ -> ]and why cant I use attached images?
XThreads does not manage attached images.
Image not displayed if i change thumbnail dimension.

I kept:
Valid File Extensions: gif|png|jpeg|jpg|JPG|JPEG|GIF|PNG
Valid File Extensions : 512000 bytes
Minimum Image Dimensions : 75x75
Maximum Image Dimensions : 1920x1080
Image Thumbnail Generation: 30x60
Display format: <a href="{URL}" target="_blank"><img src="{URL}/thumb30x60" 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>


It works if I change display format as below:
<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>

Please guide what to do?
If you change the thumbnail dimension, you need to re-upload the image or run the Rebuild XThreads Attachment Thumbnails tool.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12
Reference URL's