Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Gallery is a subdomain... how to use it?  (Read 4244 times)

0 Members and 1 Guest are viewing this topic.

lostemilie

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Gallery is a subdomain... how to use it?
« on: June 12, 2009, 11:09:34 pm »

Hi!
My website is http://www.90210-media.org
and my gallery is http://photo.90210-media.org.

I now installed cpmFetch and had to tweak the include to make it work on my site

<?php
  include "/home/myusername/public_html/photos/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("/home/myusername/public_html/photos/cpmfetch/cpmfetch_config.php");
  $objCpm->cpm_viewLastAddedMedia(1,4);
  $objCpm->cpm_close();
?>

when I use that in wordpress it does include 4 pictures but the link to the pic and the grapics links are wrong

it goes to http://90210-media.org/img/displayimage.php?pos=-45473
instead of http://photos.90210-media.org/displayimage.php?pos=-45473

How can I change that?
I did search here but couldnīt find anything to help me...
Logged

Nibbler

  • Guest
Re: Gallery is a subdomain... how to use it?
« Reply #1 on: June 12, 2009, 11:12:21 pm »

It will link to where you told it Coppermine was installed. Set the correct URL to your gallery in Coppermine's configuration panel.
Logged

lostemilie

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 61
Re: Gallery is a subdomain... how to use it?
« Reply #2 on: June 12, 2009, 11:16:49 pm »

Thank you so much :)
I got the site from someone else and never noticed that. It works now :)
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Gallery is a subdomain... how to use it?
« Reply #3 on: June 12, 2009, 11:32:20 pm »

And thank you for coming back and resolving your thread.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.