Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #674132

    Hi guys,

    I have always wondered about this and because I have a current example of my question I thought to ask you:

    When you use a lightbox image with a link to the full image, the cutout (image shown on the website) is always being taken of the center part of the original image. Mostly horizontally that is full width and vertically that is the mid section of the image. Attached I show an example of the image on the website and the full image when enlarged through lightbox.

    In this case there is an image of a statue and it ‘looses’ its head in this way. Often you have pictures of (a group of) people and they also ‘loose’ their head(s). That looks awfull.

    My question: is there a way to (vertically) align a (lightbox) image in such a way that you can choose which part of the original image you present on the website?

    I am curious to find out…

    Thanks & regards,
    Monique

    #675160

    Hey!

    Do the following:
    1. Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
    2. Go to Settings > Media
    3. Change the entry_with_sidebar image size (increase its height).
    4. Regenerate the thumbnails by clicking the button at the bottom.

    Cheers!
    Josue

    #677425

    Hey Josue,

    I tried the plugin you mentioned. As far as I found out, what you do is regenerate thumbs with fixed settings for all images that you regenerate thumbs for. That didn’t seem handy since some images look better if your thumb shows the top part of the full image, others the bottom part and so on.

    When looking for this plugin, I stumbled upon another plugin which gives the option to manually generate new thumbs per image and even per purpose (featured, entry_with_sidebar, et cetera): https://wordpress.org/plugins/post-thumbnail-editor/. Might be a good tip for other people wanting to do the same.

    Thanks for your help anyway. Because of your suggestion I knew what I was looking for! Please mark this topic as solved.

    Regards,
    Monique

    #677674

    You are welcome, glad to help :)

    Regards,
    Josue

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Lightbox image align differently’ is closed to new replies.