MyBB Community Forums

Full Version: Improvements to attachment system
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I would like to propose the following improvements to the attachments system.
  • Ability to select multiple files to upload at once
  • Images upload without page refresh (AJAX)
  • Drag to re-order attachments
  • Image attachments should be lightboxed automatically
  • Ability to add caption/description to image attachments to show in lightbox
If you have your own improvements for the attachment system, please leave them here. I hope we can see some serious improvements to this in 1.8 as the current system is really too archaic and discourages the use of attachments. Most users will use sites like Imgur or Photobucket because attachments system is simply not intuitive.

If these cannot be implemented in 1.8, I will have to find a plugin dev who is willing to take on the task.
Maybe the Option (default off) of letting images be uploaded as BLOB? instead of uploading it to the folder.
(2012-05-07, 11:33 PM)anori Wrote: [ -> ]Maybe the Option (default off) of letting images be uploaded as BLOB? instead of uploading it to the folder.

There's no advantage over storing the files on disk. Extras queries, larger database, more overhead. The overall performance would be worse.

There are certain times when using BLOB is acceptable, forums attachments is not one of them. Especially since you're suggesting _only_ image attachments are stored in the database.

VARBINARY would be a good option for small images (Definately nothing above 1MB) but for MyBB storing files on disk is the best option.
This is a good suggestion from brad. I would also like to see the option to set the size of the image in the post, separate to the size of the thumbnail.
  • Drag to re-order attachments
  • Image attachments should be lightboxed automatically
  • Ability to add caption/description to image attachments to show in lightbox
Probably not in 1.8.
  • Ability to select multiple files to upload at once
  • Images upload without page refresh (AJAX)
Depends on time really; I'm stretched as it is. Maybe when 1.8 is released on to Github someone can fork and update it.
with the changed to jQuery by default using lightbox or similar should be fairly simple to add as it would be all template changes. i have not used lightbox, but fancybox I do use in MyShowcase and its purely template based.

Add the JS boxing functions to the header and and when outputting attachments just insert rel="fancybox" to the <img> tag and it magically works.

so it could be added to the core setup, but it is easy enough to add manually. the issue being supporting browsers with JS disabled so the image will show properly.
Default lightbox imaging should be in 1.8, seriously. It cannot be that difficult to add (many plugins for this already) and opening images in a new tab/window is very archaic. I also don't think forking MyBB for these basic features is a really agreeable suggestion.
(2012-05-08, 01:53 PM)brad-t Wrote: [ -> ]Default lightbox imaging should be in 1.8, seriously. It cannot be that difficult to add (many plugins for this already) and opening images in a new tab/window is very archaic. I also don't think forking MyBB for these basic features is a really agreeable suggestion.

What Tomm means is that on Github other users can fork a project, make changes/improvements, then make a pull request where the developers can add user-made changes back to MyBB. Not in the tradional sense of forking software, just an easier way for the community to contribute towards the development.
Ahh OK. Thank you. Still, I don't think anyone will take on such a large task for free, sadly, so I have posted it as a plugin request. Maybe I can pay for a fork request? haha
(2012-05-08, 01:53 PM)brad-t Wrote: [ -> ]I also don't think forking MyBB for these basic features is a really agreeable suggestion.

It is when a non-developer can do the work, then in 2 clicks, it's in the core.

Seriously, it doesn't need to be in the core. Not only are there areas within MyBB that need closer attention than a lightbox it is another library we'd have to keep up to date and maintain when, after 1.8, we will be putting all our efforts into 2.0 (which includes full modal box transitions).

So for me, that would be doubling the amount of work for our developers when we can be working on things that are desperately needed in 1.8.
Pages: 1 2