Cannot create thumbnails
-
I am trying to upload images and it does not create the thumbnails. I have edited my memory limits and still it is a no go. Does anyone have any ideas on how I can make the broken image icon go away? ??
thank you
-
I found that if you upload pics one at a time you get thumbnail. Time-consuming but better than no thumbnail!
I will try tomorrow…
Niall, did you do the gallery check at the gallery’s dashboard? Do you also get a limited size result e.g. 800 x 600 like me? My other (working) blogs show a limit set to about 3xxx x 2xxx (same provider but older wp/ngg versions). And I use to upload pics that I have resized to 800×600 px before upload… and the thumbs should be 100×100…
Sounds like a memory setting prob?! Don’t know….
Good night to everybody ??
OK, now I am completely lost and saved. As I urgently needed a gallery and the NGG did not work, I started looking for an alternative. None really were to my liking. I installed cube3D. It did not show up but my menu of the NGG showed up again. I checked one of my galleries to which I could not generate the thumbnails. This gallery has two pages, on page one I tried before to generate or re-generate the thumbnails. Now, as by magic they were showing. Page two was still devoid of thumbnails. I tried the re-generate thing. The progress bar (floating again) showed and went through its thing. I had to close the window when finished and no thumbnails were showing. I clicked update and wow there they all were!! Now i created a new gallery and the thumbnails were generated at once, no problem.
Right now thus it works as it should, hope it continues until the fix is there.
I just want to share this as it is worth a try and could provide some clues as to the cause.
Good luck
AndreHello:
My gallerycheck show no issues at all, even when it did not generate the thumbnails .
AndreHi again ??
Now I checked if a thumbnail is created when uploading only one image: No.
I also upgraded back from 1.7.4 to 1.8.2: no changes, it still doesn’t work.One thing changed since yesterday (without doing anything oO): The plugin Check says, that NO image could be created because the limit is to low…
So I changed the settings in the /lib/gd.thumbnail.inc.php to
// @ini_set('memory_limit', '128M');
to
@ini_set('memory_limit', '64M');
But this even doesn’t solve my problem. Hm…My server settings:
Betriebssystem : Linux (32 Bit)
Server : Apache
Speicherverbrauch : 30.56 MByte
MySQL Version : 5.0.51a-24+lenny5-log
SQL Modus : Nicht gesetzt
PHP Version : 5.3.6
PHP Safe Mode : Aus
PHP Allow URL fopen : An
PHP Memory Limit : 32
PHP Max Upload Gr??e : 12M
PHP Max Post Gr??e : 12M
PCRE Backtracking Limit : 500000
PHP Max Script Execute Time : 50s
PHP Exif Modul : Ja ( V1.4 )
PHP IPTC Modul : Ja
PHP XML Modul : JaGrafik-Bibliothek
GD Version : bundled (2.0.34 compatible)
FreeType Support : Ja
FreeType Linkage : with freetype
T1Lib Support : Ja
GIF Read Support : Ja
GIF Create Support : Ja
JPEG Support : Ja
PNG Support : Ja
WBMP Support : Ja
XPM Support : Ja
XBM Support : Ja
JIS-mapped Japanese Font Support : NeinI’m not able to find a reason in this? Anybody else perhaps?
It’s exactly the same provider I use for my other blogs and only this one isn’t working…Thanks
JillEdit: I forgot to mention that after setting the memory limit in the gd.thumbnail.inc.php to 64 or 128 also the post preview of the pics doesn’t work, so I switched it back.
The plugin can’t raise the memory limit if it’s limited by the server (= your hoster). Again please read & understand this :
https://alexrabe.de/2008/05/13/understand-gd-library/
Every new WordPress Version & every new plugin require more memory, also the thumbnail creation works a long time, you could hit the limit during the next upgrade.
See also this post : https://alexrabe.de/2008/03/21/11-3/
You can see a hoster can limit the memory without a chance for my plugin to recognize it.
Hmmm, well, I thought a memory_limit of 50M would be enough but, apparently it wasn’t. I just upped it to 120M and thumbnails are working now.
Thanks for the answer – that helps me to save time for now. Sorry that I myself didn’t find your explanation of the limit thing while searching for a solution. Of course I had a look at the plugin’s page but.. I just didn’t find it.
So I hope that my hoster will increase the memory limit. Waiting now for an answer. If not, I fear that I’ll have to look for another – less memory using – solution.. or change the hoster *sigh*
I really appreciate the plugin and your consistent work and revision of it, Alex. This is the first time I wasn’t able to fix a problem so I asked – thanks for your advice ??
Tried the memory test & it worked ok.
Tried uploading pictures again & it worked fine.
No idea what’s changed – maybe my provider’s given me more memory or maybe I was doing something wrong before?
Thanks for your help Alex & everybody else ??
Sorry for my ignorance
I have upped my memory, both bandwidth and quota to 1GB and I am still not able to get thumbs
What memory am I looking for? I have a resellers account with hostgator but cannot see any other memory option.
You need to up the PHP memory, in your php.ini file. For example, my thumbnails are working with 120MB. This is the line I added to my php.ini file:
memory_limit = 120M
Thanks I got that set to 500 m and still no thumbs
The thumbnails are not being created in the thumbnail directory. The path seems correct but there are no files in that folder.
Even after setting the memory limit to 1gb they still give a memory error.
Bye Bye plugin onto something less flaky
Hello:
Well all I can say is this: ever since I installed and activated the Cube3D plugin, everything works fine with NGG, uploads without a problem and generates the thumbnails without a problem. In fact, I have full functionality in NGG.
This is not machine or ISP related as I work on different machines with different ISP’s. One thing they all have in common is the OS: Windows7. I work even with both IE and Firefox, no problem. I did NOT use the Cube3D plug as I prefer NGG because it does not crop the thumb not even when they are portrait!
This might be a dirty solution but it works and I am quite happy with it pending an upgrade and/or fix of NGG.
My upload limit sits at 30 MB by the way and with this configuration I uploaded 37 pictures in one batch and the thumbnails were generated ! The only difference I see is that the progress bar was docked at the bottom (after the upgrade to 1.8.2) and is now floating (again as it used with 1.8.1).I would make sure that your host allows you to increase the PHP memory.
- The topic ‘Cannot create thumbnails’ is closed to new replies.