forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: andrewedmondson on August 03, 2008, 03:53:44 pm

Title: Thumbnails poor quality
Post by: andrewedmondson on August 03, 2008, 03:53:44 pm
In my gallery

http://www.balcombevillage.co.uk/coppermine/thumbnails.php?album=2

the thumbnails are poor quality.

I can't remember how I uploaded them now, but I think I used an automated process.
Title: Re: Thumbnails poor quality
Post by: Crazymodder on August 03, 2008, 04:12:12 pm
Which version gd do you use?
Title: Re: Thumbnails poor quality
Post by: Nibbler on August 03, 2008, 04:36:49 pm
You are using GD1. Change to GD2 or ImageMagick in config then rebuild your thumbnails using admin tools.
Title: Re: Thumbnails poor quality
Post by: andrewedmondson on August 03, 2008, 10:47:24 pm
I used phpinfo.php and it said the installed version is GD2.

I used Admin panel to update thumbnails, but they are still poor quality.

Title: Re: Thumbnails poor quality
Post by: Nibbler on August 03, 2008, 10:48:04 pm
You need to actively switch to GD2 in config.
Title: Re: Thumbnails poor quality
Post by: andrewedmondson on August 03, 2008, 11:11:46 pm
Done that but still have the same problem.

Perhaps there is something wrong with the original files?

Title: Re: Thumbnails poor quality
Post by: Nibbler on August 03, 2008, 11:14:06 pm
Originals are fine, we can see that for ourselves. Verify that you switched to GD2 in config and then rebuilt thumbnails.
Title: Re: Thumbnails poor quality
Post by: andrewedmondson on August 03, 2008, 11:19:17 pm
Yes, I've double checked both.

PS If you reply much quicker, you'll be replying before I ask a question  ;D
Title: Re: Thumbnails poor quality
Post by: Joachim Müller on August 04, 2008, 07:17:38 am
Try adding a new pic and see if that comes out fine as a thumb. My guess is that you're having issues using the admin tools, so let's look into this later. Try fresh uploads first.
Title: Re: Thumbnails poor quality
Post by: andrewedmondson on August 08, 2008, 09:33:47 pm
Thumbnails of newly uploaded photos are OK.

I could upload all photos again, but I will lose the numbers of viewings.
Title: Re: Thumbnails poor quality
Post by: Stramm on August 09, 2008, 12:29:10 pm
Use the admin tools to recreate the thumbnails as Nibbler already suggested.
Title: Re: Thumbnails poor quality
Post by: andrewedmondson on August 09, 2008, 01:37:51 pm
I tried that twice, to no effect.
Title: Re: Thumbnails poor quality
Post by: Nibbler on August 09, 2008, 01:47:53 pm
Check your file permissions. The albums directory and all subdirectories and files must be writeable. Coppermine won't be able to create the new thumbnails otherwise.
Title: Re: Thumbnails poor quality
Post by: andrewedmondson on August 09, 2008, 04:18:20 pm
Yes, they are all 777. I changed all folders to this and used Admin to resubmit thumbnails.

Same problem.
Title: Re: Thumbnails poor quality
Post by: Joachim Müller on August 09, 2008, 08:01:05 pm
777 might not be correct. Read up the permissions section of the docs. If this doesn't help, ask your webhost for support.
Title: Re: Thumbnails poor quality
Post by: andrewedmondson on August 09, 2008, 10:34:51 pm
Checked that. 777 is correct. I'm close to giving up. I can't imagine these damned thumbnails appearing normal.
Title: Re: Thumbnails poor quality
Post by: Joachim Müller on August 10, 2008, 08:18:34 am
What did your webhost say?
Title: Re: Thumbnails poor quality
Post by: Stramm on August 10, 2008, 09:13:19 am
And make sure all files in those folders are chmodded 644 or 666 (depending on your server setup). If one doesn't work, try the other. In case overwriting the files still won't work, contact your webhost.
Title: Re: Thumbnails poor quality
Post by: andrewedmondson on August 11, 2008, 07:06:35 pm
I thought you'd cracked it for a moment.

I did not CHMOD individual files to 777. Now I have done so, the problem remains.

I have emailed my webhost VISPA, but don't hold out much hope of them helping.

666 allows reading and writing. 777 allows execution additionally. All of the image files revert to 666 after CHMOD to 777. I suppose this is because they are not executable.
Title: Re: Thumbnails poor quality
Post by: andrewedmondson on August 21, 2008, 07:41:26 pm
I contacted VISPA ISP support. Here is their reply:

I have run "[root@neptune coppermine]# chmod -R 777 albums/" as per their request. You can actually do this using a good FTP client such as SmartFTP, WinFTP etc...

I've just had a look at the album and I see what you mean  :-(

To be deadly honest, it could well be that the version on the server is out of date. I suggest you try downloading the latest version and installing it manually using FTP.


I recently updated to the latest version, so I am back to square one.

Any more ideas? If not, I'll just have to start again, and forget about the viewings history. I'd rather have good thumbnails.
Title: Re: Thumbnails poor quality
Post by: Stramm on August 22, 2008, 09:30:41 pm
Please read my last post again...
Quote
And make sure all files in those folders are chmodded 644 or 666


GD2/ PHP needs permission to overwrite files. If that isn't permitted either by the file permissions or ownership it won't work.