[Ilugc] Javascript for slideshow

  • From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
  • Date: Mon Oct 9 14:06:15 2006

On Mon, Oct 09, 2006 at 11:17:45AM +0530, Kumar Appaiah wrote:
 

As already stated, Gallery2 soes that.
My dear Kumar,

   There is a cultural issue here. Let me tackle it right away.

   There is a certain joy in doing things yourself , to suit your tastes. Even 
if there are more successful better tools out there, I still prefer to do 
whatever I can myself.

   Why? 

   If the task is simple I should do it myself as only I can know what I really 
want. 

   In this particular case, I know for sure that javascript is the right tool 
for the job.

   Let me share an anecdote again. I hope you understand and appreciate the 
value of doing things yourself to suit your tastes...

   I used the script I sent to share certain fotos. 

   Since the images are not so big in terms of file size and due to human 
factors coming in , you really dont need a huge bandwidth to share fotos. So I 
used my measly 64kbps uplink BSNL line at home.

   Then devil entered my brain ( as usual) and I started doing a 

# less /var/log/apache/access.log

   After that, I figured out that I was able to glean the IP address, the 
operating system and the specific time that slideshow is accessed. I can also 
see the time that person spent and the fotos he/she viewed.

   What use is an IP address? I copy it and paste it on 

   http://www.geobytes.com/IpLocator.htm?GetLocation

   and I get the accurate coordinates of the IP address.

   Since most of my folks are distributed across the world, I can very clearly 
point my finger on who actually accessed the link.

   I find that IP addresses in India are not properly listed in that database, 
at least the city and states are not so accurate. But I have not used it much.

   But I have seen this work very well when it comes to developed nations.
   
   Another idea that came to my mind is to use the Listen and Port directiver 
in httpd.conf to run the slideshow/website in multiple ports and send different 
links to different ppl, that way you can know who accessed when.

   What to talk of marvels of modern technology? :-)

   Ethics aside, the fact that it is possible to do this is interesting.

Nobody who knows flicr well would mass upload using their
interface. That's why they use the API or use programs that use the
API. I have found KDE's gwenview to be very good at uploading to
flickr. Also check flickrfs, which uses FUSE to make your flickr
account look like a mounted directory.

Wow man! You are very knowledgeable. I have never used FUSE and I will 
certainly try out flickrfs. Thanks.

And the problem with flick is it reduces the image size
drastically. I dont want that. At the same time I dont want u to
click and drag the scrollbars also.

Thatis your choice, but personally, I'd not like to see images larger
than 1024x768 on the 15 inch monitors I have access to.

Kumar
My idea is to keep things simple. I will first run all my images thro' a 
resizer tool like convert or something and get all images to fit a 15 " screen.

Then the slideshow will just flip the images.

I like the UNIX idea of different tools doing different jobs at different times.

On the fly manipulations and generic processing IMHO doesn't gell well with 
UNIX thinking...

regards,
Girish

Other related posts: