Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Images
Tmsh
Posted on 07 Feb 2010, 10:23:07

Access: Member
Total Posts: 3
Joined: 2010-02-06

Hi, I've 2 problems:
1. I want to image float left. I read this thread. I pasted into bbparser.php on 41 line
Code:
return "<div class=\"image_container\" style=\"width: $new_width" . "px\"><a href=\"$str\"><img style=\"float: left\" class=\"fullnewsimage\" alt=\"image\" src=\"" . $adminpath . "?action=options&mod=imageuploads&width=$new_width&height=$new_height&thumb=$str\" /></a><br style=\"clear: both\" /><span class=\"image_caption\">$caption</span></div>";
and it doeasn't work.

2. How I can resize images? This code
Code:
<?php $image_maxwidth = '400'; 
$image_maxheight = '200'; 
include 
'news/index.php'; ?> 
doesn't work.
#1821
Last edited by Tmsh at 2010-02-07 10:49:55 Reason:
Chris
Posted on 07 Feb 2010, 12:45:04

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Add this to your style sheet to align your images

Code:
#allbody img {
    float: right;
}


Images will only be resized if the image exceeds the dimensions you specify, if they don't the image will be shown without being resized.
#1822
Network-13.com © 2013