PDA

View Full Version : Resize Images



admin
29-03-2010, 05:27 PM
Info:
Resize Images system for vBulletin.

Functions:
adjust pictures size, highslide effects
View screenshots.

Active area:
CMS
Blogs
Signature
Post
other: available http://www.vbulletin.org/forum/images/smilies/biggrin.gif

Installation:
-Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]

To set options:
Go to: AdminCP > vBulletin Options > Resize Images Settings

Screen Shot:
3409

===============================================
Update : Cách sửa lỗi với vBulletin 4.1.2 +
AdminCP -> Styles & Templates -> Style Manager -> Edit Templates -> CSS Templates -> postbit.css
Tìm đoạn code sau :

.postbit .content img, .postbitlegacy .content img, .postbitdeleted .content img, .postbitignored .content img, .eventbit .content img {
max-width: {vb:stylevar image_medium_max};
}
- Thêm vào phía trước : /*
- Thêm vào phía sau : */

t8mclub
03-02-2012, 01:03 AM
4.1.10 lỗi rồi... không còn chơi cái này đc nữa.

nghebao.vn
03-02-2012, 11:12 AM
4.1.10 lỗi rồi... không còn chơi cái này đc nữa.
tớ vẫn xài bình thường mà

Speed
03-02-2012, 02:15 PM
Rất hay, mình đã áp dụng thành công cho 4rum mình. Cảm ơn admin nhiều.

Coolboyhn
10-04-2012, 09:59 AM
đào top lên, bác nào có code css để resize ảnh cho vbb4 cho em xin với nhá

banhkinhakdemi
10-04-2012, 06:07 PM
Mình đang dùng mod SevenSkins Image Resizer (http://www.sevenskins.com/) v1.5 thấy khá hay. Bạn có thể gg để tìm trước mình down nhìu quá nên k nhớ trang nào:)

daochichkid
10-04-2012, 06:41 PM
Bạn down bên topic này:

http://itvnn.net/showthread.php?7090-Image-Resizer-Using-nCode-Script
Nếu bạn muốn dùng css3 thì cho bạn khuyến cáo là sẽ k chạy tren một số trình duyệt cũ ie 6,7
Css resize:
Bước 1:
Go to--->ACP--->Custom BB Codes--->Add new BBcode.
Title: BBcode Image Resizer with CSS
BB Code Tag Name: imgr
Replacement:

<a class="thumbnail" href="#thumb"><img src="{param}" width="320px" height="240px" border="0" /><span><img src="{param}" /><br />Image</span></a>
Bước 2:
Go to--->ACP--->Styles & Templates--->Style Manager--->You Styles--->Main CSS--->Additional CSS Definitions
Thêm vào ở hàng cuối cùng

.thumbnail{ position: relative;
z-index: 0;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: 60px; /*position where enlarged image should offset horizontally */

}