• Resolved Pewit

    (@pewit)


    I migrated my wordpress/bbpress website from one hosting company to another and it all seems to work apart from images no longer show up in some older posts.

    The links to the images in the source code is correct but the lazyload no longer seems to be working. The page linked above is an example.

    I have run Bulk Smush a number of times and there are errors with some images files but not the ones in the example code below.

    I still have access to the original files on the old host if that helps.

    <div id="attachment_9902" style="width: 310px" class="wp-caption alignnone"><a href="/wp-content/uploads/2013/09/18358651_10154615562351169_8992858021010353147_o.jpg" rel="nofollow"><img aria-describedby="caption-attachment-9902"   alt="" width="300" height="257" data-src="/wp-content/uploads/2013/09/18358651_10154615562351169_8992858021010353147_o-300x257.jpg" class="wp-image-9902 size-medium lazyload" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" /><noscript><img aria-describedby="caption-attachment-9902" class="wp-image-9902 size-medium" src="/wp-content/uploads/2013/09/18358651_10154615562351169_8992858021010353147_o-300x257.jpg" alt="" width="300" height="257" /></noscript></a></p>
    <p id="caption-attachment-9902" class="wp-caption-text">Para sailors at the WMG</p>
    </div>
    • This topic was modified 2 years, 11 months ago by Pewit.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @pewit,

    Thank you for reaching out to us.

    I was able to notice the issue. Since you mentioned the problem shows up after the migration, does the theme or one of the plugins you are using need to be re-configured?

    Please re-configure your theme and plugins and check if that resolves the issue.

    Let us know how that goes.

    Kind Regards,
    Nebu John

    Thread Starter Pewit

    (@pewit)

    I deactivated all Plugins apart from Smush with no improvement.

    I then deactivated Smush and the images appeared – although the captions were improperly formatted.

    Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @pewit

    Smush doesn’t change captions/captions markup unless there’s some sort of unexpected conflict. But if you made no changes to the site configuration (e.g. didn’t change theme or there were no significant updates) and the only thing was migration – I mean between “working” and “not working” state – then this shouldn’t be happening either.

    In such cases two of the most common things that cause similar issues (and may be causing many other issues for that matter) are usually:

    – while site was being migrated, some asset optimization (like JS/CSS optimization) features were kept active on site

    – and/or the site was migrated along with some on-site (as in: performed by some plugin or theme feature) cache and/or server side cache on source host full enabled

    In both cases that can cause incorrect paths/URLs to be “stuck” within such optimized/cached assets, resulting in various issues (including Smush Lazy Load).

    In some cases – that’s rare but it happens – incorrect paths/URLs may also be stuck in some DB records too, though that’s mostly the case if the domain has also been changed or if the site was migrated first to some “temporary URL” and then had original domain “re-added” to it.

    I would suggest trying these steps then (in this order):

    1. diable lazy Load option in Smush and deactivate plugin (if Smush is disabled – activate it and disable Lazy Load option and deactivate the plugin again)

    2. if there’s any cache (plugin on site, cache on new server, CDN such as CloudFlare or similar) – flush it all entirely and temporarily disable

    3. if there’s any JS/CSS optimization feature enabled – look for some option to “re-generate” such optimized assets;

    4. if you are using some sort of “builder” theme/plugin, see if there’s any option to re-fresh/re-generate its CSS assets and do it (for example, in Elementor, there’s an option in “Tools” to do this)

    5. then go to “Settings -> Permalinks” page in site’s back-end and just re-save permalinks settings (as they are, no need to make changes)

    6. then re-enable Smush plugin and re-enable Lazy Load;

    If it works at this point, then re-enable previously disabled caches and flush them again and it should be fine.

    If still nothing, let us know here, please.

    Best regards
    Adam

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @pewit ,

    We haven’t heard from you for a while now, so it looks like you don’t have more questions for us.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Migrated site images not showing’ is closed to new replies.