• 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

Prestashop Module Blocktestimonial File Upload Auto Exploit

Arti dari Kata Deface yang Sering Dibahas oleh para Hacker

Deface dengan Metode Timthumb Remote Code Execution

DNS Hijacking through Social Engineering

Readme.io Custom Domain or Subdomain Takeover

MyBB 1.8.x SQL Injection Auto Exploit

RCE pada Redis via Master-Slave Replication

Exploit Drupal Core 7.x Auto SQL Injection dan Upload Shell

FCKeditor Bypass Shell Upload With Burp Suite Intercept

Cara Deface dengan Exploit Slims CMS Senayan Arbitrary File Upload Vulnerability

LinuxSec / 16 queries in 0.16 seconds