Idea for the AJAX Layout

em00guy

Joined: 2005-06-14
Posts: 10
Posted: Fri, 2005-06-17 00:32

I have an interesting idea for the AJAX layout. I use my gallery to display pictures of my pc mod. However sometimes there is such a small difference between two pics that I cannot tell them apart due to the limited detail of a thumbnail. So I thought it prudent to build an image zoom utility for thumbnails using AJAX technologies that would be part of a broader AJAX interface. Currently it only works in netscape, mozilla and firefox, but i'm working on it. It's very alpha right now but let me know what you think. Would it be useful?

http://www.thedigitalself.com/projects/g2ajaximagezoom/imagezoom.php

 
rogermh

Joined: 2005-01-09
Posts: 102
Posted: Fri, 2005-06-17 05:37

Wow, that's cool! How did you do that? Fancy javascript?

I don't really need that for my site, but I may consider incorporating it somehow just because of the cool factor. :D

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-06-17 10:56

em00guy, yeah, that's quite cool :)
It's certainly one of the many features that could be included as a module or as part of a ajax layout.

 
em00guy

Joined: 2005-06-14
Posts: 10
Posted: Fri, 2005-06-17 20:18

In essensce it's a great deal of javascript and css. I't will be part of the AJAX layout I proposed for googles summer of code. I'm working on an IE friendly version this weekend.

I've began working on a set of javascript functions that that apply AJAX properties like draggabillity and resizeability to html objects. My mission is to have the layout function like an OS UI. In this way i can include my functionality as modules in the event I don't get to work on the ajax layout as a whole. I'll try to post some examples this weekend.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-06-17 20:31

for drag n drop, see:
http://www.walterzorn.com/dragdrop/dragdrop_e.htm

i guess we use this already for the watermarking admin GUI.

 
em00guy

Joined: 2005-06-14
Posts: 10
Posted: Sat, 2005-06-18 01:33
valiant wrote:
for drag n drop, see:
http://www.walterzorn.com/dragdrop/dragdrop_e.htm

i guess we use this already for the watermarking admin GUI.

Thats an excellent script, i'm impressed. I'd like to extend that functionality to the entire application. For instance, You could reorder images visually and the calls to the API are made automatically. I'd refine it to do some docking and other things. Anyway, youll have to excuse me, my mind is going a mile a minute, I'll keep you posted on my progress.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2005-06-18 01:56

I'd like to see something like that for when (if it's going to happen) there's a UI for end users to create a "layout". They could have several generic layouts to choose from. They would then have "widgets" to choose from to put into the different areas of the layout and could just drag them to areas of the screen. When the "widgets" were close to an area they could be in it would snap in there showing the user they were doing the right thing.

 
em00guy

Joined: 2005-06-14
Posts: 10
Posted: Sat, 2005-06-18 14:51
nivekiam wrote:
I'd like to see something like that for when (if it's going to happen) there's a UI for end users to create a "layout". They could have several generic layouts to choose from. They would then have "widgets" to choose from to put into the different areas of the layout and could just drag them to areas of the screen. When the "widgets" were close to an area they could be in it would snap in there showing the user they were doing the right thing.

Thats a great idea, I wish I would have put that in my proposal. I think that functionality could be built into the AJAX and/or Flash layout. The admin could either select from pre-defined configs or create their own.. Thanks for the Idea. I'm getting excited about this.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-06-18 15:11

em00guy, @reorder.
you have looked at G2s reorder view, didn't you? ;)
it's already quite good.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2005-06-18 15:53

You're talking about the rearrange view right? If so, yes it is! I love that feature. I was very impressed when I saw it. I think the only polish that could be put into it was to this drag and drop functionality to swap and move the images around.

I use it instead of reorder all the time. I am curious as to why we have both rearrange and reorder. I can understand using reorder if you don't have javascript installed. But why not make them one and the same? Then you could degrade to the reorder view if javascript isn't enabled or can't support those functions or the end user could have the choice of selecting which one is active.

Anyway, there's more pressing important things to worry about right now ;)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-06-18 16:27

yes i mean the rearrange thingy. the reorder is older, i guess it could be removed.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2005-06-18 16:33

I don't know about removing it as there are some people who surf with Javascript disabled. Though if you're admining a Gallery install I think it would be silly to not have javascript or java enabled.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2005-06-18 17:41

nivekiam, basically G2 was built with "reorder".. I've had "rearrange" as a G1 hack for ages so I ported it to a G2 module.. now we have 2 things.. :)

 
em00guy

Joined: 2005-06-14
Posts: 10
Posted: Tue, 2005-06-21 00:56
valiant wrote:
em00guy, @reorder.
you have looked at G2s reorder view, didn't you? ;)
it's already quite good.

ahh your right it is. I saw rearrange but not re-oder for some reason.

After some consideration I find that the best implementation of an AJAX layout would be in creating view windows for content. For instance, when thumbnails are selected they will load into a draggable, resizeable window. From this window users can have access to all the functionality of the showItem Item veiw and perhaps also the item actions available through the showItem thumbnail view. Think about the way email clients work; allowing you to work with a set of emails or an individual one. I'm still studying the code to find out how to augment current api calls with an Dynamic interface so i'll keep uou abreast on my ideas. Otherwise what do you think?

 
Doombo

Joined: 2006-06-17
Posts: 1
Posted: Sat, 2006-06-17 09:12

What a about this idea: a window which you can open while you navigate a gallery (just like like google notebook extension for firefox,
if you know what I mean) and where you can drag thumbnails while you surf and later rearrange and resize (using the script linked by valiant, maybe). This would work as a "basket", it may serve just as an user customized collection of "favourite" pictures or as a basis for download / purchase / place a print order... Probably this is exactly what em00guy just posted, if this is the case, then PLEASE CODE IT!! :)

I think that an AJAX layout will be killer... so keep up the work! :)

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Fri, 2006-06-23 04:11

Interesting discussion area. Something that is missing imo is more flexibility on how information, like Descriptions for instance, are displayed. Metadata, descriptions, all this kind of information would have much more impact if it were given an Ajaxian or floating capability. G2 is terrific at its image management and gets cooler constantly. But to me what would enhance this would be a way to "tell a story". Titles and Descriptions work, but there is much room for some simple enhancements, like with letting an image resolve for viewing, then allowing a user the opportunity to "call up" additional information.

Some themes do this now with simple EXIF. But this seems an area where some slick enhancement to how metadata and associated text material could be selected and viewed in a compelling way, beyond the flat text that most themes present. If someone typed up a lengthy Description, it would be nice to select it for viewing and have it appear in a predetermined location on the screen. It would make the art of storytelling, while leading with images, far more enhanced. It would take on more of the expression of what photography books accomplish. That being images, with text, at times lengthy text.

Just some thoughts. There are a couple of themes that are touching on this. But an enhanced way of calling forward text, from EXIF to Descriptions to Custom Meta fields, that would create a fulfillment that photography books attain. And of course, audio is a cousin to all this too....

 
dayaparan

Joined: 2006-11-30
Posts: 4
Posted: Thu, 2006-11-30 20:06

http://www.spicyexpress.net/show/ check this it uses minishowgallery the smallest and fastest ajax gallery. is there any theme for gallery 2 which has ajax image loading, with thick box and light box script embed?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2006-11-30 20:30