Skip to content

Conversation

@mczachurski
Copy link

After change we can use array in JavaScript code (which allow us to use spece in tag names), for example:

jQuery("#nanogallery2").nanogallery2( {
    // ### gallery settings ### 
    thumbnailHeight:  150,
    thumbnailWidth:   150,
    itemsBaseURL:     'https://nanogallery2.nanostudio.org/samples/',
    
    // ### gallery content ### 
    items: [
        { src: 'berlin1.jpg', srct: 'berlin1_t.jpg', title: 'Berlin 1', tags: ['Berlin', 'Black & White'] },
        { src: 'berlin2.jpg', srct: 'berlin2_t.jpg', title: 'Berlin 2', tags: ['Berlin', 'Color'] },
        { src: 'berlin3.jpg', srct: 'berlin3_t.jpg', title: 'Berlin 3', tags: ['Berlin', 'Black & White'] }
      ]
  });
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant