Delete original size photos failure Delete original size photos failure
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Delete original size photos failure

Started by luchtzak, February 25, 2004, 05:26:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

luchtzak

Hello,

today I tried this function as one of the members had really big 1600*1200 original pics in his folder. All went well but I noticed that the function renames the files to the normal size but forgot to enter the normal_ tag. I had to manually put all normal_ tags before the image!

Is this a bug or am I doing something wrong here?

http://coppermine.luchtzak.be

thanks, kind regards,

Bart

Casper

You shouldn't manually change the file names.  Coppermine knows which is which in the database.

Try viewing the pic you changed.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

luchtzak

When I wanted to view the image (normal) it gave me a 404-image, I checked the img-url with right-mouse click and it was without image_ -tag.

Casper

Change it back to the way coppermine had it, ie, remove the 'normal_'.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here


Casper

No, I mean manually undo all the stuff you did earlier.  You said you manually put in tghe normal_ prefix.  You should not have done that, so undo what you did, then it should work.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here