Thumbnail Images appear blocky and mono...

TheMole
TheMole's picture

Joined: 2002-09-03
Posts: 6
Posted: Tue, 2002-09-03 22:14

Recently all new thumbnails are appearing in black / white and all blocky.

For an example, http://www.buhsnarf.net/modules.php?set_albumName=album02&op=modload&name=Gallery&file=index&include=view_album.php

Any ideas?

Thanks in advance :smile:

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Wed, 2002-09-04 01:36

I have no idea myself, but you can try turning on debug mode to
see if any errors are popping up that might be causing this.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-09-04 05:29

This is because you upgraded your Gallery but did not read the UPGRADING document. Specifically, you didn't follow step 2 of the instructions below:

(this is a quote from the UPGRADING doc)

Quote:
1. HOW TO UPGRADE GALLERY

In general, upgrading is very easy. You won't lose any data, you
won't have to rebuild your albums. If you're running an unmodified
(ie, you haven't changed the code -- changing html_wrap files don't
count), relatively recent version of Gallery then the upgrade process
will take all of about a minute.

1. Make a backup of your old Gallery installation
2. Put your Gallery in config mode (ie, 'sh configure.sh')

***********************************************
* MOST PROBLEMS IN THE UPGRADE PROCESS HAPPEN *
* BECAUSE YOU FORGET TO DO STEP 2! *
***********************************************

3. Unpack the new Gallery on top of your old one
4. Put your Gallery in secure mode (ie, 'sh secure.sh')

You must re-do the entire upgrade process from scratch. Then, once it's complete you'll need to click the [rebuild thumbs] link to rebuild any thumbnails that are blocky (same for blocky highlights).

-Bharat

 
TheMole
TheMole's picture

Joined: 2002-09-03
Posts: 6
Posted: Wed, 2002-09-04 10:48

I did the upgrade instructions step by step and even ran the configure.sh shell script.

Anyways, I'll try again and report back.

Thanks for the quick help :grin:

 
TheMole
TheMole's picture

Joined: 2002-09-03
Posts: 6
Posted: Wed, 2002-09-04 11:24

Right, I did all the above and no joy when rebuilding thumbs, so I turned debug mode on and it gave this in the window when rebuilding the thumbs.

<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>
Processing image 1...

Executing:

/home/themole/public_html/pics/netpbm/jpegtopnm /home/
themole/public_html/pics/albums/album02/aaa.jpg | /home/
themole/public_html/pics/netpbm/pnmscale -xysize 150 150 | /
home/themole/public_html/pics/netpbm/ppmtojpeg --quality=95 >
/home/themole/public_html/pics/albums/album02/ aaa.thumb.jpg

Results:

none

Error messages:

jpegtopnm: WRITING PPM FILE
pnmscale: Scaling by 0.426136 horizontally to 150 columns.
pnmscale: Scaling by 0.427083 vertically to 123 rows.
pnmscale: 0.000000 of right column stretched due to arithmetic imprecision

Status: 0 (expected 0)
</TD></TR></TABLE><!-- BBCode End -->

Any idea? The only error I got on installation was that it couldn't find the EXIF thing, which it never has been able to, but I didn't think this was a particuarly bad thing.

[edited to remove stretching of board :razz:]

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2002-09-05 03:33

Hmm. Can you send a pointer so that I can look at one of the blocky thumbs? I clicked the link in your original post and all those thumbs look good at the moment.

 
neilcreek

Joined: 2002-09-05
Posts: 52
Posted: Thu, 2002-09-05 05:16

I read this thread yesterday (was only able to register today), and from the looks of your thumbnails, it seemed they were set to the highest jpg compression. That mono blocky look is what you get when you compress a jpg file as far as it will go.

I don't know if this will help you solve your problem, but I thought it might shed some light on it.

 
TheMole
TheMole's picture

Joined: 2002-09-03
Posts: 6
Posted: Thu, 2002-09-05 13:40
Quote:
Hmm. Can you send a pointer so that I can look at one of the blocky thumbs? I clicked the link in your original post and all those thumbs look good at the moment.

Umm, that's right.. Everything seems back to normal.. Well, I'm certainly confused as I haven't changed anything, maybe it was my proxy messing up?

I dunno, anyways, sorry :razz:

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Fri, 2002-09-06 05:39

You didn't change anything? Did you even rebuild the thumbnails?
I checked your album after you posted and saw exactly what you were
talking about, then checked back and they all looked fine. Was wondering
what you did to fix it :razz:

 
TheMole
TheMole's picture

Joined: 2002-09-03
Posts: 6
Posted: Fri, 2002-09-06 13:37

I dunno what I did!

I went to work, came back and it was fixed... :lol:

I wish I did know so if it happens again I can fix it... Who knows.