• Resolved YaronRaz

    (@yaronraz)


    I have been searching for some solution for this, but couldn’t find any.

    I have an RTL language site using the Graphene template.
    I have just installed NGG, and am trying to add single images using the singlepic short code, but to have the images align to the left.
    The English equivalent would be to have the image aligned to the right.

    The shortcode I am using is:
    [singlepic id=956 w=200 h= float=left]

    When inspecting the CSS in chrome, this is the CSS conversion:
    <div class="ngg-gallery-singlepic-image ngg-right" style="max-width: 200px">

    I have noticed that no matter what, the CSS uses a DIV with ngg-RIGHT

    How can I change the shortcode, so that the image is aligned to the left, and not to the right?

    Here is the link to the page: https://ysraz.com/guides/winter/
    You can see the three images on the right, and they should be on the left.

    Thank you for the help

    https://www.ads-software.com/plugins/nextgen-gallery/

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

    (@photocrati)

    @yaronraz – We may need to review this a bit further but how exactly are you inserting the image to be displayed with a SinglePic display?

    Thanks!

    – Cais.

    Thread Starter YaronRaz

    (@yaronraz)

    In order to add an image to a post, here are the steps I take:

    I click on Add Media -> Nextgen Gallery
    I select a gallery
    Click “Show” on one of the images
    Alignment – Left
    Size – Singlepic
    Insert to post
    (The terminology I use might be a bit different, because my WP is in Hebrew)

    The shortcode generated is:
    [singlepic id=456 w= h= float=left]

    I modify it to limit the width:
    [singlepic id=456 w=200 h= float=left]

    Here is a link to a new post I prepared for this example:
    Test Post

    You can see all the images are aligned to the right, except the one that was add as “Float=none”

    When I used WP media library to add an image, it aligned properly to the right, center or left, as assigned.

    Plugin Contributor photocrati

    (@photocrati)

    @yaronraz – Thanks for confirming your steps … this is not a RTL issue but appears to be one in general. I will have our developers look into this issue.

    Thanks, again!

    – Cais.

    Thread Starter YaronRaz

    (@yaronraz)

    Hello Cais,

    Is there any progress on this issue?

    Thanks’
    Yaron

    Plugin Contributor photocrati

    (@photocrati)

    @yaronraz – I have noted this for our developers to review but do not have a timeline for when it will be addressed currently.

    Thanks!

    – Cais.

    Thread Starter YaronRaz

    (@yaronraz)

    Ok, I’ve been looking around, and found that the singlepic takes its float alignment from the setting under “NextGen Basic SinglePic” setting.
    Whatever is there, that will be the setting for ALL images using added as SinglePic.

    If the setting is defined as “None”, all singlepics will have no float, regardless of the setting for the specific image.

    Any chance there is a quick fix for this?

    Plugin Contributor photocrati

    (@photocrati)

    @yaronraz – Thanks for the follow-up but as it is we will need to see why there is a disconnect between the Gallery Settings and its use elsewhere.

    I’ll make sure to update our internal notes for our developers to review this specific item as well.

    Thanks, again!!

    – Cais.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Singlepic alignment issue’ is closed to new replies.