Title: Modify Image Size
Last modified: August 20, 2016

---

# Modify Image Size

 *  Resolved [Wilf James](https://wordpress.org/support/users/wilf/)
 * (@wilf)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/modify-image-size/)
 * I have tried to find where to modify the image size of the gallery images. Each
   of the images are showing at 500px width and I would like to show them at 700px.
   Can you tell me where to make these changes.
 * Also there are 20 images I am using to test and images 8, 19 & 20 will not load,
   using Colorbox it shows the text ‘images cannot be loaded’ and moves to next 
   image, in Highslide it sticks on trying to load the image. Any ideas why this
   is happening?
 * Test page: [http://www.wilfjames.com/test/](http://www.wilfjames.com/test/)
 * Thanks for a great plugin.
 * TIA,
 * Wilf.
 * [http://wordpress.org/extend/plugins/awesome-flickr-gallery-plugin/](http://wordpress.org/extend/plugins/awesome-flickr-gallery-plugin/)

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

 *  Plugin Author [Ronak Gandhi](https://wordpress.org/support/users/ronakg/)
 * (@ronakg)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/modify-image-size/#post-3171328)
 * Are you OK with modifying a PHP file on your server to make photos appear at 
   700px? Let me know.
 * Regarding the second issue, it looks like some bug on the Flickr side. Flickr
   is providing a URL for particular size of photo that doesn’t exist. Let me investigate
   this further. I’ll get back to you.
 *  Thread Starter [Wilf James](https://wordpress.org/support/users/wilf/)
 * (@wilf)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/modify-image-size/#post-3171329)
 * Hi Ronak,
    Yes I would be OK to make changes to a PHP file on my server.
 * Thanks for looking into the issue with Flickr, I look forward to hearing back
   from you.
 * All the best,
    Wilf
 *  Plugin Author [Ronak Gandhi](https://wordpress.org/support/users/ronakg/)
 * (@ronakg)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/modify-image-size/#post-3171332)
 * You need to modify `afg_libs.php` file in the plugin.
 * Identify these code blocks –
 *     ```
       /* Map for photo titles displayed on the gallery. */
       $size_heading_map = array(
           '_s' => '',
           '_t' => '0.9em',
           '_m' => '1em',
           'NULL' => '1.2em',
       );
       ```
   
 *     ```
       $afg_photo_size_map = array(
           'default' => 'Default',
           '_s' => 'Square (Max 75px)',
           '_t' => 'Thumbnail (Max 100px)',
           '_m' => 'Small (Max 240px)',
           'NULL' => 'Medium (Max 500px)',
           'custom' => 'Custom',
       );
       ```
   
 * Now identify a photo size which you are not using in any of the galleries because
   we are going to replace that with large size photos. In this case let’s say `"
   Small (Max 240px)"`. The associated code for this size is `_m`. Replace it with`
   _z` in both the code blocks mentioned above. That would give you photos at 640px.
   If you want 800px photos, replace `_m` with `_c`.
 * Make sure you go back to the plugin settings and click Save Changes button again
   for all your galleries where you want this change.

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

The topic ‘Modify Image Size’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/awesome-flickr-gallery-plugin_7e702f.
   svg)
 * [Awesome Flickr Gallery](https://wordpress.org/plugins/awesome-flickr-gallery-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/awesome-flickr-gallery-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/awesome-flickr-gallery-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/awesome-flickr-gallery-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/awesome-flickr-gallery-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/awesome-flickr-gallery-plugin/reviews/)

## Tags

 * [Awesome Flickr Gallery](https://wordpress.org/support/topic-tag/awesome-flickr-gallery/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ronak Gandhi](https://wordpress.org/support/users/ronakg/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/modify-image-size/#post-3171332)
 * Status: resolved