I miss full screen slideshow such as in G2 [SOLVED]

uhuru53
uhuru53's picture

Joined: 2006-12-02
Posts: 94
Posted: Fri, 2013-05-17 15:49

I just migrated from Gallery2 to G3 and I am happy about this.

But I miss the full screen slide show as it was in Gallery 2, it was a *really* full screen!

When I click "slide show" it pops up a cooliris javascript that
fill only half my screen :-(

I tried to resize my pictures, but nothing changes.

Any help is welcome! Thanks.

http://lnx.sinapsi.org/g3/index.php

Versione: 3.0.7 (Rive Droite)
Album: 50
Foto: 966

Informazioni sul sistema

Nome dell\'host: webxc09s04.ad.aruba.it
Sistema Operativo: Linux 2.6.32-358.2.1.el6.x86_64
Apache: Sconosciuto
PHP: 5.4.12
MySQL: 5.0.92-enterprise-gpl-log
Carico del server:
Libreria grafica: gd

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2013-05-17 16:18

What about the box in the bottom right to toggle between full screen?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
uhuru53
uhuru53's picture

Joined: 2006-12-02
Posts: 94
Posted: Fri, 2013-05-17 16:39
floridave wrote:
What about the box in the bottom right to toggle between full screen?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Right, I forgot to add this: even when I click on the bottom right the "full screen" isn't really a full screen.
(you may test yourself: http://lnx.sinapsi.org/g3/index.php)

I mean it fill part of the screen since cooliris keeps the bottom and the top of the screen for itself.

Gallery 2 has a real full screen and the picture fills really from side to side all the screen.

So I'm afraid to hear that this is the max full screen I should obtain from G3,
please tell me there is a smarter solution :-)

Thanks.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2013-05-17 18:04
Quote:
Gallery 2 has a real full screen and the picture fills really from side to side all the screen.

If I remember right it would distort smaller images as well by upscaling the images. That behavior was not desirable for users that added small items.
If you add items at a higher resolution then I bet the full screen experience would be better.

I think the other option is to use slideshow pro that has been posted about in the forums.

Cheers!
Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2013-05-17 18:08

http://galleryproject.org/node/111270#comment-403004

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2013-05-17 18:10

http://galleryproject.org/node/91363

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
uhuru53
uhuru53's picture

Joined: 2006-12-02
Posts: 94
Posted: Fri, 2013-05-17 20:36
floridave wrote:
Quote:
Gallery 2 has a real full screen and the picture fills really from side to side all the screen.

If I remember right it would distort smaller images as well by upscaling the images. That behavior was not desirable for users that added small items.
If you add items at a higher resolution then I bet the full screen experience would be better.

I think the other option is to use slideshow pro that has been posted about in the forums.

Cheers!
Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

Many thanks, I'll have a look to those links asap.

Best wishes.

 
uhuru53
uhuru53's picture

Joined: 2006-12-02
Posts: 94
Posted: Sat, 2013-05-18 18:23
floridave wrote:
Quote:
Gallery 2 has a real full screen and the picture fills really from side to side all the screen.

If I remember right it would distort smaller images as well by upscaling the images. That behavior was not desirable for users that added small items.
If you add items at a higher resolution then I bet the full screen experience would be better.

I think the other option is to use slideshow pro that has been posted about in the forums.

Cheers!
Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

Thanks, but so far I didn't find any slideshow pro in the forums, any link?

 
uhuru53
uhuru53's picture

Joined: 2006-12-02
Posts: 94
Posted: Sat, 2013-05-18 18:59
floridave wrote:
Quote:
Gallery 2 has a real full screen and the picture fills really from side to side all the screen.

If I remember right it would distort smaller images as well by upscaling the images. That behavior was not desirable for users that added small items.
If you add items at a higher resolution then I bet the full screen experience would be better.

I think the other option is to use slideshow pro that has been posted about in the forums.

Cheers!
Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

I've seen that in Gallery2 there is a "slideshow applet" that works great: real full screen.
Is that applet available in Gallery 2?

Thanks

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2013-05-18 21:08

In the file slideshow_event.php, there is a parameter maxScale:0 in the startupscript for piclens. If you eleminate this parameter, piclens performs an upscale of the image, but in some cases, you can see pixels

Try that. If that is not the behavior you want you will have to find a different solution.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2013-05-18 22:27

My Galleria example here has full browser. But Galleria's Azur theme has true fullscreen.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
uhuru53
uhuru53's picture

Joined: 2006-12-02
Posts: 94
Posted: Sun, 2013-05-19 08:04
suprsidr wrote:
My Galleria example here has full browser. But Galleria's Azur theme has true fullscreen.

-s
________________________________
All New jQuery Minislideshow for G2/G3

That's it! Nice slideshow (and wonderful pictures btw).

Where and how could I add those examples to Gallery3 ? Are those modules or themes?

Many thanks.

 
uhuru53
uhuru53's picture

Joined: 2006-12-02
Posts: 94
Posted: Sun, 2013-05-19 08:11
floridave wrote:
In the file slideshow_event.php, there is a parameter maxScale:0 in the startupscript for piclens. If you eleminate this parameter, piclens performs an upscale of the image, but in some cases, you can see pixels

Try that. If that is not the behavior you want you will have to find a different solution.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

In the file slideshow_event.php, I found three times maxScale: but none maxScale:0

See:

static function album_menu($menu, $theme) {
$max_scale = module::get_var("slideshow", "max_scale");
if ($theme->item()->descendants_count(array(array("type", "=", "photo")))) {
$menu->append(Menu::factory("link")
->id("slideshow")
->label(t("View slideshow"))
->url("javascript:cooliris.embed.show(" .
"{maxScale:$max_scale,feed:'" . self::_feed_url($theme) . "'})")
->css_id("g-slideshow-link"));
}
}

static function photo_menu($menu, $theme) {
$max_scale = module::get_var("slideshow", "max_scale");
$menu->append(Menu::factory("link")
->id("slideshow")
->label(t("View slideshow"))
->url("javascript:cooliris.embed.show(" .
"{maxScale:$max_scale,feed:'" . self::_feed_url($theme) . "'})")
->css_id("g-slideshow-link"));
}

static function tag_menu($menu, $theme) {
$max_scale = module::get_var("slideshow", "max_scale");
$menu->append(Menu::factory("link")
->id("slideshow")
->label(t("View slideshow"))
->url("javascript:cooliris.embed.show(" .
"{maxScale:$max_scale,feed:'" . self::_feed_url($theme) . "'})")
->css_id("g-slideshow-link"));
}

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sun, 2013-05-19 16:16

I give code example here

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2013-05-19 17:24

If your images are smaller than the viewport of the modal window (original modal window or full browser window) then the images will not upscale. This is expected behavior. This prevents pixel-ization. If you want the images to upscale to the view-port/stage you can make an edit the the maxscale parameter on the advanced settings.
You specify the scaling factor. Normally, images fill the stage; 0 -> never scale up;
any other positive number S --> scale up to S times the original size of the photo (but never bigger than the view-port/stage)

Perhaps the slideshow that is included is not what you are after and the well coded-ed and documented method that suprsidr is also providing for free is what you are after.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
uhuru53
uhuru53's picture

Joined: 2006-12-02
Posts: 94
Posted: Sun, 2013-05-19 18:22
suprsidr wrote:
I give code example here

-s
________________________________
All New jQuery Minislideshow for G2/G3

I read: "Grab yourself a copy of Galleria and use my sample javascript below to get your G3 hooked in."

But sincerely I do not know where should I use your sample javascript in order to get my G3 hooked in?
Many thanks.

 
uhuru53
uhuru53's picture

Joined: 2006-12-02
Posts: 94
Posted: Sun, 2013-05-19 18:54

Eventually I found myself what I need.

1) Admin - Settings - Advanced
2) slideshow max_scale = 2

That's it!

Now my slideshow has real full screen!

Thanks!

 
uhuru53
uhuru53's picture

Joined: 2006-12-02
Posts: 94
Posted: Sun, 2013-05-19 19:00
suprsidr wrote:
I give code example here

-s
________________________________
All New jQuery Minislideshow for G2/G3

I see that the slideshow button has this link:

javascript:displayWall('/gallery3/rss/feed/gallery/album/114')

and cooliris shows up nicely,

while mine has this one:

javascript:cooliris.embed.show({maxScale:2,feed:'/g3/index.php/rss/feed/gallery/album/2'})

and cooliris is poorer, why?

Could I change mine as yours? How?

Thanks.

 
uhuru53
uhuru53's picture

Joined: 2006-12-02
Posts: 94
Posted: Fri, 2013-05-31 13:13

[SOLVED]
In order to get real Full Screen slide show I've change this setting in Advanced Settings:

slideshow max_scale 2