CodingLightbox2

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  ANT_THOMAS   
 To:  af (CAER)     
38538.5 In reply to 38538.4 
It's an internal site so bandwidth isn't an issue, and only I view it anyway.
0/0
 Reply   Quote More 

 From:  af (CAER)  
 To:  ANT_THOMAS      
38538.6 In reply to 38538.5 
Then, er, why put the pictures on a web page at all? :S
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  af (CAER)     
38538.7 In reply to 38538.6 

Well, theres one other possible person who can view it. It's an online version of my labbook with photos of the materials before and after a reaction to show visible changes. It's nice to have the full size photo available to see the product close up.

 

I keep it along with my physical labbook but with photos included it makes it better and with it being online its easy to get to and view.

0/0
 Reply   Quote More 

 From:  af (CAER)  
 To:  ANT_THOMAS      
38538.8 In reply to 38538.7 
Heh yeah, I was only being partly serious - having stuff in the cloud (even if that cloud is a small local one) can be handy.

Couldn't you just link the thumbnails to the full-sized images and have those open in a new window? It's not as fancy as a lightbox thing but it's much easier.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  af (CAER)     
38538.9 In reply to 38538.8 

That's pretty much what I'm doing already. I wanted something fancier :$

 

Even though its only me that uses it there might be a chance I'll set it up for a few other people at work/uni. Tho that means I'll have to support it, so probably not.

0/0
 Reply   Quote More 

 From:  af (CAER)  
 To:  ANT_THOMAS      
38538.10 In reply to 38538.9 

Well if you ever let other people use it, you're probably going to need some kind of server-side script to resize the images before they get sent to the browser, otherwise you'll have people making galleries of 10+ megapixel images, which might put quite a strain on the server.

 

PHP or Sinatra would probably be suitable for something like this, basically anything that you can upload images to and which will create thumbnails and preview-size images automatically.

 

That said, browsers these days are quite good at resizing images so that's less of a concern (unless people visit using IE<9). I might have a go at making a simple lightbox thing, as I will need one for my caerphoto.com site eventually, and it's an interesting challenge.

0/0
 Reply   Quote More 

 From:  af (CAER)  
 To:  ALL
38538.11 
Wow. Making you include a 249K of JavaScript just to have images pop up nicely seems a bit excessive.
0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  af (CAER)     
38538.12 In reply to 38538.11 
Lightbox used to be nice when it made one particular thing easy to do. Then it expanded to do five million things and became so complex that if you want to do any particular one of those things it's much easier to just code it by hand.

So yeah, make a better one, Caer.

0/0
 Reply   Quote More 

 From:  af (CAER)  
 To:  Drew (X3N0PH0N)     
38538.13 In reply to 38538.12 
Make me an icon for it :C

(I'm calling it QuickSlide)
0/0
 Reply   Quote More 

 From:  Matt  
 To:  af (CAER)     
38538.14 In reply to 38538.11 
Surely that's only because it's built on top of Prototype and the copy that is included has not been minified?

doohicky

0/0
 Reply   Quote More 

 From:  af (CAER)  
 To:  Matt     
38538.15 In reply to 38538.14 
That accounts for 160KB of it, yeah, but it still means you need to include Prototype, which isn't exactly that popular compared to jQuery.
0/0
 Reply   Quote More 

 From:  Matt  
 To:  af (CAER)     
38538.16 In reply to 38538.15 
I've never used Prototype, always used JQuery, I was just pointing it out. Unminified JQuery is about the same size.

doohicky

0/0
 Reply   Quote More 

 From:  steve  
 To:  ALL
38538.17 
Having this thread open, in another tab, keeps making me think Beehive has a Twitter-like feature of "(2)" new posts. :C

0/0
 Reply   Quote More 

 From:  af (CAER)  
 To:  steve     
38538.18 In reply to 38538.17 
Same :$
0/0
 Reply   Quote More 

 From:  koswix  
 To:  steve     
38538.19 In reply to 38538.17 

LLLLLLLLLLLLLL
me too :$



GIVE ME EYERON OR! :@ msg:38140.1
0/0
 Reply   Quote More 

 From:  af (CAER)  
 To:  ANT_THOMAS      
38538.20 In reply to 38538.1 
This any help?

http://caerphoto.com/quickslide/demo.html
0/0
 Reply   Quote More 

 From:  koswix  
 To:  af (CAER)     
38538.21 In reply to 38538.20 

Can you make it so the image appears on the existing page on Android , rather than adding 600odd pixels to the bottom of the page to display in?

 


Lightbox and others do the same, so I suspect not :(



GIVE ME EYERON OR! :@ msg:38140.1
0/0
 Reply   Quote More 

 From:  af (CAER)  
 To:  koswix     
38538.22 In reply to 38538.21 
Does it display the image at the bottom of the extra 6000 pixels, or does it add the space but still display the image at the top?

The latter is possibly Android scaling the image itself after telling the JavaScript how big it originally was.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS   
 To:  af (CAER)     
38538.23 In reply to 38538.20 

I'll give that a go tomorrow.

 

:D

0/0
 Reply   Quote More 

 From:  koswix  
 To:  af (CAER)     
38538.24 In reply to 38538.22 
displays the image in the new space, aligned with the bottom of the page.


GIVE ME EYERON OR! :@ msg:38140.1
0/0
 Reply   Quote More 

Reply to All  
 

1–20  21–40  …  81–91

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats