Đăng nhập
Latest topics
» Tôi sẽ đỗ đại học!by nightWalker 9/2/2024, 7:00 pm
» Kỷ niệm xưa của chúng ta
by nightWalker 9/2/2024, 6:49 pm
» Bị lệch khung cần người giúp đỡ
by webhuy28 7/10/2021, 10:34 pm
» [HỎI ĐÁP] Danh sách bạn bè không thể hiển thị
by anhdaodaica1 2/10/2021, 10:04 pm
» [HỎI ĐÁP] Thông tin tài khoản không thể lưu thay đổi
by anhdaodaica1 2/10/2021, 6:05 am
» Phim bố già full
by huy.pc52 24/8/2021, 12:20 am
» Xin code Box HTML cho Forumvi
by Larva 1/7/2021, 12:57 pm
» Hello Anh Em Chinh phục
by HoàngTửNaivip5p 28/5/2021, 5:03 am
» Trang chủ tin tức cập nhật HOT 2016
by kenbi05 1/1/2020, 11:02 pm
» Không Dang9 bài viết = hình ảnh được
by huy.pc52 30/11/2019, 10:52 am
» CHÚC ANH EM NĂM MỚI VUI VẺ TRÀNG ĐẦY HẠNH PHÚC
by sps.kủn 12/2/2019, 1:16 pm
» Skin CNTT-K3 2015 (Full Mod)[✔]
by kenbi05 6/7/2018, 12:30 am
» baivong, handsome,....
by sps.kủn 29/6/2018, 1:54 pm
» [SHARE] SKIN ĐHFM.V7 @PUNBB
by tonyhoaivu 2/5/2018, 2:37 pm
» Share Skin Xanh Dương Cùi Bắp
by tonyhoaivu 28/4/2018, 5:57 pm
» Xin Skin http://v1.hotrofm.net/
by tonyhoaivu 28/4/2018, 5:45 pm
» Xin Skin Rao Vặt
by tonyhoaivu 15/4/2018, 12:07 pm
» Làm Sao Để Xóa Khung Này
by tonyhoaivu 14/4/2018, 7:18 pm
» [Lập nhóm]Lập nhóm fm
by vietkanpy 31/3/2018, 11:53 am
» [Help] về server úp ảnh của phutu [✔]
by baivong 17/3/2018, 10:18 pm
» Đừng khóc cho “tôi – Chinh Phục!”…
by AnHung 27/2/2018, 5:33 pm
» [Share] Skin Diendandaihoc.com [ Punbb ] [✔]
by Lu Mờ 13/2/2018, 7:28 pm
» Mời mấy thím vào groups Forumotion Việt Nam.
by dang02315 13/2/2018, 12:40 am
» Có thể làm các kiểu giao diện được không?
by Lu Mờ 9/2/2018, 3:40 pm
» ltns chinhphuc.info
by Shinichi Kudo 27/1/2018, 2:27 am
Top posting users this week
No user |
[Chỉnh sửa]Không resize ảnh được
2 posters
Trang 1 trong tổng số 1 trang
[Chỉnh sửa]Không resize ảnh được
Diễn đàn em không resize ảnh trong topic, nhưng dùng chức năng Xem trước thì nó resize ảnh được. Bước đầu nghi ngờ là do code trong CSS có xung đột. Vậy nhờ các bác kiểm tra dùm.
- Code:
{catrow.forumrow.FORUM_NAME}
a:link {text-decoration:none}
a:hover
{text-decoration:none;
color:#D570EE;
text-decoration:none;
font-weight:bold;
background-image:url(http://dl10.glitter-graphics.net/pub/575/575270ehu3guptig.gif);}
body, a, a:hover {cursor: url(http://cur.cursors-4u.net/cursors/cur-2/cur116.cur), progress;}
a:hover {
cursor: url(http://cur.cursors-4u.net/cursors/cur-2/cur223.cur), default;
color:#FF6600;
}
/*--- This part corresponds at the forum description ---*/
.forum-description {
margin: auto;
padding: 10px;
color: #000000;
width: 80%;
border: 3px solid #000000;
-moz-border-radius: 14px;
-webkit-border-radius: 14px;
font-size: 12px;
}
echo "\n";
//banner flash
echo " \n";
echo "\n";
echo " \n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
//end
echo "\n"
/*--- This part corresponds to "X messages in X topics" ---*/
.forum-stats {
-moz-border-radius-topleft: 20px;
-moz-border-radius-topright: 20px;
-webkit-border-top-right-radius: 20px;
-webkit-border-top-left-radius: 20px;
border-top-right-radius: 20px;
border-top-left-radius: 20px;
border-bottom: 0 none !important;
border-left: 3px solid #000000;
border-right: 3px solid #000000;
border-top: 3px solid #000000;
color: #000000;
font-size: 11px;
font-style: italic;
height: 14px;
left: 280px;
padding: 3px;
position: relative;
text-align: center;
width: 200px;
}
/*--- This part corresponds to the subforums display ---*/
.forum-sousforum {
color: #000000;
border: 3px solid #000000;
border-top: 0px !important;
-moz-border-radius-bottomleft: 14px;
-moz-border-radius-bottomright: 14px;
-webkit-border-bottom-right-radius: 14px;
-webkit-border-bottom-left-radius: 14px;
border-bottom-right-radius: 14px;
border-bottom-left-radius: 14px;
margin: auto;
padding: 4px;
color: #000000;
width: 50%;
text-align: center;
height: 14px;
font-size: 11px;
}
.pagination span a,.pagination span a:active,.pagination span a:link,.pagination span a:visited{background-color:#f7f7f7;border:1px solid #B4BAC0;color:#5C758C;font-size:.9em;font-weight:400;line-height:1.5em;margin:0 2px;padding:0 2px;text-decoration:none}.pagination span a:hover{background-color:#0372be;border-color:#368AD2;color:#FFF;text-decoration:none}.pagination span a.pag-img{background-color:transparent;border:none}.pagination span a.pag-img:hover{background-color:transparent}.pagination span strong{background-color:#627DA3;border:1px solid #627DA3;color:#FFF;font-size:.9em;margin:0 2px;padding:0 2px}.pagination span.page-sep{display:none}#cp-main .pagination{float:right;padding-top:1px;width:auto}
/* dau + - o goc forum-------------------------------------------------*/div.maintitle .expand,div.maintitle .contract { float: right; width: 10px; height: 10px; background: url('http://i434.photobucket.com/albums/qq64/eagle9x/chinhphucinvi/up12.gif') no-repeat 50% 50%; cursor: pointer; }div.maintitle .expand { background: url('http://i434.photobucket.com/albums/qq64/eagle9x/chinhphucinvi/down12.gif') no-repeat 50% 50%; }
tabs { margin: 0; padding: 0;}.tabs { padding-bottom: 31px; margin-bottom: 15px; background: #e5effe; border-bottom: 1px solid #b4d0f3; }.tabs li { list-style: none;float: left; line-height: 30px; border-right: 1px solid #b4d0f3; height: 30px; font-size: 11px;}.tabs li.current { background: #FFF; height: 32px; font-weight: bold; }.mainbox { background: #FFF; border: 1px solid #9DB3C5; margin-bottom: 6px; padding: 1px;}.mainbox table { width: 100%; }#dhtmlpointer, #dhtmltooltip{ z-index: 999; left: -300px; top:0px; visibility: hidden; position: absolute;}#dhtmltooltip{ border: #666 2.4px solid; -moz-opacity: 0.8; opacity: 0.8; filter: alpha(opacity=80); -moz-border-radius: 6px; -webkit-border-radius: 6px; padding: 10px; font-size: 9pt; font-family: Arial; background-color: white; width: auto; max-width: 340px; width:expression( document.body.clientWidth > 340? "340px": "auto" ); text-align:left;}
textarea#text_editor_textarea { width: 100% !important;height: 500px !important; }
form#quick_reply textarea#text_editor_textarea {
width: 100% !important; height: 300px !important;
}
.quote {
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 11px; text-indent: 2em;
line-height: 125%; min-width:500px; padding:6px;
border:1px solid #d4d4d4;
background: #D2E4F2 url('http://i78.servimg.com/u/f78/15/88/80/70/quote10.gif') no-repeat top left;
}
.quote .quote {background-color:#EFE0E6}
.quote .quote .quote {background-color:#EBEADD}
.quote table {margin:5px 16px 0 16px;text-indent:0px!important}
.level_class{
background:transparent url(http://yega.game4v.vn/level_class/img/Status.png) no-repeat;
display:block;
margin-bottom:15px;
font-family:Arial;
font-weight:bold;
width:160px;
height:50px;
float: right;
}
.level_class_legacy{
background:transparent url(http://yega.game4v.vn/level_class/img/Status.png) no-repeat;
display:block;
margin-bottom:15px;
font-family:Arial;
font-weight:bold;
width:160px;
height:50px;
}
.lv_tr{
height:15px;
text-align:center;
}
.lv_td{
font-size:11px;
line-height:12px;
padding:1px 30px 0px 45px;
font-weight:bold;
}
.class_tr{
height:12px;
text-align:center;
}
.class_td{
font-size:11px;
color:#FFFFFF;
line-height:13px;
padding-left: 45px;
padding-bottom: 2px;
font-weight:bold;
margin-top: -2px;
}
.exp_tr{
height:7px;
width:150px;
}
.exp_td{
margin-left:42px;
margin-top: 3px;
}
.code{
font-family: time new roman;
font-size: 14px;
color: #FF00FF;
line-height: 125%;
background-color: #fafafa;
border: #d1d7dc;
border-style: solid;
border-left-width: 1px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px
max-width: 500px; }
a:hover{
color:#ffffff!important;text-shadow:0 0 5px #FF0000!important;}
a:hover{text-decoration:none!important;}
a:hover{text-shadow:0 0 2px;}
a[href="/u1"]:before {content: url(http://ketnoi24h.vn/forum/images/icons/admin01.gif);}
a[href="/u2"]:before {content: url(http://i130.photobucket.com/albums/p254/punpun_photos/sm.gif);}
a[href="/u6"]:before {content: url(http://i130.photobucket.com/albums/p254/punpun_photos/13.gif);}
a[href="/u12"]:before {content: url(http://i130.photobucket.com/albums/p254/punpun_photos/314.gif);}
a[href="/u13"]:before {content: url(http://i130.photobucket.com/albums/p254/punpun_photos/33.gif);}
a[href="/u76"]:before {content: url(http://i24.servimg.com/u/f24/13/54/69/46/admin11.gif);}
.resize_process .resizebox{display:none}.resize_process img.resize_img{display:inline-block}.resizebox a.enlarge,.resizebox a.fullsize,.resizebox a.resize{background-image:url(http://i24.servimg.com/u/f24/14/44/36/68/button10.gif);border:1px solid #000;display:inline;margin:1px;padding:2px;zoom:1}.resizebox a.resize:before{content:"Thu nhỏ- "}.resizebox a.enlarge:before{content:"Phóng to - "}.resizebox a.fullsize:before{content:"Kích thước thật - "}.resizebox.enlarged a.enlarge{display:none}.resizebox.enlarged a.resize{background-image:url(http://i69.servimg.com/u/f69/12/89/57/83/button13.gif);border:1px solid #000;display:inline-block;padding:2px}.resizebox a.resize{display:none}.resizebox{background-color:#ff9;cursor:default;display:inline-block;font-style:normal;font-weight:400;line-height:1.1em;margin:0;max-width:100%;text-align:left}.resizebox div{border:1px solid #ff9;font-style:normal;font-weight:400;margin:0}.resizebox .resize_border{border:1px solid #ff9;display:block}.resizebox .resize_content{display:inline;padding:5px 10px;zoom:1}.resizebox .resize_filler{border:none;display:inline;padding:0;width:40px;zoom:1}
Re: [Chỉnh sửa]Không resize ảnh được
Vào Quản lý tổng thể => Messages and e-mails => Cấu hình diễn đàn => Images resize sau đó chọn kích thuớc.
Thay toàn bộ cái này vào css xem sao. Nếu được thì vote nhé! ko vote là cắt ** đó!!
Thay toàn bộ cái này vào css xem sao. Nếu được thì vote nhé! ko vote là cắt ** đó!!
- Code:
{catrow.forumrow.FORUM_NAME}
a:link {text-decoration:none}
a:hover
{text-decoration:none;
color:#D570EE;
text-decoration:none;
font-weight:bold;
background-image:url(http://dl10.glitter-graphics.net/pub/575/575270ehu3guptig.gif);}
body, a, a:hover {cursor: url(http://cur.cursors-4u.net/cursors/cur-2/cur116.cur), progress;}
a:hover {
cursor: url(http://cur.cursors-4u.net/cursors/cur-2/cur223.cur), default;
color:#FF6600;
}
/*--- This part corresponds at the forum description ---*/
.forum-description {
margin: auto;
padding: 10px;
color: #000000;
width: 80%;
border: 3px solid #000000;
-moz-border-radius: 14px;
-webkit-border-radius: 14px;
font-size: 12px;
}
echo "\n";
//banner flash
echo " \n";
echo "\n";
echo " \n";
echo " \n";
echo " \n";
echo "\n";
echo "\n";
//end
echo "\n"
/*--- This part corresponds to "X messages in X topics" ---*/
.forum-stats {
-moz-border-radius-topleft: 20px;
-moz-border-radius-topright: 20px;
-webkit-border-top-right-radius: 20px;
-webkit-border-top-left-radius: 20px;
border-top-right-radius: 20px;
border-top-left-radius: 20px;
border-bottom: 0 none !important;
border-left: 3px solid #000000;
border-right: 3px solid #000000;
border-top: 3px solid #000000;
color: #000000;
font-size: 11px;
font-style: italic;
height: 14px;
left: 280px;
padding: 3px;
position: relative;
text-align: center;
width: 200px;
}
/*--- This part corresponds to the subforums display ---*/
.forum-sousforum {
color: #000000;
border: 3px solid #000000;
border-top: 0px !important;
-moz-border-radius-bottomleft: 14px;
-moz-border-radius-bottomright: 14px;
-webkit-border-bottom-right-radius: 14px;
-webkit-border-bottom-left-radius: 14px;
border-bottom-right-radius: 14px;
border-bottom-left-radius: 14px;
margin: auto;
padding: 4px;
color: #000000;
width: 50%;
text-align: center;
height: 14px;
font-size: 11px;
}
.pagination span a,.pagination span a:active,.pagination span a:link,.pagination span a:visited{background-color:#f7f7f7;border:1px solid #B4BAC0;color:#5C758C;font-size:.9em;font-weight:400;line-height:1.5em;margin:0 2px;padding:0 2px;text-decoration:none}.pagination span a:hover{background-color:#0372be;border-color:#368AD2;color:#FFF;text-decoration:none}.pagination span a.pag-img{background-color:transparent;border:none}.pagination span a.pag-img:hover{background-color:transparent}.pagination span strong{background-color:#627DA3;border:1px solid #627DA3;color:#FFF;font-size:.9em;margin:0 2px;padding:0 2px}.pagination span.page-sep{display:none}#cp-main .pagination{float:right;padding-top:1px;width:auto}
/* dau + - o goc forum-------------------------------------------------*/div.maintitle .expand,div.maintitle .contract { float: right; width: 10px; height: 10px; background: url('http://i434.photobucket.com/albums/qq64/eagle9x/chinhphucinvi/up12.gif') no-repeat 50% 50%; cursor: pointer; }div.maintitle .expand { background: url('http://i434.photobucket.com/albums/qq64/eagle9x/chinhphucinvi/down12.gif') no-repeat 50% 50%; }
tabs { margin: 0; padding: 0;}.tabs { padding-bottom: 31px; margin-bottom: 15px; background: #e5effe; border-bottom: 1px solid #b4d0f3; }.tabs li { list-style: none;float: left; line-height: 30px; border-right: 1px solid #b4d0f3; height: 30px; font-size: 11px;}.tabs li.current { background: #FFF; height: 32px; font-weight: bold; }.mainbox { background: #FFF; border: 1px solid #9DB3C5; margin-bottom: 6px; padding: 1px;}.mainbox table { width: 100%; }#dhtmlpointer, #dhtmltooltip{ z-index: 999; left: -300px; top:0px; visibility: hidden; position: absolute;}#dhtmltooltip{ border: #666 2.4px solid; -moz-opacity: 0.8; opacity: 0.8; filter: alpha(opacity=80); -moz-border-radius: 6px; -webkit-border-radius: 6px; padding: 10px; font-size: 9pt; font-family: Arial; background-color: white; width: auto; max-width: 340px; width:expression( document.body.clientWidth > 340? "340px": "auto" ); text-align:left;}
textarea#text_editor_textarea { width: 100% !important;height: 500px !important; }
form#quick_reply textarea#text_editor_textarea {
width: 100% !important; height: 300px !important;
}
.quote {
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 11px; text-indent: 2em;
line-height: 125%; min-width:500px; padding:6px;
border:1px solid #d4d4d4;
background: #D2E4F2 url('http://i78.servimg.com/u/f78/15/88/80/70/quote10.gif') no-repeat top left;
}
.quote .quote {background-color:#EFE0E6}
.quote .quote .quote {background-color:#EBEADD}
.quote table {margin:5px 16px 0 16px;text-indent:0px!important}
.level_class{
background:transparent url(http://yega.game4v.vn/level_class/img/Status.png) no-repeat;
display:block;
margin-bottom:15px;
font-family:Arial;
font-weight:bold;
width:160px;
height:50px;
float: right;
}
.level_class_legacy{
background:transparent url(http://yega.game4v.vn/level_class/img/Status.png) no-repeat;
display:block;
margin-bottom:15px;
font-family:Arial;
font-weight:bold;
width:160px;
height:50px;
}
.lv_tr{
height:15px;
text-align:center;
}
.lv_td{
font-size:11px;
line-height:12px;
padding:1px 30px 0px 45px;
font-weight:bold;
}
.class_tr{
height:12px;
text-align:center;
}
.class_td{
font-size:11px;
color:#FFFFFF;
line-height:13px;
padding-left: 45px;
padding-bottom: 2px;
font-weight:bold;
margin-top: -2px;
}
.exp_tr{
height:7px;
width:150px;
}
.exp_td{
margin-left:42px;
margin-top: 3px;
}
.code{
font-family: time new roman;
font-size: 14px;
color: #FF00FF;
line-height: 125%;
background-color: #fafafa;
border: #d1d7dc;
border-style: solid;
border-left-width: 1px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px
max-width: 500px; }
a:hover{
color:#ffffff!important;text-shadow:0 0 5px #FF0000!important;}
a:hover{text-decoration:none!important;}
a:hover{text-shadow:0 0 2px;}
a[href="/u1"]:before {content: url(http://ketnoi24h.vn/forum/images/icons/admin01.gif);}
a[href="/u2"]:before {content: url(http://i130.photobucket.com/albums/p254/punpun_photos/sm.gif);}
a[href="/u6"]:before {content: url(http://i130.photobucket.com/albums/p254/punpun_photos/13.gif);}
a[href="/u12"]:before {content: url(http://i130.photobucket.com/albums/p254/punpun_photos/314.gif);}
a[href="/u13"]:before {content: url(http://i130.photobucket.com/albums/p254/punpun_photos/33.gif);}
a[href="/u76"]:before {content: url(http://i24.servimg.com/u/f24/13/54/69/46/admin11.gif);}
/* resize image */
.resize_process .resizebox {
display: none;
}
.resize_process img.resize_img {
display: none;
}
.resizebox a.enlarge, .resizebox.showfull a.fullsize, .resizebox.enlarged a.resize {
display: inline-block;
zoom: 1;
*display: inline;
}
.resizebox.enlarged a.enlarge, .resizebox a.fullsize, .resizebox a.resize {
display: none;
}
.resizebox {
background-color: #ffffff;
max-width: 100%;
line-height: 1.1em;
cursor: default;
font-weight: normal;
font-style: normal;
margin: 0;
text-align: left;
display: inline-block;
}
.resizebox div {
font-weight: normal;
font-style: normal;
margin: 0;
}
.resizebox .resize_border {
border: 1px solid #ffffff;
display: block;
}
.resizebox .resize_content {
padding: 5px 10px;
display: inline-block;
zoom: 1;
*display: inline;
}
.resizebox .resize_filler {
border: none;
padding: 0;
width: 40px;
display: inline-block;
zoom: 1;
*display: inline;
}
Re: [Chỉnh sửa]Không resize ảnh được
không ổn rồi bác ơi. khi thay vô thì toàn bộ ảnh trong topic đều không hiện???
Re: [Chỉnh sửa]Không resize ảnh được
Trong view_topic_body có đoạn này không?? không có thì thêm vào
- Code:
<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.postbody', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->
Re: [Chỉnh sửa]Không resize ảnh được
thaikeyboard đã viết:Trong view_topic_body có đoạn này không?? không có thì thêm vào
- Code:
<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.postbody', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->
có bác ơi!
Re: [Chỉnh sửa]Không resize ảnh được
chéc là vậy... cái này bạn nên nhờ các pro giúp bạn thôi, liên hệ yahoo, đưa nick admin cho họ mò thử..
Similar topics
» [mẹo vặt] Sử dụng code Resize ảnh mà ko làm resize banner
» [Thắc mắc]Không resize ảnh được???
» Resize ảnh quá lớn khi nhấn vào Xem kích thước đầy đủ nó sẽ hiện ảnh gốc[✔]
» [Thắc mắc] Không resize ảnh được
» Về resize ảnh
» [Thắc mắc]Không resize ảnh được???
» Resize ảnh quá lớn khi nhấn vào Xem kích thước đầy đủ nó sẽ hiện ảnh gốc[✔]
» [Thắc mắc] Không resize ảnh được
» Về resize ảnh
Trang 1 trong tổng số 1 trang
Permissions in this forum:
Bạn không có quyền trả lời bài viết
|
|