Title: Hurix's Replies | WordPress.org

---

# Hurix

  [  ](https://wordpress.org/support/users/hurix/)

 *   [Profile](https://wordpress.org/support/users/hurix/)
 *   [Topics Started](https://wordpress.org/support/users/hurix/topics/)
 *   [Replies Created](https://wordpress.org/support/users/hurix/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/hurix/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/hurix/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/hurix/engagements/)
 *   [Favorites](https://wordpress.org/support/users/hurix/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic Featured Image] attachment_id is not found when database is imported](https://wordpress.org/support/topic/attachment_id-is-not-found-when-database-is-imported/)
 *  [Hurix](https://wordpress.org/support/users/hurix/)
 * (@hurix)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/attachment_id-is-not-found-when-database-is-imported/#post-4738064)
 * If you have this issue, please read this from link begin to bottom: [http://codex.wordpress.org/Changing_The_Site_URL#Important_GUID_Note](http://codex.wordpress.org/Changing_The_Site_URL#Important_GUID_Note)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic Featured Image] attachment_id is not found when database is imported](https://wordpress.org/support/topic/attachment_id-is-not-found-when-database-is-imported/)
 *  [Hurix](https://wordpress.org/support/users/hurix/)
 * (@hurix)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/attachment_id-is-not-found-when-database-is-imported/#post-4738063)
 * Debugging it, found it uses
 *     ```
       $this->get_image_id( site_url() . $dfiImageFull );
       ```
   
 * in dynamic-featured-image.php:line 681+685
 * to read the ID of the image. This will fail since the old database holds the 
   old site_url as part of the wp_posts.guid.
 * I think the fast and selfmade solution for non-developers is reuploading the 
   images on the new server and relinking them as featured images to the posts of
   your desire.
 * I would highly recommend the authors of this plugin to store the ID of the attachment
   within the serialised custom post meta dfiFeatured or think of something more
   fail-proof.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Dynamic Featured Image] attachment_id is not found when database is imported](https://wordpress.org/support/topic/attachment_id-is-not-found-when-database-is-imported/)
 *  [Hurix](https://wordpress.org/support/users/hurix/)
 * (@hurix)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/attachment_id-is-not-found-when-database-is-imported/#post-4738061)
 * I can confirm this. It gets the thumb and full URI but has [“attachment_id”]=
   > NULL

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