Title: Posts image size
Last modified: August 24, 2016

---

# Posts image size

 *  [gbilelo](https://wordpress.org/support/users/gbilelo/)
 * (@gbilelo)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/posts-image-size/)
 * Hello!
 * I would like to know if it is possible to change the image size on posts. Horizontal
   images are too small for me.
 * Thank you very much!

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

 *  Theme Author [modernthemesnet](https://wordpress.org/support/users/modernthemesnet/)
 * (@modernthemesnet)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/posts-image-size/#post-6070650)
 * Do you mean on a gallery page when they open up inside the lightbox?
 *  [flyingfoxphotography](https://wordpress.org/support/users/flyingfoxphotography/)
 * (@flyingfoxphotography)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/posts-image-size/#post-6070762)
 * This is a make or break thing for me too. If I can make lightbox images much 
   larger (it’s a portfolio site!) I’ll upgrade to pro. If not, I need to find another
   theme. I REALLY like Gridsby though, suggestions?
 *  Theme Author [modernthemesnet](https://wordpress.org/support/users/modernthemesnet/)
 * (@modernthemesnet)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/posts-image-size/#post-6070763)
 * flyingfoxphotography,
 * You can do this with some slight modification of the theme, however, Gridsby 
   and Gridsby Pro automatically reduce the sizes of images in the gallery to help
   reduce load time.
 * There is an option to “Direct Link to Post” instead of the lightbox, which can
   display you full size images.
 *  [lifangda01](https://wordpress.org/support/users/lifangda01/)
 * (@lifangda01)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/posts-image-size/#post-6070764)
 * I really like Gridsby too but I too think gallery images are small. I modified
   the css file to get the gallery wall pictures bigger but I don’t know how to 
   make pictures bigger when you click into it (via Lightbox). Any ideas?
 *  [inphra](https://wordpress.org/support/users/inphra/)
 * (@inphra)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/posts-image-size/#post-6070769)
 * I tried modifying the exact code mentioned in the CSS file as well as the functions.
   php file to adjust from 600 to (in my case) 1280px.
 * There is something that’s overriding the image over and over again and I cannot
   figure it out!
 * For a portfolio site, high res images are a must. 600px is just way too small.
   Facebook does an amazing job at scaling their images correctly when you optimize
   for 2048 on the long edge.
 * I’d totally upgrade to pro but not being able to effectively increase the size
   of the lightbox viewer is a real drawback and I don’t see any threads addressing
   the issue in full.
 * Again, changing either of these did not make a difference when viewing via lightbox.
   And yes, I regenerated the thumbs. In fact, I nuked all the images and re-uploaded
   them again via Media Manager and it looks like the theme tells wordpress to create
   a corresponding thumb for whatever you dictate in the style.css and/or functions.
   php file. i.e. if I edited to create thumbs 960×960, it would not only create
   the thumbs dictated in the Media settings panel (3 size) but it will include 
   a 4th thumbnail of 960×960 which is coming at request of the Gridsby theme.
 * //style.css
 *     ```
       div.lightbox-content {
           margin: 0 auto;
           max-width: 1280px;
           width: 100%;
       }
       ```
   
 * //functions.php
 *     ```
       add_theme_support( 'post-thumbnails' );
       	add_image_size( 'gridsby-gallery-thumb', 450 );
       	add_image_size( 'gridsby-gallery-full', 1280 );
       ```
   
 *  [inphra](https://wordpress.org/support/users/inphra/)
 * (@inphra)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/posts-image-size/#post-6070771)
 * Big thanks to bounpasith for finding the last piece of the puzzle.
 * 1. Modify line 53 in functions.php:
 * e.g
 *     ```
       add_image_size( 'gridsby-gallery-full', 1280 );
       ```
   
 * 2. Modify line 1061 in style.css:
 * e.g.
 *     ```
       div.lightbox-content {
           margin: 0 auto;
           max-width: 1280px;
           width: 90%;
       }
       ```
   
 * 3. Modify line 197 in grid.css (found in /wp-content/themes/gridsby/css)
 * e.g.
 *     ```
       .dummy-title
       {
       	max-width: 1280px;
       	width: 100%;
       	opacity: 0;
       	-webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
       	transition: opacity 0.5s, transform 0.5s;
       }
       ```
   
 * THERE YOU HAVE IT. You can finally update the size and image quality. If you 
   have existing images, you’ll have to rebuild your thumbnails as mentioned before.
 * Cheers.

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

The topic ‘Posts image size’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/gridsby/1.3.0/screenshot.png)
 * Gridsby
 * [Support Threads](https://wordpress.org/support/theme/gridsby/)
 * [Active Topics](https://wordpress.org/support/theme/gridsby/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/gridsby/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/gridsby/reviews/)

 * 6 replies
 * 5 participants
 * Last reply from: [inphra](https://wordpress.org/support/users/inphra/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/posts-image-size/#post-6070771)
 * Status: not resolved