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

    (@ronakg)

    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

    (@wilf)

    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

    (@ronakg)

    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.