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

Change embedded hotlinked images to attachments

Discussion in 'XenForo Suggestions' started by Brandon Sheley, Jan 24, 2013.

  1. Brandon Sheley

    Brandon Sheley Well-Known Member

    I've seen mods for other forums that would take any images not hosted on your site, and upload them as an attachment to prevent hotlinking.
    Is there a mod for xenforo that does this?

    For example if a user uploaded an image to photobucket, I'd like a cron to run that would grab that image, upload it to my forum via attachments and replace the image in the post with the one hosted on my forum.

    Amin Sabet, StonePilot, AndyB and 9 others like this.
  2. Adam Howard

    Adam Howard Well-Known Member


    Yes, please :)
  3. Tis-food

    Tis-food Member

    Please too:)
    Adam Howard likes this.
  4. Digital Doctor

    Digital Doctor Well-Known Member

    I have suggested this before.
    My suggestion was to use the hotlinked image, but if that expires or is removed, then use the downloaded one.
  5. Puntocom

    Puntocom Well-Known Member

    This is very useful.
  6. Mouth

    Mouth Well-Known Member

    Unless the site hosting the image check it's logs and see's requests originating from your site, and you are the 'opposition', so they replace the image with one that denigrates your site or invites everyone to come to their site. Just saying ....... ;)
    Brandon Sheley likes this.
  7. Brandon Sheley

    Brandon Sheley Well-Known Member

    I would love knowing that all images posted on my site, were hosted by my site.

    I hope we can get some developer input on this, maybe an idea on what it would cost if it came to that?
    Adam Howard and Mouth like this.
  8. Mouth

    Mouth Well-Known Member

    Not as clean as an XF integrated solution, but there's a few GPL image uploading scripts around that you could put on your site and tell members to use that instead?
  9. Brandon Sheley

    Brandon Sheley Well-Known Member

    I've thought about that, but I really don't want the members to do anything other then what they are doing now.
    Adam Howard likes this.
  10. topcat

    topcat Well-Known Member

    This would be great, I have recently made a request got something similar,

    Would be even better if all current images could be uploaded too
  11. Biker

    Biker Well-Known Member

    You could run into some issues if the image is copyrighted. Linking back to the original image as part of the post is generally acceptable, but downloading it for upload to your server could indeed land you in some hot water.
    Puntocom likes this.
  12. topcat

    topcat Well-Known Member

    Usually if sites are bothered they will watermark images. Or disable right click.

    Most images are taken from google images anyway

    In any case is already possible to upload an image as an attachment, this just makes it easier
  13. whyweprotest

    whyweprotest Well-Known Member

    I've already asked someone to commission this addon, no quote yet -- but interested to hear who's up for splitting costs. Some conditions: addon is released free and open on xenforo. That's all :)
  14. topcat

    topcat Well-Known Member

    I'd help out, obviously dependant on how much :)

    Also would need to know more details of the exact addon
    whyweprotest likes this.
  15. Deathstarr

    Deathstarr Active Member

  16. erich37

    erich37 Well-Known Member

  17. Forsaken

    Forsaken Well-Known Member

  18. Mick West

    Mick West Well-Known Member

    Brandon Sheley and Puntocom like this.
  19. Puntocom

    Puntocom Well-Known Member

    Is it working well? I need this but I'm afraid to destroy data and get no notice.
  20. BamaStangGuy

    BamaStangGuy Well-Known Member

    I have it working on a near 1 million post forum with many external links with no problem.

Share This Page