mqchen / jquery.diamonds.js

Diamond layout.
http://mqchen.github.io/jquery.diamonds.js/
MIT License
128 stars 69 forks source link

Change images? #16

Closed artdesign84 closed 9 years ago

artdesign84 commented 9 years ago

I'd like to use this gallery but I only want 4 diamonds in the arrangement shown below. Is this possible?

Also, how do I change the images so it doesn't display your flickr account? I'd prefer to have it link to images on my personal server or desktop and not on flickr.

Thanks in advance for your guidance. screen shot 2014-12-29 at 6 12 43 pm

mqchen commented 9 years ago

Hi! I'm sorry for the late reply, but you unfortunately can't create that layout with this plugin. If you'd give it 4 images and a max row size of 2, you would get:

screen shot 2015-01-08 at 15 49 26

However, you could manage it if you add 2 transparent images first:

screen shot 2015-01-08 at 15 52 53

I only used Flickr for the demo, but please refer to the Readme on instructions on how to use it on your DOM: https://github.com/mqchen/jquery.diamonds.js#usage