AIR-Box for Phpbb 3.0

A.I.R. Box - Auto Image Resizer Box - mod for PHPBB 3.0


Let images breathe inside your layuot!

It nicely resolves the known problem of large posted images breaking your layout resizing them to perfectly fit and shows in a lightbox. It is based on a small script (airbox.js) that also include Slimbox code. (by C. Beyls). It uses [img] bbcode, or a custom [slideshow] bbcode to create slideshows with titled images.
A [signature-img] custom bbcode was added in latest release for posting images in signature without lightbox effect. It could be used in combination with [url] for linking images.
It doesn't touch all other images like banner images, etc.. as well signature images. Now attachments images also are resized and show in a lightbox.
Users can also post their Flickr images in a nice flash slideshow.

I wrote this mod because I coudn't found one using onDOMready function, instead ONload. Actually this one does it and now when you click on images before the page is loaded the script already works in a reliable way.

Installation is really easy and requires modding of 1 line into 3 files only (one of them is a template file) and no database changes. All this means you'll have no problems upgrading your board in the future. All changes and additions are tagged to easily locate them after install. Original lines are preserved throgh comments.
In the included XML file you can find complete instructions and documentation.
It has been tested succesfully with Firefox 2.0 & 3.0, Internet Exporer 6.0 & 7.0


RC06 -fixed --> Signature images don't show in lightbox and are not clickable (only url linked images).
-fixed --> Some Subsilver 2 theme tuning.
-fixed --> onload function in the resizer js has been reintroduced and the conflict with quick reply script has been solved.
-fixed --> Various typos

- rel RC 05 - fixed --> typo in overall_footer.html : scripts now go before /body /html
- fixed --> new feature "quick reply" introduced by phpbb 3.0.6 now shows as expected
- fixed --> signature images don't show in a lightbox anymore
-rel. RC 04 fixed --> Images are resized once all them are loaded. Now they resize while they are loading

-rel. RC 03 Added --> Slideshow is set as default for all posted images (remote and attachments) in a post. Now if you post more than one image roll over next and prev button will show up.
Removed --> Slideshow custom tags, as they are not needed anymore
Fixed --> A missing tag in subsilver2. (thanks Odklizec)

-rel. RC 02 Fixed --> A bug making disappear linked images in signature.
Added --> A script to fix old attachments tables (thanks Glyphon) Upadate of DYI.
Added --> Alternative code in airbox.js to set width relative to document. (thanks Iftitaj) Update of DYI.
-rel. RC 01b Fixed --> Typos Added --> link to reference page in styles/prosilver or subsilver2/template/overall_footer.html - must be added.
-rel. RC 01 Fixed --> Some URL bbcodes stop working, now all are ok. Fixed --> Typos in includes/bbcode.php generating php errors.
-rel. 0.9.5b Fixed --> images in [img] did'nt show in lightbox anymore. Added --> important warning in attachment DYI
-rel. 0.9.5 -Added --> Use of ModX 1.2.1
Added -->As thousands of you requested it :) , a combination of [url] and [img] is now possible. Images wrapped into [url] tags are still resized but won't open in lbox when clicked, instead will redirect you to posted url, as espected and using solely standard bbcode.
-rel. 0.9.3 -Change --> moved lines from overall_header to overall_footer Added --> Subsilver2 style (thanks Goztow)
-rel. 0.9.2b -Fix --> styles/prosilver/template/attachment.html
-rel. 0.9.2 - Change --> Signature images now automaticly don't show in lightbox. BBcode [signature-img] is not needed anymore and deprecated. (thanks Goztow!)
Added --> DIY instructions for signature in admin panel (thanks Goztow)
Fixed --> attachments (styles/prosilver/template/attachment.html)
Added --> DIY instructions to bypass I.E.6/7 bug in conjunction with other mods to post videos
-rel. 0.9.1b -Fixed - id -->to class in includes/bbcode.php
-rel. 0.9.1 - Major fixing release: All those who downloaded 0.9.0 should update- important issues were fixed. Fixed - only the first image in a page was resized (issue affecting 0.9.0 only) - Fixed - slideshow bbcode Fixed attachments code and added related DIY instructions Fixed signature bbcode Fixed - some typos
-rel. 0.9.0 -Js Resizer rewritten from scratch. Now only images in posts are resized. All other images (including banner) are not resized and do not show in a lightbox.
-rel. 0.8.9b -Some typos corrected (thanks iftitaj). Installation time changed (due to features added).
-rel. 0.8.9 - Added bbcode for Flickr slideshows
-rel. 0.8.7 - Added lightbox effect to attachments images
-rel. 0.8.6 - fixed errors in comments in bbcode.php
-rel. 0.8.5 - custom bbcode added for images in signature. Now they don't show in a lightbox and can be linked to a url using in combo with [url] bbcode. Some typos corrected in the xml file.
-rel. 0.8.0 - initial release


Here you can see a demo page.

found a problem or have a suggestion? go to the support forum.

If you like the software and use it, you can read more here below and make a donation. It takes you no more than 3 minutes and even a small one can be increbly helpful. If you can't, a link to www.provisum-illumina.com in your site, even a small one, can still be useful.
In collaboration with Emergency, a part of the proceeds and the donations gathered through this website are devolved for the Regional medical aid program of cardiac surgery and pediatric cardiac surgery in Africa. The use of funds and donors' list are documented at the bottom of this page.

Salam Cardiac Surgical Center, Pediatric Cardiac Surgery 03

Salam Cardiac Surgical Center, Pediatric Cardiac Surgery - click to zoom in - Photographies by Marcello Bonfanti ©2007


Using this button, your name and amount donated will be inserted into the donors' page.
Using the button below your donation amount will be inserted as anonymous in the donors' page


While 40% of raised funds will be used for the maintanance of the site, 60% will be sent to sustain the medical regional aid program of pediatry and cardiac surgery of Emergency in Africa.

In Soba, a small village along the banks of Blue Nile, 20 KM from Khartoum, Emergency opened in April 2007 the Salam Center of Cardiac Surgery, the only structure able to guarantee a free and high level medical support to cardiopathic children and adults from Egypt, Eritrea, Ethiopia, Kenya, Uganda, Democratic Republic of Congo, Central Africa Republic, Chad, Libya.
In this immense region Emergency will build a network of satellite clinics connected to the Salam Center in order to provide basic pediatric medical services, following the example of the pediatric center of Emergency in the refugee camp of Mayo, in Khartoum, which became active in December 2005.
The first centers will be active in the Central Africa Republic, Democratic Republic of Congo, Uganda and other four in Sudan.
Through the regional project of cardiac surgery, Emergency wants to contribute in the building of cooperative relationships between the involved countries, a necessary preface for the peace keeping of an area harassed by war and poverty.

www.emergency.it

Provisum-Illumina's donation program in collaboration with Emergency is not only related to AIR-Box distribution, but to all activities of the site. read more...

In order to guarantee transparency on destination of donations, we will publish a list of donors and the amounts donated to Emergency. Everyone can check the status of his donation. Publishing can take from 1 day to 1 week.
We answer every question you may have through contact module

logo unframe