Saturday, September 14, 2013

Prevent streching images in galleria

Here's another quickie: if you're using galleria and your pictures get stretched by it (you may be using an unusual aspect ratio), here's how you can correct that error (assuming your 'galleria' is actually called 'galleria' and you want to have it 662px wide - obviously you can change these easily):

(click in the box to highlight the code for copy)

Source: How to show the original image in galleria jquery library.

No comments:

Post a comment

Dear legitimate commenters, please post your comments below. I'd be happy to receive your feedback; helps me a lot improving, or getting reassurance that I'm doing something really great here.

IMPORTANT! A note to commenters planning on advertising their business in comments: please be informed that I'm NOT going to post your comments but will ALWAYS mark them as SPAM.