PDA

View Full Version : Resizing problem


Bcaps
7th of December 2003 (Sun), 03:48
I had uploaded about 7 or so photos to test my install and everything seemed to work. I was able to browse the gallery with no problems and all images were the appropriate size. I'm using two sizes (normal and big) and the thumbs and microthumbs.

Then, I wanted the microthumbs to be a little bigger so in the reisize method editor I changed the value for microthumbs from 43 to 60.

Then, I deleted all the photos using the copy/move/delete editor and then uploaded them again. However, when I did this the microthumbs no longer show up and the "thumbnails" are actually the size of the "normal" photos. I looked at the actual files that were generated during the resizing in my normal/big/thumb/microthumb directories and all of the images are the same size. I reverted the microthumbs back to 43 pixels but I'm stil getting the same problem. Also, when I now go to the Resize Methods editor, the previous "big" method is no longer listed.

Any idea what could be going wrong?

Pekka
7th of December 2003 (Sun), 07:40
Go to path editor and see that each thumb path and microthumb path has something else than NONE selected as resize method (dropdown menu).

In any case save path editor once to update it. If there is some bug you will see the correct settings after you save it once.

If one changes resize method's graphics engine even momentarily to some engine that is not available path editor setting for that size resets to "NONE" which procudes full size.

Let me know if that was the problem.

Bcaps
7th of December 2003 (Sun), 16:27
I tried that and I'm still getting the full size thumbs/microthumbs.

Is there a way to reset everything to default?

Pekka
7th of December 2003 (Sun), 18:18
Bcaps wrote:
I tried that and I'm still getting the full size thumbs/microthumbs.

Is there a way to reset everything to default?

No, there is no reset all button now.

Your problem is a bit strange because in latest beta thumbs and microthumb produce no image if the resize engine fails. In earlier betas you got fullsize image, but not with latest.

What graphics engine do you use?

Please give this troubleshooting advice one more try (if you still can't get it right, mail me to pekka AT photography-on-the.net your input folder address and I'll check it out ASAP):

These are the items that you should check when having resizing problems:

1. Graphics modules editor:
Do graphics modules tests for the modules you need to use. Click "xxx is installed" - button after it works.

2. Resize methods:
If you use ImageMagick, test the sizes.

3. Path setup:
Make sure resize methods are correct.

4. Exhibition editor:
Make sure the thumb and microthumb paths as correct for each exhibition.

5. Upload page:
Make sure that you select right sizes when uploading.

6. View ftp messages:
What does the ftp message flow say about resizing?

Bcaps
8th of December 2003 (Mon), 13:58
I figured out the problem, which was all my doing. At one point I had copied the Gallery folder from my server to my local computer, deleted the server Gallery folder and then ftp'd the Gallery folder back to the server. Of course, all of the chmod settings were lost when I did this... Setting chmod settings fixed the problem.