Title: XMLHTTP request (missing header on version &gt;=1.6.0)
Last modified: June 7, 2023

---

# XMLHTTP request (missing header on version >=1.6.0)

 *  Resolved [ptravassos](https://wordpress.org/support/users/ptravassos/)
 * (@ptravassos)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/xmlhttp-request-missing-header-on-version-1-6-0/)
 * Hi,
   In versions >= 1.6.0, I get an error:
 * [https://ibb.co/rbFSTJB](https://ibb.co/rbFSTJB)
 * Probably there was a change in the XMLHTTP request of the image in the main.js.
   Now, the request is not sending the access-control-allow-origin header. The main.
   js presented in the preview is from this plugin.
 * Works great until, 1.5.0.
 * Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Volkmar Kantor](https://wordpress.org/support/users/volkmar-kantor/)
 * (@volkmar-kantor)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/xmlhttp-request-missing-header-on-version-1-6-0/#post-16803033)
 * There was no change in the way the images or data are requested. But the image
   is now loaded into an canvas element. That may cause this issue.
   To make sure
   this is the issue, can you please manual download and install the version 1.5.0
   on your current installation? If this is not the problem, than the error would
   be visible also in 1.5.0.Beside, if you have an access-control-allow-origin error
   message you try to load an image from another domain/subdomain than the admin-
   page you run the script/plugin on. There should be no difference as this is a
   sign of an incorrect or customized installed wordpress. You may also add the 
   access-controll-allow-origin header for your images with the help of ie. an htaccess
   file.
 *  Thread Starter [ptravassos](https://wordpress.org/support/users/ptravassos/)
 * (@ptravassos)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/xmlhttp-request-missing-header-on-version-1-6-0/#post-16803181)
 * “Works great until, 1.5.0.”. Yes i manually installed the 1.5.0 to have it working
   correctly. The installation have de media stored on S3 and distributed with cloudflare.
   I said that because it’s an error that only apear from your v1.6+
 * Thank you.
 *  Plugin Author [Volkmar Kantor](https://wordpress.org/support/users/volkmar-kantor/)
 * (@volkmar-kantor)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/xmlhttp-request-missing-header-on-version-1-6-0/#post-16803221)
 * Then you should add the access-control-allow-origin header on S3 i guess.
 *  Thread Starter [ptravassos](https://wordpress.org/support/users/ptravassos/)
 * (@ptravassos)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/xmlhttp-request-missing-header-on-version-1-6-0/#post-16803628)
 * Adding the header solved the problem. If anyone found the same problem here is
   the link to add header on S3.
 * [https://repost.aws/knowledge-center/s3-configure-cors](https://repost.aws/knowledge-center/s3-configure-cors)
 * Thanks
 *  Plugin Author [Volkmar Kantor](https://wordpress.org/support/users/volkmar-kantor/)
 * (@volkmar-kantor)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/xmlhttp-request-missing-header-on-version-1-6-0/#post-16805855)
 * [@ptravassos](https://wordpress.org/support/users/ptravassos/) thank you for 
   sharing.
 * I will have a look if this may be possible in the future without setting the 
   header.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘XMLHTTP request (missing header on version >=1.6.0)’ is closed to new
replies.

 * ![](https://ps.w.org/crop-thumbnails/assets/icon.svg?rev=1228698)
 * [Crop-Thumbnails](https://wordpress.org/plugins/crop-thumbnails/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/crop-thumbnails/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/crop-thumbnails/)
 * [Active Topics](https://wordpress.org/support/plugin/crop-thumbnails/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/crop-thumbnails/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/crop-thumbnails/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Volkmar Kantor](https://wordpress.org/support/users/volkmar-kantor/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/xmlhttp-request-missing-header-on-version-1-6-0/#post-16805855)
 * Status: resolved