Support » Fixing WordPress » Strange image size bug

  • Resolved gvperkins


    I have created a WordPress site with a custom theme on my local machine, I am using the add_image_size function to create custom image sizes for various parts of the website, one being a custom photo gallery.

    On my local machine and 3 others in my office they site works perfect. When I copied the site to the live server today (upload all files, find and replace on the DB) the website is showing the images at full resolution rather than the custom sizes.

    The code and DB are exactly the same (apart from the urls) but when inspecting the images the live site is calling the full image for example image-1.jpg where the local copy is calling image-1-300×140.jpg, all the image sizes are in the folders and I have no idea why this is happening.

    i have tried disabling all plugins, checked, browser cache etc..

    I am using the Pods Framework plugin to create the photo gallery.

    Any help would be greatly appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Can you post a link so we can see the html output?

    Live site:

    <a class="lbp_primary cboxElement gallery" rel="lightbox[gallery]" href="">
                    <img src="http://xxx/wp-content/uploads/2013/04/Ref-160512_00311.jpg" title="Image 39" alt="Image 39">

    Local site

    <li>    <a class="lbp_primary cboxElement gallery" rel="lightbox[gallery]" href="http://localhost/wp-content/uploads/2013/04/Ref-160512_00311-715x320.jpg">
                    <img src="http://localhost/wp-content/uploads/2013/04/Ref-160512_00311-127x129.jpg" title="Image 39" alt="Image 39">

    I cant send a link as it is still in development for a client.


    Actually fixed this by manually deleting all the thumbnails and regenerating them.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Strange image size bug’ is closed to new replies.