WordPress.org

Ready to get started?Download WordPress

Forums

image download from php files (1 post)

  1. ussher
    Member
    Posted 3 years ago #

    when adding an affiliate link into the wprobot article template with the options set to have the images downloaded and saved I ran into an issue.

    The affiliate link contained code that was like:
    img src="http://affiliate-provider-site.com/referencenumber/imagenumber?12345657987"

    which wp robot decided it was going to download and put it on my server.

    It saved it as: imagenumber?12345657987 which then translated to code:
    img src="http://mysite.com/wp-content/plugins/wprobot/images/imagenumber?12345657987"

    which obviously doesn't output as an image because it does not have an extension.

    WHAT I EXPECTED:
    I expected that html code inside the templates would not be subject to the download the image to the server pattern. I expected that templates would be output as is.

    Love to see this fixed either:
    a.) template code images left exactly as html reads regardless of the general setting "download images to server" OR
    b.) that images without a .jpg, .png, .gif, .whatever extension be analyzed so that the images don't break

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags