ECard problem with normal_ prefix ECard problem with normal_ prefix
 

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

ECard problem with normal_ prefix

Started by kunjan1029, August 25, 2004, 12:17:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kunjan1029

Hello,

I have a weird problem with the normal_ prefix

when i send ecards get_pic_url prefixes normal_ to the image names

how ever the album i am sending ecards from doesnt have any image prefixed with normal.

So how can i stop get_pic_url to stop adding normal_
or conversely

say a user uploads abc.jpg
thumb_abc.jpg is the thumbnail

what is normal_abc.jpg when is it generated?

for this particular album i have no normal_ 's

so when i send the ecard nothing shows up if i replace the img location with one without normal_ it works

Can't figure out the problem

K.

Casper

Have you changed the config setting for intermediate size pics.  Coppermine creates a 'normal' pic if the original is bigger than that setting. 

The ecard.php checks this setting, and looks to see if the original is bigger than that, and if so, tries to get the normal pic.  if the original is not bigger than this setting, it just uses the original.

So if you have changed the setting, this could cause this problem.

If this is the cause, either reset the setting, or use the admin tools to rebuild the thumbs and intermediate pics to your new settings.
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

kunjan1029

yahoooo that worrked!!!

Thanks a lot!!!

K.