I want to add the feature where the whole page isn't reloaded by changing the image size by clicking on the image or on "full size".
That's the link like in Matrix Theme (photo.tpl):
{g->url params=$theme.pageUrl arg1="itemId=`$theme.item.id`"
arg2="imageViewsIndex=`$imageViewsLink`"}
Which of these parameters I need to directly link to the "different sized item" (to use that link with JS-functions) instead to a new page?
Btw, the same I'm going to do with "Add Comment" and "Edit" (comment) so the input forms are dynamically loaded into the current item page (photo.tpl) (w/o frames of course).
Posts: 27300
I think the ajaxian theme does this. I don't think it reloads the page just to advance the photo as well.
Dave
_____________________________________________
Blog & G2 || floridave @ Gallery Team || G2 Theme Contest: +$3k in Prizes!
Posts: 46
Thx, I think, this will help enough!
[OffTopic]
EDIT: Found the appropriate topics about Dreamhost in the Hosting subforum here.
Btw, I recognized the hoster of your G2 page is DreamHost. This company offers 200GB for 10€/month what's insane. Are you satisfied with this hoster?
[/OffTopic]
Posts: 27300
I have not had any troubles with Dreamhost other than the CPU usage issue when I migrate lots of G1->G2 installs and redo them a few times.
Dave
_____________________________________________
Blog & G2 || floridave @ Gallery Team || G2 Theme Contest: +$3k in Prizes!
Posts: 46
Just as info: I've did it like the author of Ajaxan did or like it is done in slideshow module: Saving the other views and peer images in arrays and just referring to these arrays with Javascripts. Unfortunately using these Javascripts to change image (I'm using jQuery Lib b/c I'm a Drupalist ;) ) slows down the performance on computer with high load noticeable - in comparison to the normal "load the whole site" version. So I've removed this. Nevertheless, thx for the hint!