Pages (2): 1 2   
Member
Member
JerryG   2012-01-24, 19:02
#1

I have a gallery with over 30,000 images. My SQL file is only about 30mb though. Every time I add new galleries I usually do it by creating a folder in FTP, as the ACP just doesn't work for me. It goes incredibly slow and sometimes does not load at all.

I was trying to get into one of my folders today to re-arrange the order of its subalbums, but it wouldn't load. It stops half way. Looking at my process manager, I saw that /zp-core/admin.php was using up 74.1 percent of the CPU load and 2.1 percent of the memory.

Why?

Administrator
Administrator
acrylian   2012-01-24, 19:42
#2

Please see this current and similar topic: http://www.zenphoto.org/support/topic.php?id=10292

Also there is info on the user guide's troubleshooting how Zenphoto works regarding images. What you see is most likely your server not being able to process the images you uploaded
http://www.zenphoto.org/news/troubleshooting-guide

Member
Member
JerryG   2012-01-24, 20:31
#3

But its processed every image on the actual gallery pages. Its just the ACP that's slow. A lot of the times, I'll get 500 Internal Server Errors trying to edit a gallery.

Administrator
Administrator
acrylian   2012-01-24, 20:47
#4

No, it does not process all, it goes randomly through all to set an album thumb. If it has not been cached for the display it will be. The more images in the more albums you have the more it might need to cache. And if the image dimensions are quite big your server might not be able to process that. (see the troubleshooting to understand how Zenphoto being filesystem based works please).

On the images tab of course the display for the images on the left need to be generated as well.

So, either set a fixed album thumb for each album or use the option to show a stand-in replacement image for the albums list. For the images try using less images per page.

Additionally you might want to consider to use smaller images.

Member
Member
JerryG   2012-01-24, 20:53
#5

All of my images are cached, though.

Administrator
Administrator
acrylian   2012-01-24, 20:57
#6

How do you know that all images are cached with 30000 of them? If you use any of the pre cache tools older Zenphoto releases have, these don't apply to the backend.

Member
Member
JerryG   2012-01-24, 21:01
#7

I'm talking about editing specific galleries. i.e. http://domain.com/zenphoto/zp-core/admin.php?page=edit&album=album-name-here

It either loads verrrry slowly or the page stops loading halfway or I get a 500 error.

I know all the images are cached because I have accessed that gallery on the main page and have look at all the images inside. I have 30,000 images, but they're not all in one gallery.

Member
Member
sbillard   2012-01-24, 22:32
#8

Quote:I know all the images are cached because I have accessed that gallery on the main page and have look at all the images inside
Which of course has nothing to do with caching images for the back-end. But most likely the problem is with your thumbnail selection. See the thread pointed to by acrylian.

Member
Member
JerryG   2012-01-24, 23:48
#9

The thread doesn't really tell me much. =(

Member
Member
sbillard   2012-01-25, 01:34
#10

Sorry, I meant the post here by acrylian with regard to album thumbnail selection.

Member
Member
JerryG   2012-01-26, 16:19
#11

I can't edit the default album thumbnail because I cannot get into an album and edit it.

Administrator
Administrator
acrylian   2012-01-26, 18:06
#12

So you can't access the mail albums tab at all? Then your only chance is to access the album(s) via the admin toolbox from the front end only.

You probably might need to consider to upgrade your server so it is able to do the task especially if these images are quite big dimension wise.

Member
Member
JerryG   2012-01-26, 18:34
#13

Is there any way to implement album sorting in the front end?

Member
Member
sbillard   2012-01-26, 20:29
#14

That is a back-end function. It is accessable by appropriately permissioned users via the admin toolbox which will show on the front end.

You ask if there is any way to implement it for the front end and of course the answer is yes since the technique used on the back end could also be used on the front end. However we have no intention of doing this as it seems unnecessary and would present all sorts of security risks.

Member
Member
JerryG   2012-01-26, 20:55
#15

So what do I do? I can't edit my albums and my server is already pretty top notch as it is.

Member
Member
sbillard   2012-01-26, 22:56
#16

Did you try clicking on the button to use thumb standins?

Member
Member
JerryG   2012-01-27, 16:06
#17

Where do I find that option?

Administrator
Administrator
acrylian   2012-01-27, 19:28
#18

Well, that one is on the albums tab you cannot access actually... You probably need to set that via a MySQL query in this case I fear (sorry, don't know how it is called there right now).

If you can access Options > Gallery see also if these options are not checked:
Gallery behaviour > visual thumb selection
Gallery behaviour > show subalbum thumbs

Member
Member
sbillard   2012-01-28, 00:56
#19

Your first post said that the page loads partly. If so, then the button is at the top of the list of albums. If your page is not loading at least that far, then the problem is entirely different.

Member
Member
JerryG   2012-01-28, 02:54
#20

I am able to access the options page and while I already have Visual Thumb checked, there is no option for "Show Subalbum Thumbs." Perhaps that was added in a later version. I'm running on 1.2.1, I believe.

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.