• Hi Mike,

    Thank you for Shashin. It’s an awesome plugin. I’m using it to build a client’s website in connection to his Picasa albums and he likes it, too.

    Is there a way to customize the sizes of the thumbnails other than the provided square sizes of 72px, 150px, 300px, 600px, and 800px? I was hoping to make a rectangular size like 240px by 150px and would like to know how to make the custom size an option in the widget panel.

    Please help when you get a chance. Thanks again.

    https://www.ads-software.com/plugins/shashin/

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

    (@toppa)

    Sorry for the late reply. You can specify any size you like – for a non-standard size, you just need to type it directly in the shortcode. Shashin will scale the image accordingly. Specifically, Shashin finds the next largest standard size available for the image, and then scales it down to the size you’ve specified, so you’re never losing image quality.

    Thread Starter jasindall

    (@jasindall)

    Sounds good, but which short code are you referring to? I see some code that hints at thumbnail sizes in “ShashinAlbumDisplayerPicasa.php” in this instance but I’m not very familiar with PHP. How would I apply a function of scaling and cropping thumbnails (to a size of 240px by 150px, for example) into a file without messing up the file?

    Plugin Author Mike Toppa

    (@toppa)

    Sorry, I overlooked that you said the widget – I thought you meant adding a Shashin shortcode to a post. In the widget field for “size” just put in the number you want. So if you put in 240, then images with a landscape orientation will be 240 pixels wide, and images with a portrait orientation will be 240 pixels tall (the “size” is applied to the largest dimension of each image). There is no way to crop though (without hacking code)

    Plugin Author Mike Toppa

    (@toppa)

    [removing accidental duplicate post]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Customize PrettyPhoto Thumbnail Sizes’ is closed to new replies.