Re-scale and/or crop already uploaded images Re-scale and/or crop already uploaded images
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Re-scale and/or crop already uploaded images

Started by nicke, August 05, 2004, 07:45:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nicke

I uploaded a bunch of picture directly off my camera. They are a little too big (although I run CM on my own machine, with apache2triad).

I opened the pictures that did NOT have the prefix "normal" or "thumb", manipulated them, saved them using the same name.

Then I went into admin tool and asked CM to rebuild the album with the pictures I resized/cropped.

But - nothing seemed to have happened? CM did repord that the process was successful.

What am I missing? I could of course remove all images and then upload the manipulaed ones again, having to re-enter the comments, loosing the statistics...  :P

Joachim Müller

maybe the pics got cached in your browser. Did you try to force-refresh. Post a deep link to a pic in question.

GauGau

nicke

#2
Hi!

No, I refreshed my browser. The pictures in the database is right (800x600) but when I look at them in the gallery, the thumb and normal picture are OK, (at least they are cropped :-)) but when you click on the normal picture (to see the pic in full size) the  picture is HUGE on screen!

Somehow (but I do not understand how) the picture in the database (when looked upon in Explorer) is right, but Coopermine still thinks the picture is 2272x1704 (which is the pixel size direct from the camera, where the pictures were uploaded from from the beginning).

Another odd thing (but could be the reason this does not work) is that when I look at the "normal" picture, the picture ínformation states that the picture is 2272x1704. But I KNOW it's not - since I have cropped and re-sized the picture.  ???

Here's a link to the picture:

http://wikman.minidns.net/galleri/displayimage.php?pos=-106


Joachim Müller

Oh yes, the dimensions of the original pic are stored in the database. Unless you want to delete and re-upload, use a database tool like phpMyAdmin and change the dimensions there. Once pics are in coppermine's database, you mustn't touch the files themselves with ftp.

GauGau