Any option to change the slideshow time

fox_piwimz

Joined: 2006-02-17
Posts: 2
Posted: Fri, 2006-02-17 02:58

Gallery version : 2.0.2
PHP version : 5.0.5
Webserver : Apache 2.0.55
Database : MySQL 5.0.15
Activated toolkits : NetPbm and GD
Operating system (e.g. Linux): Linux on 1.6 GHz P4, with 768 M memory
Browser (e.g. Firefox 1.0): Firefox 1.5
Size - About 1200 pics.

Hi,

My question is three fold

1) When you enter into an album and click on the "View slideshow" link, it always only launches the slideshow with a 15 sec delay and a size of 320x320. I want to set it at a different default and not have to choose from the dropdown evertime. Which config file would I need to modify to have different defaults ?

2) Although I have mod_rewrite configured and activated, the URL to any item is the long ugly URL. Any idea why the mod_rewrite or how to debug that ? The .htacess in the gallery dir has all the entries for the rewrite module.

3) I am only able to get a faily acceptable performance by setting the PHP memory_limit = 128M. At any other lower setting, the thumbnails and images just take forever to paint. Is this normal ? I never needed any more than the default for G1.

Thanks a lot for all the hard work on G2. Just wish its performance was a bit faster.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-02-17 08:07

3) memory_limit usually doesn't have an impact on the performance.
FAQ: Is it my imagination, or is G2 slower than G1?

2) deactivate and uninstall the url rewrite module, install and activate it again. aren't there messages in the url rewrite setup for you?

1) see codex.gallery2.org -> user contributions / howtos

 
fox_piwimz

Joined: 2006-02-17
Posts: 2
Posted: Fri, 2006-02-17 17:27

Thanks for your response. I could implement the slideshow customizations.. Just had to do a bit of French translations :)

I tried the deactivate and activate of the rewrite module to the same effect.

When I put the main URL on the browser as http://<mysite.org>/gallery2, I see that the URL in the address bar shows http://<mysite.org>/gallery2/main.php?g2_view=core.UserAdmin&g2_subView=core.UserLogin&g2_return=http%3A%2F%2F<mysite.org>%2Fgallery2%2Fmain.php&g2_returnName=album

I just need it to stay at http://<mysite.org>/gallery2 and not this long URL.

Also, when after logging in, te URL in the address bar has http://<mysite.org>/gallery2/v/?g2_navId=x29591a1b&g2_fromNavId=x932326e7&g2_navId=x29591a1b

When you actually go to an item in the album, the URL would refclect
http://<mysite.org>/gallery2/v/<parent_album>/<sub_album>/IMG_0830.JPG.html?g2_navId=x29591a1b

These things are supposed to be rewritten by the rewrite module.. correct ? .. hmm..

Any pointers on what rules I need to add/change to get rid of this long URL.

TIA

 
santek

Joined: 2007-06-17
Posts: 16
Posted: Sun, 2007-07-08 12:45

How to change slideshow defaults:

Quote:
1) see codex.gallery2.org -> user contributions / howtos

I cannot find that. Perhaps the site has changed? I found http://codex.gallery2.org/Gallery2:How_Tos but no answer there.

What I've done so far is edit /modules/slideshow/templates/Slideshow.tpl but not all my changes seem to have an effect. Setting iDelay to 5000 and iSize to 1 result in a default delay of 5 seconds and default image size of 640x480, which is what I was looking for. However, the slideshow's menu doesn't reflect those settings. It still indicates a 15 second delay and a 320x320 max size.

Lastly, I'd like the "Show More Info" to be on by default setting, but setting bShowText to 1 doesn't affect anything. (Yes, checked with different browsers, forced refreshes, cleared caches, etc. ;))

Thanks for any pointers

Gallery version : 2.2.2