Page 1 of 2

Once again - problem with thumbnail-creation

Posted: 23 Mar 2011, 18:58
by Silberchen
Hi,
I installed phoca on my joomla 1.5.20-Page.
There is one category that contains 6 pics.
In the beginning 3 of them got thumbnails, after some tries in recreation and re-installation these disappeared, and now there are no thumbnails at all.
Whenever I click "recreate", it takes a moment, then the page is reloaded with the message "Thumbnail deleted and recreated". But it isn't, the thumbs-folder is empty.

I searched through this forum, and tried many things, but no hint seems to work.
I tried:

Checking, if GD is activated. Here are the settings:

Code: Select all

GD Support 	enabled
GD Version 	bundled (2.0.34 compatible)
FreeType Support 	enabled
FreeType Linkage 	with freetype
FreeType Version 	2.3.5
T1Lib Support 	enabled
GIF Read Support 	enabled
GIF Create Support 	enabled
JPG Support 	enabled
PNG Support 	enabled
WBMP Support 	enabled
XBM Support 	enabled 
Checking for memory:

Code: Select all

memory_limit	25M
The pics (jpg) are about 800kb max, the first pics to be created were the larger ones.

I use the slideshow-Plugin, and when I set the settings to "show original size", the pics are shown (though, of course, cropped)
Permission for the /thumbs -folder is 755

The page is this one: http://www.plattsnacker-grafhorn.de


I don't know what else could be wrong. If I missed a thread that contains the solution, please be so kind and tell me about it. Thank you
Stefanie

P.S.
I am a super-admin, by the way, because being only admin could cause this problem, too.

Re: Once again - problem with thumbnail-creation

Posted: 24 Mar 2011, 00:25
by jbx
I have the the same above regarding GD ....

I get the red stop thumbnail... in the top right

I will say it is frustrating, i haven't done much because every time I go to load a pic it doesn't work right.

anyways... what else could it be?

Re: Once again - problem with thumbnail-creation

Posted: 25 Mar 2011, 02:27
by Jan
Hi you should enable php error reporting, maybe you get more detailed info from php.

Jan

Re: Once again - problem with thumbnail-creation

Posted: 26 Mar 2011, 16:58
by Silberchen
I set the error reporting to maximum (in Site - Configuration - Server; hope that was the correct place?).
When I try to create the thumbnails, no error is reported at all. Or is there any errorlog where I could look? I only checked the site that was loaded after creating the thumbnails.

If someone has a look at my page right now and wonders why the slideshow works: I uploaded small pictures and use the orgininal size.

Re: Once again - problem with thumbnail-creation

Posted: 30 Mar 2011, 18:14
by Jan

Re: Once again - problem with thumbnail-creation

Posted: 29 Apr 2011, 00:06
by williamconifer
Hey I'm having the same problem.

Here is the error I am getting.

Fatal error: Out of memory (allocated 64749568) (tried to allocate 19008 bytes) in /home/xxxxxxxx/public_html/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214

I have increased the memory_limit to 250 meg. (I know that's high but I wanted to be sure).

To be clear, If I have enabled thumbnail creation in parameters, I will get this error when I click on the Files tab in Phoca Gallery. This is really frustrating my client.

Thanks
Jack Hughes

Re: Once again - problem with thumbnail-creation

Posted: 03 May 2011, 09:30
by Jan
Hi, which size the image have. GD libraries on the server normally work with images up to 2MB (3MB)?

Re: Once again - problem with thumbnail-creation

Posted: 04 May 2011, 00:01
by williamconifer
Thanks for the reply Jan.

I have set the upload limit to 64 meg.

I could understand this concern if the error was happening when I was uploading images but it's not. The error occurs when I have the phoca config set to auto create thumbnails and I then go to the Images tab. I get a white page with this error.

Re: Once again - problem with thumbnail-creation

Posted: 09 May 2011, 22:30
by Jan
Hi, the uploading is not a problem (64mb for upload does not have any relationship to memory needed by GD library while creating thumbnails)

Example (really only example): for 2MB large image you need e.g. 50MB of RAM (on your server) to create thumbnail

So this is why you got the problems while thumbnail creating when GD on your serve was working.

Jan

Re: Once again - problem with thumbnail-creation

Posted: 11 May 2011, 16:12
by cvoogt
I am getting this same issue. I have php.ini configured to show all errors, and Joomla is configured for maximum error reporting. I get no errors, but only the first of each batch of thumbnails ever gets created. My memory_limit is 128 mb and the maximum size of any of my images is under 100 Kb per image. So file sizes and memory should also be no problem. It's not a permissions issue ... it *does* create the first image in the batch .. just not any others!

Running Phoca Gallery 2.7.5.