No I don't how to center the image in the LI without doing a bunch of math,
but what I normally do in my css is set the width and height of the LI and
set the overflow:hidden.  I am sure there is some other css hackery that can
be done, but I am not an expert.

On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote:
>
>
>
> oh ok i see what you mean now.  seems to work.  now of course if i use one
> of
> the other sizes, the pic are no longer uniform in width.  so is there a
> way
> that i could style it so that the li's are always 200px in width with the
> image centered inside it?
>
> i tried adding:
> $('li', this).css("width","140px");
>
> but it didn't seem to work.
>
>
> bmsterling wrote:
> >
> > You would do something like:
> >
> > $('a.jqAlbumParser').jqAlbumParser({
> > tnSize:1
> > });
> >
> > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>
> >> where do i find that?  i don't see those lines in the js file.
> >>
> >>
> >> bmsterling wrote:
> >> >
> >> > Set the tnSize param to 0, 1, 2 for a different size:
> >> >
> >> >  * @param Integer tnSize
> >> >  *             This param takes in 0, 1,or 2 and will reference one
> of
> >> the
> >> >  *             thumbnail spots for picasa or flickr
> >> >  *                 picasa: 0 == 72x48, 1 == 144x66, 2 == 288x192
> >> >  *                 flickr: 0 == 75x75 or 1 == 100 on long side or 2
> ==
> >> 240
> >> > on long side
> >> >
> >> > You will have to see which one works best for you.
> >> >
> >> > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >>
> >> >>
> >> >> any way i can make the thumbnails larger?  or is that just the size
> >> they
> >> >> come
> >> >> in from flickr?
> >> >>
> >> >>
> >> >>
> >> >> bmsterling wrote:
> >> >> >
> >> >> > Cool; I have not tested it using the lightbox plugin, can you let
> me
> >> >> know
> >> >> > how it turns out?
> >> >> >
> >> >> > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote:
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> nevermind my last post about not understanding yoru code - that
> was
> >> >> just
> >> >> >> me
> >> >> >> being stupid.  i just looked at the lightbox plugin in more
> detail
> >> and
> >> >> >> answered my own questions duh.
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> bmsterling wrote:
> >> >> >> >
> >> >> >> > I guess a download link would have been useful:
> >> >> >> >
> >> >> >>
> >> >>
> >>
> http://benjaminsterling.com/articles/jqAlbumParser/common/js/jqAlbumParser.js
> >> >> >> >
> >> >> >> > Thanks for catching that.
> >> >> >> >
> >> >> >> > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote:
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> ok that should work - now one last question... i dont see the
> >> >> download
> >> >> >> >> link
> >> >> >> >> for the plugin anywhere.
> >> >> >> >>
> >> >> >> >>
> >> >> >> >> bmsterling wrote:
> >> >> >> >> >
> >> >> >> >> > Check out my jqAlbumParser plugin, it will allow you to
> parse
> >> out
> >> >> a
> >> >> >> >> flickr
> >> >> >> >> > album and then execute any additional plugin:
> >> >> >> >> >
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://benjaminsterling.com/jquery-jqalbumparser-plugin-parses-out-flickr-picasa-clientside/
> >> >> >> >> >
> >> >> >> >> > On 12/19/07, bdee1 <[EMAIL PROTECTED]> wrote:
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >> i want to set up a photo gallery for a clients site and
> would
> >> >> like
> >> >> >> to
> >> >> >> >> use
> >> >> >> >> >> the
> >> >> >> >> >> http://leandrovieira.com/projects/jquery/lightbox/ Jquery
> >> >> LightBox
> >> >> >> >> plugin
> >> >> >> >> >> or somethign similar.  that par is easy but i would like to
> >> be
> >> >> able
> >> >> >> to
> >> >> >> >> >> use
> >> >> >> >> >> images from flickr.  that way the client would be able to
> >> update
> >> >> >> the
> >> >> >> >> >> images
> >> >> >> >> >> in the gallery whenever he needs to.
> >> >> >> >> >>
> >> >> >> >> >> has anyone done something like this or can suggest how to
> go
> >> >> about
> >> >> >> it?
> >> >> >> >> >> --
> >> >> >> >> >> View this message in context:
> >> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14418944.html
> >> >> >> >> >> Sent from the jQuery General Discussion mailing list
> archive
> >> at
> >> >> >> >> >> Nabble.com
> >> >> >> >> >> .
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > --
> >> >> >> >> > Benjamin Sterling
> >> >> >> >> > http://www.KenzoMedia.com
> >> >> >> >> > http://www.KenzoHosting.com
> >> >> >> >> > http://www.benjaminsterling.com
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >>
> >> >> >> >> --
> >> >> >> >> View this message in context:
> >> >> >> >>
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14420329.html
> >> >> >> >> Sent from the jQuery General Discussion mailing list archive
> at
> >> >> >> >> Nabble.com
> >> >> >> >> .
> >> >> >> >>
> >> >> >> >>
> >> >> >> >
> >> >> >> >
> >> >> >> > --
> >> >> >> > Benjamin Sterling
> >> >> >> > http://www.KenzoMedia.com
> >> >> >> > http://www.KenzoHosting.com
> >> >> >> > http://www.benjaminsterling.com
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14420823.html
> >> >> >> Sent from the jQuery General Discussion mailing list archive at
> >> >> >> Nabble.com
> >> >> >> .
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Benjamin Sterling
> >> >> > http://www.KenzoMedia.com
> >> >> > http://www.KenzoHosting.com
> >> >> > http://www.benjaminsterling.com
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14422621.html
> >> >> Sent from the jQuery General Discussion mailing list archive at
> >> >> Nabble.com
> >> >> .
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > Benjamin Sterling
> >> > http://www.KenzoMedia.com
> >> > http://www.KenzoHosting.com
> >> > http://www.benjaminsterling.com
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14423425.html
> >> Sent from the jQuery General Discussion mailing list archive at
> >> Nabble.com
> >> .
> >>
> >>
> >
> >
> > --
> > Benjamin Sterling
> > http://www.KenzoMedia.com
> > http://www.KenzoHosting.com
> > http://www.benjaminsterling.com
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Jquery-Lightbox-or-Thickbox-and-Flickr--tp14418944s27240p14423767.html
> Sent from the jQuery General Discussion mailing list archive at Nabble.com
> .
>
>


-- 
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
http://www.benjaminsterling.com

Reply via email to