Add Full Size Option In Wordpress Thickbox!
Written by Anurag Bhateja on December 26, 2008 – 10:42 pm -Many of you people who were using ne or another gallery plugins which use thickbox. Now as thickbox is an integral part of Wordpress, something very unusual happened as there is no option of “Full Size”. Some of you or your clients may need that feature for their galleries.
There is a small code hack with which you can get the option back. Just follow the simple steps and it can be done ![]()
1. Open any FTP client which you like.
2. Go to your website’s public_html folder and then proceed to wp-includes >> js >> thickbox.
3. Open thickbox.js in edit mode.
4. Search for “TB_PrevHTML + TB_NextHTML” it is in line 129.
5. Just before this, add from here
“ <a href=’” + url + “‘ id=’TB_FullSize’ title=’Full Size’>Full Size</a> ” + ”
till up here.
6. Save the file and check the thickbox by clicking an image in gallery of your website.
Done!
Sample Photograph… Click on the image to see “Full Size” Option.
Tags: add full size option in thickbox, full size, how to add full size option in thickbox of wordpress, make your wordpress life easy, option full size in thickbox, thickbox, thickbox.js, Tips and Tricks, Wordpress, wordpress hack, wordpress thickbox, wordpress tips, wordpress tricks, wp-includes
Posted in Wordpress hacks | 4 Comments »
