rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: radd on July 14, 2007, 01:41:23 AM

Title: diff template for photo gallery
Post by: radd on July 14, 2007, 01:41:23 AM
i found something cool in the net today, which i think will be wonderful if we can have it in our template for photo gallery

http://www.agilepartners.com/blog/2005/12/07/iphoto-image-resizing-using-javascript/

it has slider which will resize image preview directly! do you think we can have it in our template?
terayon, tog?
Title: Re: diff template for photo gallery
Post by: Giant Eagle on July 14, 2007, 08:56:46 AM
Looks very nice :O, ill consider inputting it into Terayon
Title: Re: diff template for photo gallery
Post by: rejetto on July 14, 2007, 12:59:34 PM
I just want to specify a thing, for those who may misunderstood.
This doesn't create thumbnails on the fly. The image is downloaded as it is (little if you have thumbnails, if you don't have thumbnails ready), and then resized.
Title: Re: diff template for photo gallery
Post by: TSG on July 14, 2007, 01:03:46 PM
Ye its kinda useless, sorry to ruin the buzz. But there is no point. It requires downloading the full image size. Which defeats the purpose of a preview.

Maybe next holidays i will make a Diff Template gallery view for the ToG, i might release a quick sub release before the end of next week with minor updates... but 2.9.1 will be the final one until i get the time to work on the template again.

I do however look forward to feedback and ideas for the template :) but just remember with your ideas. The ToG is a lightweight template. We don't want to just bloat it up and reduce the performance and download times excessively. This is a problem for many people and i have paid a lot of attention to the size of each pageload.
Title: Re: diff template for photo gallery
Post by: Giant Eagle on July 14, 2007, 01:05:11 PM
Ye its kinda useless, sorry to ruin the buzz. But there is no point. It requires downloading the full image size. Which defeats the purpose of a preview.

ToG and Terayon have a thumbnail and Preview generator, Placing them in an image gallery and have a scale option might not be that bad.
Title: Re: diff template for photo gallery
Post by: rejetto on July 14, 2007, 06:59:55 PM
Ye its kinda useless, sorry to ruin the buzz. But there is no point. It requires downloading the full image size. Which defeats the purpose of a preview.

no, it works also with thumbnails (the demo you see is running with thumbnails inded). the point is that you must create the thumbnails, and then you can use that script. just telling people that it is not a "complete" solution.
Title: Re: diff template for photo gallery
Post by: radd on July 14, 2007, 08:04:24 PM
i know about that thumbnail things. what i'm interested here is the way that site present its image. of course we need to create thumbnails (which i still try to find a way that suits me), we can set the size to let say half of the size client can view (half of the slider) with low quality. in my opinion, the file size will be absolutely smaller than the original.
i know already ToG stress more on performance, but i also love some kind of interesting thing in my page. hehe.. im going to study this thing
Title: Re: diff template for photo gallery
Post by: Giant Eagle on July 15, 2007, 10:10:43 PM
of course we need to create thumbnails (which i still try to find a way that suits me)

http://www.rejetto.com/forum/index.php?topic=4529.0     ¬¬"
Title: Re: diff template for photo gallery
Post by: radd on July 16, 2007, 01:11:02 AM
i sure will check it out. actually ive tried download it before when u guys just released it in this forum. however, it not work, i forgot what the message. second thing, i use acdsee, i dont think i have to change to irfan unless u can prove to me irfan is better. i dont know actually. hehe
Title: Re: diff template for photo gallery
Post by: rejetto on July 16, 2007, 01:16:32 AM
irfan is free, this is a "pro"
Title: Re: diff template for photo gallery
Post by: radd on July 16, 2007, 01:21:13 AM
i should try then..
Title: Re: diff template for photo gallery
Post by: Giant Eagle on July 21, 2007, 05:01:00 PM
the program requires Irfan to execute its commands and thus create thumbnails and previews, i choose for irfan because it has a lot of command line parameters and because it is free. The Thumbnail and Preview generator does not visually launch Irfan view in anyway, its completely automated. This means you dont even have to use ifran if you dont want to, just put in in the same folder as the T&P Gen and leave it as it is.
Title: Re: diff template for photo gallery
Post by: radd on July 22, 2007, 03:08:44 PM
im working on this, now im having some problem. 1st thing, if u can see, thumbnails used in the page should be in same size. i can see this will cause trouble to make "potrait" thumb from "pictures."

1. my question is, can irfanview resize image and crop it at the same time at the same time? i dont really care if the thumbs dont show whole image as long as it keep its proportional ratio. (i hated seeing picture that stretched to fit a size, i prefer to crop)

2. another thing, what about other file types (not pictures). what im thinking, whether to hide all the other types (use masking) or autoset this page to sort all images at the top and the rest at the bottom, so that the rest can present as table with 100% width and not appear between images. (im not sure whether u can uderstand what im saying.. haha). but is it possible to set the page automagically sort images at first (not bmp-doc-jpg-mpg-png but bmp-jpg-png-doc-mpg)?

3. the last thing is, i realized that we cannot put caption for these thumb because it will interupt when we zoom it out (using slider). so it might be a good idea to make the caption in tooltip.

haha.. i wonder this thing worth it or not... ::) anybody there going to support me?
 
Title: Re: diff template for photo gallery
Post by: rejetto on July 23, 2007, 08:02:35 AM
1. yes, on many files. click "batch conversion".

2. it's "possible". since you can create a template where all files are put in a javascript list, then javascript would do anything with such list. (hey templaters, did you ever think that?)
but as you see, it's very hard for a normal user.

3.  ._o
Title: Re: diff template for photo gallery
Post by: radd on July 23, 2007, 12:26:49 PM
1. prob no1 done

2.
but as you see, it's very hard for a normal user.
... but im only normal user.. :-(
can anyone teach me how to do it? chrno maybe?

3.
._o
what's that? i dont understand..
Title: Re: diff template for photo gallery
Post by: rejetto on July 23, 2007, 12:28:45 PM
what's that? i dont understand..

yes, that's exactly what i thought reading you :)
Title: Re: diff template for photo gallery
Post by: radd on July 23, 2007, 12:43:46 PM
oo.. now i know "._o" means "i dont understand u".. hahaha

i think you can understand after u see the actual page. have a look here (not using hfs yet)
http://radd.fhost.org/ppcm/photo/karnival/karnival.html
can u imagine what happen if every thumbnail have caption at the bottom. what if u shrink the pictures? the pictures might become smaller but they will become closer together. i dont know how to say it, just imagine loo..  :D