• Say for example the full size images in my database are 1000 pixels, along with their thumbs of 150, 300, and 500 pixels.

    If I decide I want to replace the full size 1000 pixel versions, with larger 2000 pixel versions, yet keeping the thumbnail sizes the same. Is there a way to do that, which will not screw up any of the articles I have with thumbnails already posted in them?

Viewing 5 replies - 1 through 5 (of 5 total)
  • As long as they are the same file name you can replace then with out any issues.

    Make sure you back up with site with something like vaultpress.com before you start any type of project like this.

    Thread Starter mxmaniac

    (@mxmaniac)

    So this is interesting. When I do that, the full size media does indeed seem to change, at least when I go to “Page Info”, in firefox, then the media tab, it shows the image is indeed the larger version.

    However wordpress itself still thinks its the original dimensions, and lists them in the menus. Is there any way to get wordpress to realize the new dimensions to avoid confusion?

    I actually had tried this myself before even asking the question, but had thought it didn’t work because of what wordpress was reporting.

    Thanks.

    Unfortunately it’s not going to change the file size on the the page. It’ll only change the file.

    you could update the entries for filesizes in the database using MySQL that should cause it to update the corresponding attributes in the generated views.

    I have a small plugin on GitHub that rebuilds your image meta data. As always, back up your DB prior to running.

    https://github.com/WPRanger/wpr-rebuild-meta-data

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can I replace images in DB with larger versions without breaking site?’ is closed to new replies.