Image Gallery Reloaded
[resolved] How to turn off cropping/streching of images / image order wrong? (4 posts)

  1. ilvez
    Posted 2 years ago #

    In relation to my previous post


    Can someone suggest a quick fix how to disable in the gallery script the stretching/cropping of images in main window.

    Say I have main gallery window size 1000x700 and I want it to display image of 650x650, aligned in the center both horizontally and vertically?

    Should not be too hard for the one familiar with the javascript?

    The way it should look:

    And the way it looks now with Gallery reloaded:

    Also, it seems that the images are not reordered in the Gallery reloaded according to the order set in the WP Gallery module. Any ideas how to fix that?

    Otherwise a cracking plugin, if these niggles can be fixed it really helps to maximise the gallery navigation effects.


  2. ilvez
    Posted 2 years ago #

    Found a string how to remove image cropping within a main naviation window

    Remove this string:


    from a file galleria-1.2.8.min.js and your images will not be cropped within the main window, also they will maintain the correct aspect ratio.

    Now the plugin really rocks!

  3. ilvez
    Posted 2 years ago #

    Update: a better and more safe solution is to edit image-gallery-reloaded.php

    Find a string:

    imageCrop : true

    and change it to

    imageCrop : false

    The best part is that now within main gallery window the WP will automatically adjust the images to center as well as resize them to fit the main window without affecting original image aspect ratio

    I don't understand why this functionality is not included in the default options as the default settings really mess up the image proportions.

  4. ilvez
    Posted 2 years ago #

    How to make the plugin respect custom image order is resolved here:


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Image Gallery Reloaded
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.