Git Product home page Git Product logo

extended-tumblr-photoset's People

Contributors

audiophil avatar graygilmore avatar jarednorman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

extended-tumblr-photoset's Issues

Conflict with bootstrap

Just a suggestion to change .row class to something else to avoid conflicts with bootstrap or other frameworks using this class.

245px and 160px photosets

When I post photosets of different sizes they're all on separate lines leaving a lot of empty space next to them in the container. Do you know a way to make multiple images appear on the same line using your code if they're small enough?
The issue comes from photosets of size 245px and 160px
Thanks

Fallback to standard <iframe> when JavaScript unavailable?

Without JavaScript, the recommended setup for this plugin produces a big empty space on your blog, rather than gracefully falling back to a non-responsive JS-free display of the photoset. I hacked up a quick fix on my blog such that Tumblr's standard <iframe>-based photoset display is used when JS is unavailable, like so:

.photo-slideshow {
 visibility: visible;
 display: none;
}
{block:Photoset}
  {Photoset-500}
  <!-- standard pxuPhotoset HTML goes here -->
{/block:Photoset}
$(document).ready(function() {
  var ps = $('li.photoset');
  ps.find('.html_photoset');
    .remove();
  ps.find('.photo-slideshow')
    .css({display: 'block'})
    .pxuPhotoset(options);
});

Would it be worth extending this plugin itself, or perhaps just its usage instructions, to accommodate a fallback such as the above?

next image not shown in slideshow

only the previous image, along with the image that was clicked, is shown in the slideshow. the next image in the series does not appear on the right of the image that was clicked.

eg: clicking the first image in the photoset opens the lightbox with no previous or next image.

highRes images not showing with demo mockup

Highres images target .photo img on line 301 of pxuPhotoset.js, which doesn't exist in the demo markup. It seems either the .js should change or the markup should change like:

  ... 
  {block:Photos}
    <div class="photo-data">
      <div class="pxu-photo photo">
        <img alt="{PhotoAlt}"...

Thanks for the awesome library!

Gutter being applied to last row

This isn't really about functionality, but I noticed the gutter set for the entire photoset is applied to the bottom of the last row. While it makes sense to apply margin-bottom for every other row, having an extra margin below the last row looks off. I'd simply add some CSS code to remove the margin manually based on the gutter value I've picked to work with, but I have no way of knowing if someone will tweak the code to choose a different gutter value, neither do I know if they will edit the fix I've done myself for this extra margin. I believe it wouldn't be such a hard thing to implement, but I don't think editing the code myself and creating a new file to share with people is really practical, especially when they would look for the official support itself.

Used this to build a photoset plugin in CommonJS format

Hiya,

Thank you for this! It was quite inspirational.

I built an albumPhotoset and a rollover plugin for my tumblr template using the logic in your code, and wanted to share with you.

Many well wishes!

https://github.com/shadesoflight/tumblr-template-sass/blob/master/theme/js/main.js
https://github.com/shadesoflight/tumblr-template-sass/tree/master/theme/libs/tumblr-photoset
https://github.com/shadesoflight/tumblr-template-sass/blob/master/package.json#L22

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.