Gallery is a subdomain... how to use it? Gallery is a subdomain... how to use it?
 

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]

Main Menu

Gallery is a subdomain... how to use it?

Started by lostemilie, June 12, 2009, 11:09:34 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lostemilie

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

Nibbler

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

lostemilie

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

phill104

And thank you for coming back and resolving your thread.
It is a mistake to think you can solve any major problems just with potatoes.