• Hi,

    I have made a site where a user can login and upload images. But i am using Azure file storage to store the images, which i am using “Windows Azure Storage for WordPress” plugin to link to.
    I am able to upload images and they are stored in azure, but when I click on the thumbnail it goes to 404 not found as it is trying to look in the /wp-content/uploads directory.
    I have changed the following line in bwbps-wp-uploader.php:
    $this->json[‘image_fullurl’] = $uploads[‘baseurl’] . ‘/’ . $this->json[‘image_url’]; to
    $this->json[‘image_fullurl’] = ‘https://somewebiste.com/images/’ . $this->json[‘image_url’];

    When I now upload an image and click on the thumbnail the FIRST time it goes to the azure storage but after that tries going to /wp-content/uploads.

    If I look at the uploaded image in the media library the URL for the image is set to the azure storage.

    Any ideas or is there a bug in the plugin???

  • The topic ‘Redirect to Azure’ is closed to new replies.