• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

LinuxSec Exploit

Nothing is Ever Locked

  • XSS Payloads
  • About Us

Resize Gambar yang Besar Secara Otomatis pada MyBB

April 21, 2014 by Jack Wilder 1 Comment

Oke , kali ini saya mau share cara resize gambar secara otomatis pada forum MyBB. Terkadang saat kita membuat thread/postingan di MyBB, gambar yang kita masukkan terlalu besar sehingga melebihi batas lebar forum. Alhasil gambar keluar dan terlihat jelek.
Lihat contoh berikut :

Nah, bagaimana caranya supaya gambar tersebut di resize secara otomatis ?
simak cara berikut :
masuk file manager.
Buka file /inc/class_parser.php lalu cari code ini tepat pada baris 1028 sampai 1032 .
{
    return “<img src=”{$url}” border=”0″  alt=”{$alt}”{$css_align} />”;          
}
 nah , sekarang sisipkan kode berikut :
style=”max-width:750px; max-height:auto;” setelah border=”0″
Sehingga nantinya menjadi
{
    return “<img src=”{$url}” border=”0″ style=”max-width:750px; max-height:auto;” alt=”{$alt}”{$css_align} />”;          
}

Setelah itu save file class_parser.php nya.
maka tampilan gambar akan otomatis memiliki lebar 750px , tergantung kalian setting lebarnya berapa. 😀

bagaimana ? Mudah bukan ?
Selamat mencoba 😀

Filed Under: Uncategorized Tagged With: MyBB, Tutorial

Reader Interactions

Comments

  1. investasi says

    May 8, 2014 at 4:37 pm

    artikel yg bermanfaat gan ..

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Popular Post

Cara Mendapatkan RDP Gratis Dengan Shell Windows

Mass Deface setelah Rooting Server

WordPress 4.7.0/4.7.1 Content Injection Exploit

Heroku Custom Domain or Subdomain Takeover

Surge.sh Custom Domain or Subdomain Takeover

Woocommerce Custom Tshirt Desginer CSRF Shell Upload Vulnerability

Tool Deface Opencart Bruteforce and Upload Image

Deface dengan Metode Timthumb Remote Code Execution

Upload Backdoor Lewat MySQL Database (phpMyAdmin)

Deface WordPress dengan Exploit Themes Qualifire File Upload Vulnerability

LinuxSec / 11 queries in 0.09 seconds