Title: Images, srcset
Last modified: August 31, 2016

---

# Images, srcset

 *  Resolved [zanjoho](https://wordpress.org/support/users/zanjoho/)
 * (@zanjoho)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/images-srcset/)
 * Hi,
 * I recently installed Duplicator plugin to duplicate my website to my local environment.
   
   The first issue I have now is that no images at all are showing. I discovered
   its because the srcset is the issue.
 * Here is example of srcset for an image.
 * `srcset="http://localhost:8000/fzduplicator/C:/wamp/www/fzDuplicator/wp-content/
   uploads/2016/01/1-9-150x150.jpg 150w, http://localhost:8000/fzduplicator/C:/wamp/
   www/fzDuplicator/wp-content/uploads/2016/01/1-9-160x160.jpg 160w, http://localhost:
   8000/fzduplicator/C:/wamp/www/fzDuplicator/wp-content/uploads/2016/01/1-9-320x320.
   jpg 320w"`
 * It should be:
    `http://localhost:8000/fzduplicator/wp-content/uploads/...`
 * **/C:/wamp/www/fzDuplicator** Shouldnt be there!
    How can I fix this problem?
 * Also, no links are working.
    I just get: Not Found The requested URL /fzduplicator/
   uncategorized/2016/02/16/test/ was not found on this server.
 * Thank you in advance.
 * Sincerely,
    Z
 * [https://wordpress.org/plugins/duplicator/](https://wordpress.org/plugins/duplicator/)

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

 *  Thread Starter [zanjoho](https://wordpress.org/support/users/zanjoho/)
 * (@zanjoho)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/images-srcset/#post-7151467)
 * Am I doing something wrong? Why no respone? 🙁
 *  Thread Starter [zanjoho](https://wordpress.org/support/users/zanjoho/)
 * (@zanjoho)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/images-srcset/#post-7151547)
 * I “fixed” it on my own after 21 hour no support 😛
 * The srcset fix is just a quickfix for local development version (since the prob
   is only here).
    I just stopped wp from using srcset:
 *     ```
       // Clean the up the image from wp_get_attachment_image()
       add_filter( 'wp_get_attachment_image_attributes', function( $attr )
       {
           if( isset( $attr['sizes'] ) )
               unset( $attr['sizes'] );
           if( isset( $attr['srcset'] ) )
               unset( $attr['srcset'] );
           return $attr;
        }, PHP_INT_MAX );
       // Override the calculated image sizes
       add_filter( 'wp_calculate_image_sizes', '__return_false',  PHP_INT_MAX );
       // Override the calculated image sources
       add_filter( 'wp_calculate_image_srcset', '__return_false', PHP_INT_MAX );
       // Remove the reponsive stuff from the content
       remove_filter( 'the_content', 'wp_make_content_images_responsive' );
       ```
   
 * The link problem was because of WAMP, i had to enable rewrite_module.
    WAMP -
   > Apache -> Apache Modules -> rewrite_module enabled!
 * Sincerely,
    Z
 *  Thread Starter [zanjoho](https://wordpress.org/support/users/zanjoho/)
 * (@zanjoho)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/images-srcset/#post-7151548)
 * Resolved
 *  [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * (@corylamleorg)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/images-srcset/#post-7151580)
 * Thanks for the update! With the free version I don’t always get to the tickets
   right away… glad you got it going…

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

The topic ‘Images, srcset’ is closed to new replies.

 * ![](https://ps.w.org/duplicator/assets/icon-256x256.png?rev=2906985)
 * [Duplicator - Backups & Migration Plugin - Cloud Backups, Scheduled Backups, & More](https://wordpress.org/plugins/duplicator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicator/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicator/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Cory Lamle](https://wordpress.org/support/users/corylamleorg/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/images-srcset/#post-7151580)
 * Status: resolved