Gallery maximum size without cropping?

resolved (2 posts) (2 voices)

  1. Hello,

    I just want a gallery beeing maximum size showing images all the same size without streching/cropping or so. I can't really get it working as I'd like.

    Right now I'm using this code:
    [galleria transition="fade" align="center" speed="5000" width="950" height="i don't know" enable="image_crop,pause_on_interaction"]

    The images I use are 900x650.

    This combination looks good, but some content of the image is missing. If I delete the enable="image_crop" I don't get what I want at all.

    So please tell me what to do.

    Posted 3 years ago #
  2. Elliott
    Support

    Hello cherrmann,

    Open up /wp-content/themes/[your_theme]/lib/shortcodes/19-galleria.php and try changing lines 199 and 212 from this,

    $out .= '<div id="' . $galleria_id . '" style="width:' . $width . 'px;height:' . $height . 'px;">';

    To this,

    $out .= '<div id="' . $galleria_id . '">';

    Posted 3 years ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme