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

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

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.