Support » Plugin: Awesome Flickr Gallery » Modify Image Size

  • Resolved wilf


    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:

    Thanks for a great plugin.



Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ronak Gandhi


    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.



    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,

    Plugin Author Ronak Gandhi


    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.