![]() |
|
can't get thumbnails to work - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: can't get thumbnails to work (/thread-12571.html) |
can't get thumbnails to work - parsek - 2016-08-25 Hi, I just installed zehphoto, created test album and uploaded 3 photos. I checked permissions and folders set as recommended 0644/0755. When using &debug option, getting the following: Zenphoto Error: the requested object was not found. Please help can't get thumbnails to work - acrylian - 2016-08-25 Also what exactly does not work with the thumbs? Are they broken? Are they not found? In any case what you really need to do is look into your server PHP error log and the debug log of Zenphoto on the backend. Debug mode with &debug only works on running setup. Also To enable debug mode you have to modify the DEBUG_*** constant defines within Anway, looking into the error log is most always already enough for this type of error as it most always comes down to these: http://www.zenphoto.org/news/problems-with-albums-and-images/ can't get thumbnails to work - parsek - 2016-08-26 Here is a link to the photo gallery www.allwebplus.com/photos. I enabled debug and here is what in the log: can't get thumbnails to work - parsek - 2016-08-26 Here what I got with '&debug' Album: [ test ], Image: [ IMG2477.jpg ] Image filesize: 1890094 Debug i.php | Arguments:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 13056 bytes) in /home/allwe2/public_html/photos/zp-core/lib-GD.php on line 91. I understand it is problem with my php.ini setting. But my site is on shared server and I am not sure if will allowed to make any changes. can't get thumbnails to work - acrylian - 2016-08-26 On a shared host you are most likely indeed not allowed to change that values. So it is just as the link I posted above tells as well that some of your images uploaded are too large for your server to be processed. You got around 3264x2448px. Filesize does not really matter. So the fix is too upload images smaller in size. can't get thumbnails to work - parsek - 2016-08-26 I contacted the support. I am allowed to change setting in php.ini file. Here is what is there now: upload_max_filesize =1G But my php.ini wasn't loading and I needed to make changes in my .htaccess file by adding lines below suPHP_ConfigPath /home/username/public_html Then everything started to work. can't get thumbnails to work - parsek - 2016-08-26 I have a some follow up question. Is there 'back' page navigation option available or I have to make changes to php script. If so, are there some sample code to use? can't get thumbnails to work - acrylian - 2016-08-26 Just to avoid confusion: We call these images thumb > sized image > full image. The full image is normally just the full image itself. So there is no "page" that could have any prev/next navigation as Zenphoto is not involved and literally cannot know. The only exception there is actually a full image page is if it is set to protected. If you really need the full image you can change the theme's image.php to show it directly instead of the sized image. Normally any hires full image might not be needed on a webpage for obvious size and speed reasons of course. |