Title: Photon &#8211; wrong image resize without caption
Last modified: September 1, 2016

---

# Photon – wrong image resize without caption

 *  Resolved [Daniel Lemes](https://wordpress.org/support/users/daniel_iceman/)
 * (@daniel_iceman)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/photon-wrong-image-resize-without-caption/)
 * Photon is incorrectly resizing post images on my site (column width is 800, but
   images are set to 640), but only if the image has no caption. With caption, the
   size is normal.
 * The problem is visible here [https://www.tutoriart.com.br/tutorial-falso-panning-no-photoshop-efeito-de-velocidade/](https://www.tutoriart.com.br/tutorial-falso-panning-no-photoshop-efeito-de-velocidade/),
   last two images. Any thoughts?
 * [https://wordpress.org/plugins/jetpack/](https://wordpress.org/plugins/jetpack/)

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

 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [9 years, 10 months ago](https://wordpress.org/support/topic/photon-wrong-image-resize-without-caption/#post-7672335)
 * It seems you’ve now deactivate the Photon module. Would you mind activating it
   again, so I can take a look at the issue?
 * Thanks!
 *  Thread Starter [Daniel Lemes](https://wordpress.org/support/users/daniel_iceman/)
 * (@daniel_iceman)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/photon-wrong-image-resize-without-caption/#post-7672389)
 * I had to do it because it’s really messing up some galleries using another plugin,
   but it’s reactivated now.
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [9 years, 10 months ago](https://wordpress.org/support/topic/photon-wrong-image-resize-without-caption/#post-7672404)
 * Thanks! Could you check your theme’s functions.php, and let me know what the `
   $content_width` value is?
 * You’ll also find this value near the top of the file, as explained here:
    [https://codex.wordpress.org/Content_Width](https://codex.wordpress.org/Content_Width)
 * If your theme doesn’t seem to include such a value, could you try to add the 
   following to the bottom of your theme?
 *     ```
       if ( ! isset( $content_width ) ) {
       	$content_width = 700;
       }
       ```
   
 * Let me know if it helps.
 *  Thread Starter [Daniel Lemes](https://wordpress.org/support/users/daniel_iceman/)
 * (@daniel_iceman)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/photon-wrong-image-resize-without-caption/#post-7672454)
 * It’s on functions.php:
 *     ```
       if ( ! isset( $content_width ) ) {
       	$content_width = 800;
       }
       ```
   
 * Same result.
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [9 years, 9 months ago](https://wordpress.org/support/topic/photon-wrong-image-resize-without-caption/#post-7672480)
 * Could you make sure that value isn’t set to `640` somewhere else in your theme,
   or try to overwrite the existing `$content_width` to `700` with that plugin:
   
   [https://wordpress.org/plugins/custom-content-width/](https://wordpress.org/plugins/custom-content-width/)
 * Let me know how it goes.
 *  Thread Starter [Daniel Lemes](https://wordpress.org/support/users/daniel_iceman/)
 * (@daniel_iceman)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/photon-wrong-image-resize-without-caption/#post-7672641)
 * That’s weird, even the plugin doesn’t do the trick. Keeps in 640.
 * Edit: now the plugin is working, Wp Super Cache was the problem. Probably my 
   theme has a 640 width somewhere. Thank you.

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

The topic ‘Photon – wrong image resize without caption’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [caption](https://wordpress.org/support/topic-tag/caption/)
 * [resize](https://wordpress.org/support/topic-tag/resize/)

 * 6 replies
 * 2 participants
 * Last reply from: [Daniel Lemes](https://wordpress.org/support/users/daniel_iceman/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/photon-wrong-image-resize-without-caption/#post-7672641)
 * Status: resolved