coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Ecards & Email => Topic started by: RF on September 12, 2004, 01:33:59 AM

Title: viewing ecard
Post by: RF on September 12, 2004, 01:33:59 AM
i recently upgraded to cpg 1.3.2.  I noticed there is a problem with e-card.  I can send e-cards fine.  However, once you try viewing them there is no picture showing up. Just a broken image icon. I tried using outlook and hotmail with the same result.  I tried using the link "If the e-card does not display correctly, click this link" but that did not work either.

I checked the properties on the broken image and got this: "http://www.rumbafactory.com/albums/rubber/normal_DSC0019.JPG."
This means the link is missing the cpg folder .. in other words it should read http://www.rumbafactory.com/cpg/albums/rubber/normal_DSC0019.JPG

I checked the properties on the failing link and noticed the same problem with the url...
"http://www.rumbafactory.com/displayecard.php?data=blablablabla" and should read "http://www.rumbafactory.com/cpg/displayecard.php?data=blablablabla"

I would appreciate any help on how and where to fix this.  I'm not experienced in this at all.  
Title: Re: viewing ecard
Post by: kegobeer on September 12, 2004, 01:36:53 AM
Change the ecard target url in your config settings.
Title: Re: viewing ecard
Post by: RF on September 12, 2004, 02:06:50 AM
ok that makes sense .. thank you... i didn't have a problem with it before so i didn't expect it.. ok now it works fine but i have another problem.. the link for "Click this link to view more pictures !" is not the one I'd like to use.. it's sending them directly to the cpg folder.  Is there a way to send them to another url... in other words instead of "http://www.rumbafactory.com/cpg/" how about just simply "http://www.rumbafactory.com"

thanks again

Title: Re: viewing ecard
Post by: kegobeer on September 12, 2004, 03:10:45 AM
If you want to change that link, open up ecard.php and find

'{VIEW_MORE_TGT}' => $CONFIG['ecards_more_pic_target'],

and replace it with something like this

'{VIEW_MORE_TGT}' => 'http://www.rumbafactory.com',
Title: Re: viewing ecard
Post by: thenomad on September 16, 2004, 11:16:28 AM
I am having a similar problem.

The ecard like is pointing to the correct directory, but an incorrect file. It's pointing to

http://www.thenomadsland.com/gallery/albums/thailand/normal_000018.JPG

but the filename should not actually have normal_ in it. The filename should be

http://www.thenomadsland.com/gallery/albums/thailand/000018.JPG