Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #455464

    Hello!

    Is there any way to have an image displayed on posts that doesn’t allow you to click the image? This is what I’d like to have on my posts:

    1) Image displayed full size on post
    2) Nothing happens when you mouse over the image other than having the pinterest “pin it”

    In other words, I don’t want to be able to click the image and have it open up either in lightbox or in another window. Here is a link to a current post of mine:

    http://www.christianholydays.com.au/feast-days-without-sacrifices/

    Thanks very much!

    #455773

    Hi Rshaules!

    Please try the following in Quick CSS under Enfold–>General Styling:

    .single-big a.lightbox-added {
    pointer-events: none !important;
    }
    
    .single-big .image-overlay {
     visibility: hidden;
     }

    Best regards,
    Rikard

    #456091

    Thanks very much Rikard!

    That has solved the problem of the image not being able to be clickable and open in a new window.

    I’m still having issues with the image displayed at full size. I also have this quick CSS entry which I thought would fix the issue:

    $avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>845, ‘height’=>475);
    $avia_config[‘imgSize’][‘entry_without_sidebar’] = array(‘width’=>1210, ‘height’=>680);

    Here is a screen shot of the image on the post:
    http://grab.by/HSTS

    And here is a screen shot of the image (I’ve set the dimensions at 845 x 475 on the image):
    http://grab.by/HSU2

    Thanks for your help!

    -Richard

    #456424

    Hi Richard!

    I’m not sure I understand what you mean but the image you are using there is only 321 pixels in hight?

    Best regards,
    Rikard

    #456426

    Hello Rikard,

    Thanks for the reply. The image is 845 pixels wide by 475 height.

    Here is a screen shot of the image:

    http://grab.by/HUqC

    As you’ll notice, the image is 845 x 475 however it (along with the rest of my images) continue getting cut off. Any help you would be able to offer would be greatly appreciated :)

    -Richard

    #457303

    Hey!

    Wordpress has defined image sizes. You can modify them using this plugin: https://wordpress.org/plugins/simple-image-sizes/

    Regards,
    Andy

    #457599

    Hey Andy,

    Thanks for your help. I’ve downloaded the suggested plugin, and set the required image sizes as follows:

    Entry with sidebar: 845 x 475
    Entry without sidebar: 1210 x 680
    Screen shot of these settings via simple image plugin:
    http://grab.by/HZ1M

    My posts are still getting chopped:
    http://grab.by/HZ1S

    Is there something I need to do with Enfold CSS to allow the above mentioned image sizes to be displayed without getting cropped?

    Thanks!

    -Richard

    #458255

    Hey!

    After you adjust the thumbnail size, did you regenerate the images? There’s a regenerate button at the very bottom of the plugin’s panel.

    Regards,
    Ismael

    #468443

    Works perfect! Thanks for your help :)

    #468701

    Hi!

    Glad we could help :)

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Disable automatic opening of image on post’ is closed to new replies.