Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @hwressnigg – Please give the following shortcode a try:

    [ngg_images gallery_ids=1 display_type=photocrati-nextgen_basic_thumbnails disable_pagination=1 images_per_page=1 show_all_in_lightbox=1 use_imagebrowser_effect=0]

    Thanks!

    – Cais.

    Thread Starter hwressnigg

    (@hwressnigg)

    That works thank you!

    I would like to make the single image larger than a thumbnail and left-aligned so that text can be next to it. Are there additions I can make to the shortcode to accomplish this?

    Plugin Contributor photocrati

    (@photocrati)

    @hwressnigg – You can add the following parameters to adjust the thumbnail size specifically within the shortcode:

    override_thumbnail_settings=1 thumbnail_width=75 thumbnail_height=75

    The above just uses 75 as an example, set those to something more appropriate for the look and feel you are wanting.

    As to left-aligning the image, that would require some additional “code” such as wrapping the shortcode in a <div> element and setting the appropriate float property although in some cases this may not be compatible with some themes, generally it will work just fine.

    Thanks!

    – Cais.

    Thread Starter hwressnigg

    (@hwressnigg)

    Thanks so much for your help!

    I wrapped the code in a <div> and inspected the element to find the appropriate code to float left. I can’t seem to find the right element. Can you point me in the right direction?

    <div>[ngg_images gallery_ids=47 display_type=photocrati-nextgen_basic_thumbnails disable_pagination=1 images_per_page=1 show_all_in_lightbox=1 use_imagebrowser_effect=0 override_thumbnail_settings=1 thumbnail_width=300 thumbnail_height=200]</div>

    Plugin Contributor photocrati

    (@photocrati)

    @hwressnigg – Try adding a unique/relevant id or class to the <div> tag. That will make it much easier to identify and work with.

    Thanks!

    – Cais.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Open lightbox gallery from single image?’ is closed to new replies.