Title: SJPUK's Replies | WordPress.org

---

# SJPUK

  [  ](https://wordpress.org/support/users/sjpuk/)

 *   [Profile](https://wordpress.org/support/users/sjpuk/)
 *   [Topics Started](https://wordpress.org/support/users/sjpuk/topics/)
 *   [Replies Created](https://wordpress.org/support/users/sjpuk/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/sjpuk/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/sjpuk/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/sjpuk/engagements/)
 *   [Favorites](https://wordpress.org/support/users/sjpuk/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Image Sizes, WordPress](https://wordpress.org/support/topic/image-sizes-wordpress/)
 *  Thread Starter [SJPUK](https://wordpress.org/support/users/sjpuk/)
 * (@sjpuk)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/image-sizes-wordpress/#post-9550036)
 * Aha!
 * I found that there is a variable $content_width that can be set. I have never
   used this in themes before, clearly I have been doing things the hard way. So
   I looked through the themes ‘functions.php’ and found the following …
 * if ( ! isset( $content_width ) ) {
    $content_width = 1170; /* pixels */ }
 * I have now set $content_width to the desired size, and all seems to be ok :o)
 * Thank you for the reply, and it helped me understand that the width was being
   drawn from a setting that could not be set in the normal control panel for WP.
 * Thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Image Sizes, WordPress](https://wordpress.org/support/topic/image-sizes-wordpress/)
 *  Thread Starter [SJPUK](https://wordpress.org/support/users/sjpuk/)
 * (@sjpuk)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/image-sizes-wordpress/#post-9550006)
 * Hi,
 * Thanks for the quick reply!
 * Right, I just activated Twenty Sixteen, for a moment, just to get the img src,
   and i got this … which probably isn’t a right lot different, other than the width
   is 840px, which is probably the width being defined by the Twenty Sixteen theme
   somehow? When I have tinkered with themes in the past, I have never seen anything
   like this …
 *     ```
       <img data-attachment-id="813" data-permalink="https://www.stevenparkes.co.uk/2017/09/29/first-film-lomography-bellair/20170928-420/" data-orig-file="https://i0.wp.com/www.stevenparkes.co.uk/wp-content/uploads/2017/09/20170928-420-e1506970579938.jpg?fit=1170%2C591&ssl=1" data-orig-size="1170,591" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;Steven J Parkes&quot;,&quot;camera&quot;:&quot;Bellair&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1506428688&quot;,&quot;copyright&quot;:&quot;Steven J Parkes&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Courtyard" data-image-description="<p>Courtyard</p>
       " data-medium-file="https://i0.wp.com/www.stevenparkes.co.uk/wp-content/uploads/2017/09/20170928-420-e1506970579938.jpg?fit=300%2C152&ssl=1" data-large-file="https://i0.wp.com/www.stevenparkes.co.uk/wp-content/uploads/2017/09/20170928-420-e1506970579938.jpg?fit=840%2C425&ssl=1" class="wp-image-813 size-full below-entry-meta" src="https://i0.wp.com/www.stevenparkes.co.uk/wp-content/uploads/2017/09/20170928-420-e1506970579938.jpg?resize=840%2C424&ssl=1" alt="Courtyard" width="600" height="303">
       ```
   
    -  This reply was modified 8 years, 10 months ago by [SJPUK](https://wordpress.org/support/users/sjpuk/).
      Reason: incorrect html
    -  This reply was modified 8 years, 10 months ago by [SJPUK](https://wordpress.org/support/users/sjpuk/).
      Reason: incorrect html

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