Member
Member
saku4338   2008-09-01, 19:01
#1

I was using gallery2 with the collection of 400000 pictures and really it was a nice script and have all the features i want. But i decided to move to the ZenPhoto for some reasons. and when i deleted my whole gallery and installed the ZenPhoto. it is giving me a very slow perfomance.

So Guys i need help in making of the world's largest picture gallery with ZenPhoto.

here is the list of my problems.

1.) when i first open a album it is showing me randomize folders not in the alphanatically order. (if i manual sorf the front page)
actually i want to manual sort the front page of gallery and else i want to auto sort by name and the picture by date added descending.
and i cant access further folder in Admin >>> EDIT when i click on it firefox start a endless loading and after some time it stop the process. so i cant sort the folders manually. I think ZenPhoto cant handle my collection of 400000 Photos

2.) i want to show the total number (size) of albums and pictures with the album name (front Page). Subalbums too

3.) I want to show how many times image or album is viewed in the front page with the name of album.

4.) how can i use the print menu with AJAX. like if anyone click on a female celebrities album then it will show all the sub albums of this category. i want to show only one sub album at the time.

Pls Frnds Try solve my problems

Thanks

Member
Member
saku4338   2008-09-01, 19:53
#2

Sorry i forget to mention the site name it is
http://photoz.in/wallpapers/

Member
Member
sbillard   2008-09-01, 21:20
#3

Your site performance seems pretty good at least to a visitor. Also, zenphoto caches images and thumbs as they are first discovered. Performance gets better once the caching has occurred.

1. By default Zenphoto will load image thumbnails into its album thumbnail selector. With so many images in an album you might wish to disable this feature. There is an option, visual thumb selection, to do so on the gallery configuration tab.


The sort options for the main gallery are in the gallery & image configuration pages, so you can select the sort direction and type there. If you wish a different sort type and direction for some albums then you would have to go to that album's edit page.

2, 3. There are functions that will return these numbers that you can add to your theme. The most commonly used functions are described in this document http://www.zenphoto.org/documentation/functions/_template-functions.php.html. Zenphoto is a object based implementation so you can also directly access attributes of the album and image objects. If you explore the object documentation you will see what capabilities they expose.


4. Ajax is used to support some zenphoto capabilities so you can add to those as you see fit.

Member
Member
saku4338   2008-09-02, 06:47
#4

Thx for reply brother.

i disable the visual thumb but still getting the same problem when i go to edit a albums it is loading loading and loading

in my weapons and ammo category there are only 15 pictures and no subalbum. when i press the edit button. it shows me the property of that album bat the loading cant stop i wait for 10 minutes but the loading still is in processing

i m upload a screen shot of that plss check it and tell me what is the problem y it is not showing me the full loaded page

http://img71.imageshack.us/my.php?image=shot9220080000le1.jpg

Please solve my problem brother

Thanks

Member
Member
sbillard   2008-09-02, 16:40
#5

Can you tell what the page is trying to load? There really is no reason why loading that page should take more than a second or two. Are there any CGI errors in your log?

The only other suggestion is to install the current nightly build to see if the problem may have been corrected.

Member
Member
saku4338   2008-09-04, 08:27
#6

Hi Sbillard,

i tried the nightly build but its not working. got the same problem

after all this i remove some code frome the admin-functions.php

genAlbumUploadList($mcr_albumlist);

function genAlbumUploadList(&$list, $curAlbum=NULL) {
global $gallery;
$albums = array();
if (is_null($curAlbum)) {
$albumsprime = $gallery->getAlbums(0);
foreach ($albumsprime as $album) { // check for rights
if (isMyAlbum($album, UPLOAD_RIGHTS)) {
$albums[] = $album;
}
}
} else {
$albums = $curAlbum->getSubAlbums(0);
}
if (is_array($albums)) {
foreach ($albums as $folder) {
$album = new Album($gallery, $folder);
if (!$album->isDynamic()) {
$list[$album->getFolder()] = $album->getTitle();
genAlbumUploadList($list, $album); / generate for subalbums /
}
}
}
}


echo gettext("Tags:");
$tagsort = getTagOrder();
tagSelector($album, 'tags_'.$prefix, false, $tagsort);

Administrator
Administrator
acrylian   2008-09-04, 08:40
#7

Until now we have no other report for your issue. All we can do is to take a look, but without reproducing it's quite hard.

[i]i have lots of sub albums so it is very hard for a user to jum over the galleries. so is there any option in Print menu plugin which will dispplay the list of subalbums under the album name. i m new on the zen and the php so pls could u provide me the code of that[/i]
PrintAlbumMenu has several options for the list (toplevel+subalbums, only topalbums, context sensitive, or only subalbums): http://www.zenphoto.org/documentation/plugins/_plugins---print_album_menu.php.html.

Member
Member
sbillard   2008-09-04, 15:59
#8

It is very difficult from your post to know what you did. Can you be more brief on what change you made?

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.