• Resolved Jagan Krishnaraj

    (@jagan-krishnaraj)


    Dear Plugin Author,

    I went through forum rules & first few pages of support, I couldn’t find this topic discussed so far.

    I am using most recent version of WordPress & recent version of the plugin.

    I mapped this page
    https://responsivecv.com/mobile-resume-creator-with-domain-name-print-version/

    to a domain
    https://qrmobileresume.com

    Although the mapping worked perfectly,
    The domain qrmobileresume.com doesn’t pick up any of the images attached. But the images load perfectly fine in the default page at the main domain ie responsivecv.com

    Images are available under the server directory of responsivecv.com. mapped page is trying to look the images under qrmobileresume.com

    What am I doing wrong?
    This basic feature I couldn’t get it working.
    Your help is greatly appreciated.

    Thank you

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author matthias.wagner

    (@matthiaswagner)

    hy,
    we had this case once. it turned out, that the hosting had a feature activated to prevent using images from different domains than those configured. that generated a htaccess rule which blocked image access from other domains.
    i can not remember the name of that feature, but you could look for that in your hosting environment or check your htaccess if you are familiar with that.

    matt

    Thread Starter Jagan Krishnaraj

    (@jagan-krishnaraj)

    Thank you for the quick response.

    I found out about the issue.

    Wordpress sets attributes srcset custom attribute that has wrong image URLs, (although src attribute have the right url)

    This is sample
    <img src="https://responsivecv.com/wp-content/uploads/2020/06/Mobile_Resume_App-min-700x680.png" alt="Mobile Resume app" class="wp-image-1528580" width="350" height="340" srcset="https://qrmobileresume.com/wp-content/uploads/2020/06/Mobile_Resume_App-min-700x680.png 700w, https://qrmobileresume.com/wp-content/uploads/2020/06/Mobile_Resume_App-min-250x243.png 250w, https://qrmobileresume.com/wp-content/uploads/2020/06/Mobile_Resume_App-min-768x746.png 768w, https://qrmobileresume.com/wp-content/uploads/2020/06/Mobile_Resume_App-min-120x117.png 120w, https://qrmobileresume.com/wp-content/uploads/2020/06/Mobile_Resume_App-min.png 800w" sizes="(max-width: 350px) 100vw, 350px">

    I disabled the custom attributes with the following function.

    function disable_wp_responsive_images() {
    	return 1;
    }
    add_filter('max_srcset_image_width', 'disable_wp_responsive_images');

    Then the images started loading fine in the mapped domain.

    I believe this issue comes after upgrading to a recent version of WordPress that has a new block editor.

    Thank you for your quick support.
    Your plugin is very helpful.

    Chris

    (@marketeerland)

    I disabled the custom attributes with the following function:

    function disable_wp_responsive_images() {
    return 1;
    }
    add_filter(‘max_srcset_image_width’, ‘disable_wp_responsive_images’);

    Hello Jagan. Thanks for posting the solution, as I’m having the same issue. Can you tell me, where did you disable the custom attributes? Was this in your theme’s custom CSS?

    Thread Starter Jagan Krishnaraj

    (@jagan-krishnaraj)

    You have to put that code in functions.php on the source domain site.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mapped page does not show images & pick page template’ is closed to new replies.