1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

attachment restrictions

Discussion in 'XenForo Pre-Sales Questions' started by Alice, Sep 12, 2010.

  1. Alice

    Alice Active Member

    I was just trying to add a noavatar resource and found that the attachment restriction has been halved to 512Kb, bit annoying since I enquired about an increase not so long ago but that is up to you guys here. Can we have .rar file extensions allowed please, it is getting ridiculous attaching larger files, I have to make split .rars and then zip the split .rars, it's getting to be a real nuisance to be honest.
    CyberAP and Ra like this.
  2. Kier

    Kier XenForo Developer Staff Member

    We really need to implement per-filetype limits - I've seen four one-megabyte images attached already today.

    I'll make it a priority item.
    spider and CyberAP like this.
  3. Alice

    Alice Active Member

    Really, that's infuriating, the people posting such images would have a fit if it happened on their sites, how rude, you guys should be ashamed of yourselves for behaving like that, how rude.
  4. turtile

    turtile Well-Known Member

    Are you going to add automatic file resizing?  Let's say I only want to store files that are 725px.  If a user uploads a 3000x2000 file, the software will automatically resize it to 725.
  5. Elizabeth

    Elizabeth Well-Known Member

    What about people who don't have winrar? I always use winrar and use it to make mine a zip extension for others because I can't assume others have paid for winrar just because I have. You know you can do that, I know it's an extra click but it does help those who don't have that piece of software.  
  6. 0ptima

    0ptima Well-Known Member

    This and per user group is a must.
    The Sandman likes this.
  7. Ra

    Ra Active Member

    7zip is free and archives better than .rar
    and it opens everything including .rar
    i use it for many years
    adding files of more than 140kb is killing any forum
  8. Ingenious

    Ingenious Well-Known Member

    Hang on a minute folks. Not everyone is internet-savvy and it is not uncommon for digital cameras to churn out 3-4Mb images. I would prefer to see an overall limit per user, rather than per file. Otherwise two things happen. One, members who just don't know how to resize a jpg give up, stop sharing and your forum starts to die. Two, you get endless posts or PMs asking you, how do you attach an image it says it's too big - which generates more time/hassle than an aggressive file limit is supposed to stop :)
    erich37 and turtile like this.
  9. That One Guy

    That One Guy Member

    One of the main things I'm hoping to do with the forum I want to create is to allow large photo files (mainly landscapes of a country community being created from a 5000 acre ranch). I'd prefer to be able to set overall limits or limit the number of photos per user as well.

    Either way I'm more impressed with this product than any of the others I've looked at.
  10. turtile

    turtile Well-Known Member

    I would guess 75%+ of my users don't know how to resize images.
    erich37 likes this.
  11. Elizabeth

    Elizabeth Well-Known Member

    And while 7zip is free, like turtile mentioned, most of those same people don't know how to use an unzipper of any kind. Or if they do, they use the one that comes with windows. At least if it's a zip file, they stand a chance of unzipping it with windows. 

    Doctor likes this.
  12. "Mark"

    "Mark" Member

    I run an image intensive forum, and I have the limit set to 10 MB. That handles the 3 and 4 MB images common off digital cameras fine.

    And even with some 250,000 images/attachments over the past three years, it's only 40 something GB of disk space used (the forum serves approximately 850k attachment and attachment thumbs daily, making up about 1.3TB of transfer monthly). Is size limiting really necessary these days?
  13. 0ptima

    0ptima Well-Known Member

  14. 0ptima

    0ptima Well-Known Member

    Whats your backup strategy? How often do you backup everything up?
    Abomination likes this.
  15. Tigratrus

    Tigratrus Well-Known Member

    Just to keep it on the radar :) I still say it's FAR better to do the image resize ON USER's machine via the upload tool rather than resizing on the server. As mentioned above, the vast majority of non-internet savvy folks have no clue how to resize an image and they just get frustrated by upload limits and having it take fooooorever to upload if you have your limits set high.

    Images are REALLY important since so many folks have high Megapixel cameras in their smartphones now, and they often just want to post an image and a few bits of text. One of the jobs of a modern forum system IMO should be to make that as painless as possible. It would also save a ton of bandwidth and storage for admins/forum owners ;).

    I know Kier said he was going to look at plupload, it would allow user machine resize to be used, and it's by far the best uploader I've seen... And very jQuery friendly to boot! :)
  16. "Mark"

    "Mark" Member

    I have a cron job on the backup machine that first does a MySQL dump, then an rsync. To copy the data.

    I have all my tables as InnoDB (with a couple as MEMORY for who's online and flood control). Having all my tables as InnoDB allows me to use the --single-transaction parameter to mysqldump. This allows MySQL to take a consistent snapshot without downtime or delay. I also pipe mysqldump through gzip to reduce the disk writes, which makes the writing of the backup, then the rsync faster.

    The rsync will occasionally get new attachments that the data set doesn't know about, and occasionally an avatar might be lost (old one gets deleted after the new one is created; they have unique filesnames), but that's it.

    The backup is approximately 500 MB (450 MB of which is the compressed MySQL dump).

    The backup is run at daily approximately 5 AM EDT/EST, as that's when traffic is the lowest.
  17. Alice

    Alice Active Member

    Very good point honey, hmmm, I have used WinRar to zip files but the split function doesn't work on the version I have when I archive to zip file extensions, no need for sarcasm with the extra click comment!
  18. Elizabeth

    Elizabeth Well-Known Member

    Alice, wasn't meant as sarcasm, sorry you read it that way, just a statement cause it's true, it does take an extra click. However, I always split mine before zipping so I guess I never ran into that issue.
  19. Alice

    Alice Active Member

    Hmmmm, snippy me, sorry honey, bad short sleep makes Alice crabby, sorry sweetie. :(
  20. Elizabeth

    Elizabeth Well-Known Member

    I can understand lack of sleep. Been there too many times myself. I'm sorry it just came across as harsh. Sometimes the written word is harder to express than if you could see my face and expressions. Liz

Share This Page