• Resolved dEM0nsTAr

    (@dem0nstar)


    I have just found this nice plugin.
    I want to translate the buttons but it seems to have problems with umlauts like ??ü? (I am from Germany) so it still shows “next” instead of “n?chstes” and in the options the plugin shows a strange “?”.

    Another few feature requests / suggestions:

    1. Do not show “Next” “Prev” etc. buttons if there is only one picture to show.
    2. Make it possible to change the image buttons (a “NEXT image button on my German page is not so nice)
    3. Offer an option to center the image in the middle of the screen (currently it is only horizontally centered)

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Archetyped

    (@archetyped)

    Hi, thanks for checking out SLB.

    In order to display special characters, you’ll need to use the HTML entity code instead of the character itself.
    For example: For ?, you’d use ä

    Here’s a list of HTML entities

    You’ll also need to update to the latest version of SLB due to a bug that caused the user-defined text to be ignored.

    Thanks for the feature requests.

    1) Yep, this was a bug that I’ve been meaning to fix for some time. It is fixed in the latest version.

    2) This sounds like a job for themes in SLB, which are really simple to create/edit. Have a look at SLB’s default layout in the templates/default/ folder in SLB’s directory. You can edit this file or create a new one to customize the theme.

    A bit more info:
    Theme Layout
    Registering Themes

    3) Control over UI functionality like this is likely to be supported via themes in an upcoming update. That way, themes can decide how the images should be positioned to best fit the theme.

    Thanks again for the feedback, and let me know if you’re still having issues after the latest update.

    Thread Starter dEM0nsTAr

    (@dem0nstar)

    Thanks for the update, that part works now.
    What I currently miss and why I won’t use this plugin for now are the following features from Lightbox Plus:

    1. (most important)

    Maximum Width: 100%
    Maximum Height: 100%

    With this setting an image won’t be bigger than the browser window and a visitor doesn’t have to scroll no matter what resolution she/he has.

    2.

    Vertical alignment (centered vertically) but you already said that it will come.

    3.

    The possibility to use the arrow keys on a keyboard in a gallery for the next or previous image.

    It would be really nice if you could add these features.
    And is there a way to port the Lightbox Plus Themes to this plugin? I like the “Elegant” theme from Lightbox Plus.

    Thanks in advance!

    Plugin Author Archetyped

    (@archetyped)

    Thanks for the feedback dEM0nsTAr.

    Max width/height has been discussed an may be implemented at some point in the future as an option that users can enable/disable.

    It may be a while though as I’m personally not a fan of in-browser resizing due to degraded image quality as compared to resizing an image before uploading.

    Vertical alignment is actually already possible via themes. Really, it just requires some changes to the theme’s CSS. Check out the links regarding creating/editing themes in my previous post to get an idea of what is required. It’s actually really simple.

    Keyboard navigation has been discussed on the plugin’s home page and will be making a comeback in an upcoming update.

    Regarding porting a theme: as long as the other theme is HTML/CSS-based, it should be possible to port to Simple Lightbox.

    Thread Starter dEM0nsTAr

    (@dem0nstar)

    Great, thanks!
    I will watch the changelog ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Simple Lightbox] Problems with umlauts? Feature suggestions…’ is closed to new replies.