Title: Featured image
Last modified: August 30, 2016

---

# Featured image

 *  [vamban](https://wordpress.org/support/users/vamban/)
 * (@vamban)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/featured-image-256/)
 * 1. I am planning to setup featured image via bulk import for pages. How can i
   do that?
 * 2. Using your manual i have noticed that able to setup template via bulk import
   by using custom field key “_wp_page_template”
 * How do i assign the template for the custom field key?
 * Is it something like custom-page-template.php or what?
 * [https://wordpress.org/plugins/really-simple-csv-importer/](https://wordpress.org/plugins/really-simple-csv-importer/)

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

 *  Plugin Author [Takuro Hishikawa](https://wordpress.org/support/users/hissy/)
 * (@hissy)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/featured-image-256/#post-6437180)
 * 1. You can use `post_thumbnail` to do that. The value is a uri or path of the
   post thumbnail (E.g. [http://example.com/example.jpg](http://example.com/example.jpg)
   or /path/to/example.jpg).
 * 2. You are right, the value is a file name (E.g. page-wide.php).
 *  Thread Starter [vamban](https://wordpress.org/support/users/vamban/)
 * (@vamban)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/featured-image-256/#post-6437392)
 * Hi
 * I did tested used post_thumbnail to setup featured image. But it creates duplicate
   images. How can i overcome this issue?
 *  [bearvv](https://wordpress.org/support/users/bearvv/)
 * (@bearvv)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/featured-image-256/#post-6437396)
 * I also got problem for featured image.
 * If I use uri(e.g. [http://www.site.com/image.jpg](http://www.site.com/image.jpg)),
   it shows:
 * Could not get remote file
 * If I use path, the media library just show a broken image.
 * Any possible reason to explain why the featured image import is not working? 
   Thanks a lot.
 *  Plugin Author [Takuro Hishikawa](https://wordpress.org/support/users/hissy/)
 * (@hissy)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/featured-image-256/#post-6437397)
 * > vamban
 * Duplicating images is by design, but I’ll fix this issue in next release.
    [https://github.com/hissy/rs-csv-importer/issues/41](https://github.com/hissy/rs-csv-importer/issues/41)
 * > bearvv
 * Your problem is either 1 or 2 or both.
 * 1. Your server could not get remote image.
    2. Your server could not put images
   in wp-content directory.
 *  [bearvv](https://wordpress.org/support/users/bearvv/)
 * (@bearvv)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/featured-image-256/#post-6437399)
 * Thanks Takuro Hishikawa.
 * Still can’t work for uri, need more time to check what’s wrong with my server.
 * If I use path, e.g. /path1/folder/image1.jpg
 * The script just put all the resize image at /path1/folder/ e.g. /path1/folder/
   image1-150×150.png ….
 * I also checked the link in the media library, it’s shows:
 * [http://www.mysite.com/wp-content/uploads//path1/folder/image1.jpg](http://www.mysite.com/wp-content/uploads//path1/folder/image1.jpg)
 * which is totally not correct. Since the script doesn’t move the images to the
   uploads folder.
 *  [bearvv](https://wordpress.org/support/users/bearvv/)
 * (@bearvv)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/featured-image-256/#post-6437400)
 * I finally found a solution for path. Just leave my solution here, it might help
   other people.
 * I need to put all the images under the wordpress upload folder, e.g.
 * wp-content/uploads/2015/08
 * It works!

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

The topic ‘Featured image’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/really-simple-csv-importer_c5cdac.
   svg)
 * [Really Simple CSV Importer](https://wordpress.org/plugins/really-simple-csv-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-csv-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-csv-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-csv-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-csv-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-csv-importer/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [bearvv](https://wordpress.org/support/users/bearvv/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/featured-image-256/#post-6437400)
 * Status: not resolved