Title: Invalid Image
Last modified: August 12, 2019

---

# Invalid Image

 *  Resolved [costin06](https://wordpress.org/support/users/costin06/)
 * (@costin06)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/invalid-image-2/)
 * i’m trying to import some products from a csv file, but all the images links 
   are looking like this : [https://www.evomag.ro/image/show?image=1458050332rucsac.jpg&articleId=24422&width=500&height=500](https://www.evomag.ro/image/show?image=1458050332rucsac.jpg&articleId=24422&width=500&height=500)
   and even if it is a .jpg image , i still got the error message : Invalid image:
   Sorry, this file type is not permitted for security reasons.
    I’ve tried by editing
   wp-config.php to allow all file types for upload and still don’t work .

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

 *  [Thomas Shellberg](https://wordpress.org/support/users/shellbeezy/)
 * (@shellbeezy)
 * Automattic Happiness Engineer
 * [6 years, 8 months ago](https://wordpress.org/support/topic/invalid-image-2/#post-11828016)
 * Hey [@costin06](https://wordpress.org/support/users/costin06/),
 * The importer is trying to find the direct link to the image file; those are dynamically
   generated links.
 *  Thread Starter [costin06](https://wordpress.org/support/users/costin06/)
 * (@costin06)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/invalid-image-2/#post-11828066)
 * thank you for response. there is any other way to import this kind of links?
 *  [3 Sons Development](https://wordpress.org/support/users/3sonsdevelopment/)
 * (@3sonsdevelopment)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/invalid-image-2/#post-11846043)
 * Hi [@costin06](https://wordpress.org/support/users/costin06/),
 * If the images can be served from the current server without the endings, what
   you can do is edit the image URLs and just remove the end. Take this:
 * \`
    [https://www.evomag.ro/image/show?image=1458050332rucsac.jpg&articleId=24422&width=500&height=500](https://www.evomag.ro/image/show?image=1458050332rucsac.jpg&articleId=24422&width=500&height=500)`
 * and make it like this:
 * \`
    [https://www.evomag.ro/image/show?image=1458050332rucsac.jpg](https://www.evomag.ro/image/show?image=1458050332rucsac.jpg)`
 * If that doesn’t work, you may need to download the images from the current server
   and import them into your store’s media library. From there you can match the
   media files by the file names in your CSV file.
 * Give that a try and let me know if you run into trouble.
 * Cheers,
 *  [3 Sons Development](https://wordpress.org/support/users/3sonsdevelopment/)
 * (@3sonsdevelopment)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/invalid-image-2/#post-11868349)
 * Hi [@costin06](https://wordpress.org/support/users/costin06/),
 * It’s been a while since we heard from you, so I’m marking this thread resolved.
   Hopefully, you’ve been able to resolve this, but if you haven’t, please let open
   up a new topic and we’ll be happy to help out.
 * Best

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

The topic ‘Invalid Image’ is closed to new replies.

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

## Tags

 * [File Type](https://wordpress.org/support/topic-tag/file-type/)
 * [image](https://wordpress.org/support/topic-tag/image/)

 * 4 replies
 * 3 participants
 * Last reply from: [3 Sons Development](https://wordpress.org/support/users/3sonsdevelopment/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/invalid-image-2/#post-11868349)
 * Status: resolved