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

Lack of Interest XenForo_AttachmentHandler_Abstract

Discussion in 'Closed Suggestions' started by Sniper, Jan 25, 2014.

  1. Sniper

    Sniper Active Member

    Some thoughts :)

    • Pass $contentData to getAttachmentConstraints - it should give the ability to dynamically set constraints by using the available params e.g. pass in category_id to fetch per category settings
    • Let the attachment handler generate thumbnails, it should allow additional handlers to have there own rules for generating thumbs with little effort, it would also be responsible for cleaning up files.
    xf_phantom likes this.
  2. xf_phantom

    xf_phantom Well-Known Member

  3. Sniper

    Sniper Active Member

    ah :( at least passing in $contentData would help.

    I don't mind all types to having the same thumbnails but even simple callbacks to generate/delete additional thumbs would help, we can then insert these into our own tables etc
    xf_phantom likes this.

Share This Page