miniBB ®  
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
News & Announcements miniBB Support Forums / News & Announcements /   

Image Attachments and Photoalbum add-ons updated

Author Paul
Lead Developer
#1 | Posted: 4 Nov 2010 09:02 | Edited by: Paul 
Both File and Image Attachments and Photo album for miniBB have been recently updated to scale the large image proportionally in the pop-up window. I hope it brings more comfort in quickly viewing large images on the screen, without scrolling them down or right. This is, of course, only for the forums allowing to upload images more than 1 Mb in size. Most likely, all other pictures below that limit, will fit the modern monitors nicely.

Because of that, some options defining placing image in the background, were eliminated, also because of nowadays, when any image could be downloaded passing JavaScript tricks.

In File Attachments add-on, there was eliminated $closedContent option.

In Photo album add-on, there was eliminated $saveAsEnable option, and replaced by $closeByClick option.

In both add-ons, $closeByClick option now only defines if a pop-up could be closed when you click on it. Most commonly that means clicking by the mouse-left-button. In Firefox, for some reason, it also works regarding the mouse-right-button, meaning the picture can't be "Saved As...". It works normally in Opera, Internet Explorer, Google Chrome.

To update the Photo album add-on, just overwrite addon_pics.php and update the aforementioned option.

To update File Attachments add-on, follow the list of files:

- addon_fileupload.php

- addon_fileupload_topic_thumbnails.code.txt - the "hack" for bb_plugins which display little thumbnails - now when you click on a thumbnail, it brings you to the certain post containing the selected image

- addon_fileupload_options.php - $closedContent option is abandoned

- templates/main_post_form.html - {$fileUpload} var moved above the message form, since it appears to be more intuitive for users addicted to Gmail and other "attachment" services.

- lang/fileupload_eng.php - few language changes (not mandatory to update)

- in all templates/addon_fileupload_rules_*.html - removed "Back" link - Disclaimer will be now just opened in a new target window. The target is added to the language pack - $l_uploadFile var.

You may test how these updates work, on our demo forums.

Enjoy and stay updated! :-)

News & Announcements miniBB Support Forums / News & Announcements / Image Attachments and Photoalbum add-ons updated Top
Your Reply Click this icon to move up to the quoted message
 Short link for this topic:

 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
  Extend your miniBB-forums, attaching the images and files,
get the File and Picture Attachments add-on!
Galleries / Attachments Addon for miniBB