↑ Return to WP-Slimbox2 Support

How to Limit the size of Pictures ?

Home Forums WP-Slimbox2 Support How to Limit the size of Pictures ?

This topic contains 0 replies, has 2 voices, and was last updated by  Malcalevak 5 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1018

    Malcalevak
    Keymaster

    Hello! Sometimes I have problems because I add 1600 x 1600 large picture or larged <img src=” title=”Cheesy” />. So i reduce the size in WordPress.

    But that slimbox is showing the correct size of image. Is there anyway to put limit how large can all pictures be. Let’s say allow to 1024 x 1024 – no more then…

    Thank you  for all your help!

    #1019

    Malcalevak
    Keymaster

    The Slimbox2 code that’s used by WP-Slimbox2 is designed to display the image pointed to by the URL, in this case you’re pointing to the 1600×1600 images, so that’s what it displays. If you’d like to display images at a smaller size, I’d recommend you also upload images of the size you’d like to display, point to those with your URLs, and if you still want to include links to the larger image, do so in the caption.

    I’ve been making a small modification to the Slimbox2 code myself that will implement a resize option that fits to the screen, but I don’t know when I’ll have a chance to release it.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

css.php