How to make a REAL responsive image slider? - javascript

Here I have 'responsive image slider'on my site but as you can see, these images are not really feet well, sometimes it's bigger as in expected to be, sometimes cutted.
How can I fix this problem do I need special picture sizes for this like 4240x2600 ?
At diffrent screen resolutions it looks diffrent and odd
site - hicandy.ru (sorry can't add more than 2 links) it was built on OpenCart and slider uses 'Revolution Slider'
expamples
example 1
example 2

I think you have different options:
CSS media queries for display a different layout for your image slider which will be applied based on your browser size window.
Percentage base layout, example (width: 20%;).
A combination of both plus JavaScript for example http://bxslider.com

Related

How to make all images on an html page to be shown (using Bootstrap)?

I have a set of images which I'd like to be visible to a user all at once, without scrolling or swiping. Resizing is ok indeed. The number of images may vary from page to page. There will be some other content on the page as well (title). I'm using Bootstrap as CSS framework, but I'm open to any solution (JS?) if needed.
For example, I have 10 images and Chrome on Android in portrait mode. The solution would arrange the images into a grid of 2 columns and 5 rows and 5x2 in the landscape, resizing accordingly. If there are 18 images, it'd show them 3x6 or 6x3 correspondingly. And so on.
Thanks!
Update
I suck in CSS. But I have good google-searching skills and found nothing on the topic. I've tried container-fluid, row/col, img-responsive combo, but it shows either 3xN or 1xN grid, depending on the width. And not all images are in the viewport.

How can I resize an image grid dynamically as the browser width/height changes?

I'm trying to design a page which contains a list of images and on re-size of the browser/window the images should get adjusted in such a way that the images should be in only three rows. For example initially I have 10 images in a row and as a whole I have total 30 images in three rows. When I re-size the window the images should get adjusted (as the window gets smaller, the grid goes to 7 images in a row and then to 5 images in a row). And at any point of time I should have only 3 rows.
I have added the below link which is serving same kind of purpose.
e.g. https://www.mozilla.org/en-US/about/?icm=tabz
Any suggestion will be appreciated.
Thanks in Advance.
That Mozilla page uses Animated Responsive Image Grid, a jquery plugin:
http://tympanus.net/codrops/2012/08/02/animated-responsive-image-grid/
You'll want something like
$(function(){
$("#the_id_of_your_grid").gridrotator({
rows:3,
columns:10,
w[some number]:{rows:3,columns:7},
w[some other number]:{rows:3,columns:5}
})
});
where the two "w[some number]:" are the equivalent of the CSS media query #media (max-width: [some number]px). There's full documentation on the plugin's website

Fullscreen background slideshow with custom image positions (per slide)

I've got a client who has a library of images they want to use on a site as fullscreen backgrounds.
I'm using the slideshow functionality + api calls in Supersized js to act as the backgrounds for my slides/sub pages in a site navigation, this is playing nicely with my foreground elements to create a good multiple page effect.
The only issue is that some of their images don't work well centered, and should instead be top aligned (as the focal points of the images get cut off at larger window sizes if they're centered).
At the moment I'm doing a really nasty manual destroy and rebuild to make the adjustment when it's different (currently the images are managed in a CMS so the user just selects a box if the image is be vert aligned). This does the trick, but is clunky and has some nasty jumpiness.
Do you know of a way to do this without destroying/rebuilding OR is there a different plugin that could handle this (and still work with the pagination functionality I've described?)
Thanks guys!
You can try the jQuery.mb.bandGallery plugin. It has the advantage that, in fullscreen, it will resize and center the image to fit the screen.
Or you can try/get inspiration from some of the multiple articles and demos at tympanus.net/codrops, like:
Animated Content Menu
Fullscreen Image Blur
Responsive 3D Panel Layout

CSS/Javascript Framework that fits pictures in one screen

I'm trying to fit 3 pictures in one HTML page, such that maximum screen area will be used, without scrolling. When screen size changes the pictures should be re-arranged, covering maximum screen arena. Each picture has different dimensions. For easier fitting each pic could be cropped (2:3 proportion max). The layout should be fluid and responsive. See example below
Two frameworks I'm considering for this problem are Twitter Bootstrap and jQuery Masonry, but none of these solves the problem of fitting.
Currently I solve this problem making square thumbnails out of each with css and overlapping those pictures, but users want the see the entire picture without overlapping and as big as possible:
!
you can see it in action at vash.co
You can get pretty close using pure CSS. Take this example, try it in Google Chrome: http://jsbin.com/ixomav/1 (source)
It's pretty crude but it should get the idea across. Going furthur you could add js code to resize images with a proper aspect ratio or keep trying with a css only approach. I used random images from wikipedia for my example but you may have an easier time if all your photos are the same dimensions.
If you remove the height you'll get properly aspected images but the problem with that is the white space, example: http://jsbin.com/ixomav/2
Check out Isotope: http://isotope.metafizzy.co/demos/images.html

jQuery responsive banner auto resize images and content to fit space

I want to create custom banner or download one.
The banner has following requirement,
I could add images and text in this banner.
On each slide you can add multiple images and text, for an example slide one has two images and text on sides, then slide two has three images and text on the sides.
IMPORTANT – if the images are small thumbnails the text should fill the blank areas or around the image. The banner should be responsive to the element inside (could be an div). If the image is big the text should go underneath the
image or on the side.
slides left or right
left and right navigation button, as well pagination
Example: http://www.bbc.co.uk - main banner at the top
I had a look on the internet i tried the following:
flexslider - very good, meet all the requirements apart from point 3. but dont know how to make it responsive.
orbit slider - good but flexslider it easier to style.
Note: this banner will not be used on mobile device.
Seems like you didn't get any answers because there's no such thing as a perfect finished solution. It's not difficult to change any of the mentioned sliders and make them responsive IF you know some css. I'd suggest that, depending on how many of these works you want to do, you give it a try. You can find good free tutorials online.
I found this one plugin though, worth a try: http://marktyrrell.com/labs/blueberry/
And some more: http://webdesignledger.com/resources/8-responsive-jquery-slider-plugins

Categories