I really like the gallery and it runs fine on my desktop system. However I cannot generate thumbnails or view images on remote site I am is process of building. Sometimes I get an out of memory message from line 214 of the imagemagic.php file. a createimage statement. Images are in the category I am testing and media manager knows how to display them, but not the gallery. I am stuck and hesitate to experiment more without some guidance. Can someone help?
Thank you. Carl Singer
images do not display
-
gilsingb
- Phoca Member

- Posts: 48
- Joined: 14 Feb 2008, 15:07
Re: images do not display
Carl,
upload your pictures in 640x480 then you will not run into this problem. I used to upload them in 1024x768 and I would run into broblems as well. now I resize them and things go ok
Ben Gilsing
upload your pictures in 640x480 then you will not run into this problem. I used to upload them in 1024x768 and I would run into broblems as well. now I resize them and things go ok
Ben Gilsing
-
csinger1
- Phoca Newbie

- Posts: 5
- Joined: 11 Dec 2009, 19:59
Re: images do not display
I experimented with a 640x480 jpg. I deleted all photos from the category, went to the image form, selected add, got the form , selected the category and clicked on the image icon to select the filename to add, a window popped up and immediately I saw the message:
Fatal error: Out of memory (allocated 42205184) (tried to allocate 16000 bytes) in /home/carlsinger/www/sing/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214
Are thumbnails being generated for use in the popup (e.g. folder images) and that is why the error?
I am thinking there is a server or php parameter on the remote that has a wrong value.
Fatal error: Out of memory (allocated 42205184) (tried to allocate 16000 bytes) in /home/carlsinger/www/sing/administrator/components/com_phocagallery/libraries/phocagallery/image/imagemagic.php on line 214
Are thumbnails being generated for use in the popup (e.g. folder images) and that is why the error?
I am thinking there is a server or php parameter on the remote that has a wrong value.
-
thijeleo
- Phoca Member

- Posts: 35
- Joined: 05 Jan 2008, 21:24
- Location: Netherlands
- Contact:
Re: images do not display
On the server, in each images/phocagallery/foldername Phoca creates a subfolder thumbs. In order to be able to do this, de CHMod of the foldername should be 755 minimal, otherwise the map thumbs cannot be created.
Joomla can give you this error if the creation of de folder thumbs is not possible.
Joomla can give you this error if the creation of de folder thumbs is not possible.
-
csinger1
- Phoca Newbie

- Posts: 5
- Joined: 11 Dec 2009, 19:59
Re: images do not display
Last question... I hope. It seems that 755 wasn't enough and I needed to go to 777, giving world write and execute access. Is that a good idea and the only solution? And THANK YOU very much.
-
gilsingb
- Phoca Member

- Posts: 48
- Joined: 14 Feb 2008, 15:07
Re: images do not display
not a good idea. put it back to 755 that should be enough.
more to follow
more to follow
-
gilsingb
- Phoca Member

- Posts: 48
- Joined: 14 Feb 2008, 15:07
Re: images do not display
I have been looking back in the forum and can remember that i had a similar issue. I deleted all pictures from the site and sterted with the 640x480 size. uploaded 10-200 at the time no problems. got about 5000 pics on the site now and have not had an issue with memory anymore.
If you look in the forum for fatal error: out of memory there are several people with similar issues. some have edited the php.ini, just have a browse, you might find more tips there
Ben Gilsing
If you look in the forum for fatal error: out of memory there are several people with similar issues. some have edited the php.ini, just have a browse, you might find more tips there
Ben Gilsing