Advanced search  

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

Pages: [1]   Go Down

Author Topic: ECard problem with normal_ prefix  (Read 3714 times)

0 Members and 1 Guest are viewing this topic.

kunjan1029

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
ECard problem with normal_ prefix
« on: August 25, 2004, 12:17:18 am »

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.
« Last Edit: August 25, 2004, 09:49:26 am by GauGau »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: ECard problem with normal_ prefix
« Reply #1 on: August 25, 2004, 12:31:13 am »

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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: ECard problem with normal_ prefix
« Reply #2 on: August 25, 2004, 12:38:39 am »

yahoooo that worrked!!!

Thanks a lot!!!

K.
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.