WordPress.org

Forums

Image Teleporter
[resolved] PDF support? Other media? (7 posts)

  1. justinjwilson
    Member
    Posted 1 year ago #

    I was wondering if this plugin could be altered to search your posts/pages and download and replace links to external PDF files as it does for images. I have hundreds of PDF links from an old site, and I'd hate to have to try to update them all manually. Any help? :)

    https://wordpress.org/plugins/image-teleporter/

  2. Trisha Cupra
    Member
    Plugin Contributor

    Posted 1 year ago #

    I suggest you use the plugin called Search Regex to do a find/replace of all your PDF links, to correct the links.

    {I'm assuming you have all your PDF files and can move them to the new site, rather than have to download a copy of every one on your old site.}

  3. amfriedman
    Member
    Posted 11 months ago #

    @Trisha, the common answer of "No" to your assumption is precisely what the Image Teleporter plugin is designed to fix. The files are NOT in justinjwilson's possession, they all exist on the source website. The Image Teleporter "sideloads" them (copies each asset file) to the destination WordPress website. I think justinjwilson was asking if the plugin can be improved to sideload PDF files just as it already does (quite well) for image files.

    I have hundreds of remotely-linked PDFs to migrate so I am also looking for this exact improvement.

  4. Trisha Cupra
    Member
    Plugin Contributor

    Posted 11 months ago #

    Actually, as the designer of Image Teleporter, I can say that Image Teleporter was precisely designed to fix the problem of needing to import images.

    I have no plans to develop a PDF importer any time in the future, personally.

    So I stand by my suggestion to upload all the PDFs to the Media Library and try to use Search Regex to edit all the links at once.

  5. Trisha Cupra
    Member
    Plugin Contributor

    Posted 11 months ago #

    Also, it should go without saying, but the Image Teleporter and similar plugins can be used for nefarious purposes. I hope that all our users are using it to import images that they themselves own legally, such as their photos in their own Flickr stream or from an old website they own.

    Adding the ability to import PDF files would be opening the doors to the pirate ship wide open. So it's not on the roadmap.

  6. amfriedman
    Member
    Posted 10 months ago #

    Haha, sorry if I came off as a presumptuous boob. I'm actually helping a client of mine migrate to a WordPress-powered site and they have a library of hundreds of PDFs on the old site, which is why I would love to see the Image Teleporter be able to sideload these. I hacked the plugin and made it happen, but I didn't take the time to make my code ready for prime time. Personally, I don't see image or PDF sideload capability as all that different in terms of nefarious potential. Anyhow, an excellent and powerful plugin, I can't thank you enough for designing it.

  7. Blue Medicine Labs
    Member
    Plugin Author

    Posted 9 months ago #

    Perhaps using https://wordpress.org/plugins/add-from-server/ would get those PDF files into your media library, and then use Search Regex as suggested.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Image Teleporter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic