uCoz Community uCoz Modules Forum Everything about Image Resize goes here (automatic image resize and other troubles) |
Everything about Image Resize goes here |
Hi again, i've got a brand new question:P Is there any way to auto-resize the images added with the bb-code??it already happens if you add a picture as an attachment but you can't put the attachment anywhere in the post it just lies in the end of your post..What about bb-code?any tricks?thanx anyway
|
Quote (papp0us) it already happens if you add a picture as an attachment but you can't put the attachment anywhere in the post You can. Copy the code, e.g. $IMAGE1$, and paste it in any place of your post. I'm not active on the forum anymore. Please contact other forum staff.
|
Code [img]image url[/img] u can use rimg instead of img |
My query is, how can I resize my pics that are posted on forums
suppose, a 1024*768 image to a 640*480 or how to shrinks large images automatically to suit the specified dimensions the option is not working 4 me the images are not being resized and still on their original size |
Actualy resizing of images entered using [IMG]......[/IMG] is possible sadly though it involves some change in code.
first locate the following code in your css templates Quote .posttdMessage { background:#202020; padding:5px; } i am using a custom stylesheet but for default templates, its in the folder _st and is named My.css you can customize this through the control panel>>>design templates [css] in a my.css locate the following Quote /* Posts View */ .postTdTop {background:#F4F4F4;height:20px;border-bottom:1px solid #B5B5B5;} .postUser {font-weight:bold;font-family:Tahoma,Arial;} .pollQuestion {text-align:center;font-weight:bold;} .codeMessage {background:#FFFFFF;font-size:9px;} Now type the following code in the green Zone above
Quote .posttdMessage img {max-width: 640px; max-height: 480px; size: auto;} Word of caution though if your image exceeds eigther of the limitations it will be compressed to that required dimension before attemting to do this i always recomend that you back up your templates coz you may mess up and get stuck with a broken site |
shadychiri, thanks for bumping an old thread.
It can be done by just placing the following code in your CSS: Code .posttdMessage img { max-width:700px; width:expression((this.width>700) ? "700px" : true); } .posttdMessage img { max-height:700px; height:expression((this.height>700) ? "700px" : true); } |
If I Post A High Resolution Image Then The Forum Does Not Resize That Automatically As I Want.
I want the forum automatically resize the images of threads. But How?? Hope I'll Get The Solution From The World's Best Stuff's Of uCoz. Regards. If I Help you then Please +Rep and Awards
|
Susmoy, the images are re-sized automatically on the forum, if you attach them. (click "Browse' button at the bottom of the post adding form, embed the $image$ code in the post). If you use BB-codes or HTML tags to post images they are not going to be re-sized automatically, only manually by means of scripts. Unfortunately, we do not provide help with it.
|
Natashko, Thanks You Are The Best.
And Bro Will You Kindly Please Check This Out? Available for users only If I Help you then Please +Rep and Awards
|
This link is helpful: http://forum.ucoz.com/forum/38-13555-1#77622
|
| |||