[Cialug] image viewer

Matthew Nuzum newz at bearfruit.org
Mon Oct 17 12:01:40 CDT 2011


A good keyword to search for is "lightbox." That's what these things are
being called now. I don't know any that work supper on desktop and mobile,
but the nice thing is that the good ones simply take a list of images with a
special CSS class and turn them into lightboxes, so that they degrade
nicely.

<a href="big-image.jpg" class="lightbox">
  <img src="small-image.jpg" alt="This is an image">
</a>

When you click the small image it will expand and have a caption that says
"this is an image." You can often group them as well so that you get next
and previous buttons for free. You could use one which ignores mobile
browsers and then use a media query stylesheet that formats it to look nice
on a mobile.

On Mon, Oct 17, 2011 at 11:12 AM, Dave Hala Jr <dave at 58ghz.net> wrote:

> I'm for looking an image viewer for a site I'm building. I'd like
> something that functions kinda like the facebook image viewer. Something
> that I can pass a list of names of image files to and then the end user
> can move back and forth through them.
>
> It needs to function with all the current PC browsers and smart phones.
> Any one got anything they have been working with?
>
> :) Dave
>
>
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>



-- 
Matthew Nuzum
newz2000 on freenode, skype, linkedin and twitter

♫ You're never fully dressed without a smile! ♫
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cialug.org/pipermail/cialug/attachments/20111017/ffb1fba1/attachment.html>


More information about the Cialug mailing list