WordPress.org

Ready to get started?Download WordPress

Forums

WordPress and coppermine (21 posts)

  1. sublevel4
    Member
    Posted 9 years ago #

    I am looking to have the ability to place images from coppermine into wordpress posts. I have seen the plugin but it doesn't work and seemes to be for WP v1.2. Is there one out there for 1.5 or is there a way to make the other one work? Anyone have any ideas?

  2. philpeeps
    Member
    Posted 9 years ago #

    i just link the picture I want in my img quicktags tags...

  3. LarryAyers
    Member
    Posted 9 years ago #

    So do I. It's really quick. I also have a small Coppermine Gallery linked from the sidebar.

    I've found that scaling an image to 600 pixels wide is just about right for a Kubrick-like layout.

  4. sublevel4
    Member
    Posted 9 years ago #

    Thanks guys for the replys. I will stick with that for now.

  5. Cypher
    Member
    Posted 9 years ago #

    I use psnGallery2 to post pictures from my Coppermine gallery in posts. Version 1.4.0.A1 is a beta version that works fine in WP 1.5

    Regards

  6. fistabull
    Member
    Posted 9 years ago #

    I use Coppermine Fetch to pull images into my WP 1.5 layout. You can get that code here: Coppermine Fetch . It's fairly easy to get to work, and has a good deal of configuration options. You can check out how I have it in my page here: Fistabull's Flatulations .

  7. philpeeps
    Member
    Posted 9 years ago #

    I too use coppermine fetch when i want to display a random image or last upload from a gallery outside of coppermine, but when linking a particular image, i just code it with the img tags....

  8. fistabull
    Member
    Posted 9 years ago #

    Ahhh, didn't read the initial post closely enough. NM :)

  9. sublevel4
    Member
    Posted 9 years ago #

    yeah i am setting this up for some one else who is not as net savy. i was looking for a way to have a button that would open up a list of the images in the coppermine gallery and then insert the the thumb nail and the link into the post.

    i am not a good enought coder to figure it out myself. but i might need to take a crack at it.

  10. idahocline
    Member
    Posted 9 years ago #

    try mine... psngallery2

  11. sublevel4
    Member
    Posted 9 years ago #

    idahocline - I have installed y ou plugin but i am having some issues. First is the link in the plugin page to confugure the values has the "wp-content" left out of the url.
    ex. : wordpress/plugins/psnGallery2.php

    I have commented out the line 47 that gives errors but i still get error on 97 ever after replacing the line with the one in the comments on your site. How do i fix these errors?

  12. satoshi
    Member
    Posted 9 years ago #

    I get the same errors, it's too much of a pain to get working, so I'm currently looking for another alternative...

  13. shahram_77
    Member
    Posted 8 years ago #

    @ Philipeep: How you link the images from Coppermine gallery into your blog?

  14. sfboarders
    Member
    Posted 8 years ago #

    shahram_77 he uses Coppermine Fetch

  15. toastk
    Member
    Posted 8 years ago #

    Added Coppermine Fetch (cpmfetch) calls to my WordPress sidebar using the standard block of cpmfetch code. The images load, but it seems to hose WordPress's access to my database. That is, all of my WP sidebar content fails to load whenever I add the cpmfetch code. No one else seems to be having this problem... any ideas?


    <?php
    include "../cpmfetch/coppermine.php";
    $objCpm = new cpm("/gallery");
    $objCpm->cpm_viewRandomMedia(3,1);
    $objCpm->cpm_close();
    ?>

  16. courtneyelizabeth
    Member
    Posted 8 years ago #

    its easier to just add your template header to you cpg template.html file

  17. toastk
    Member
    Posted 8 years ago #

    Was that in response to my inquiry? If so, I think there is some confusion. I using cpmfetch to dynamically load random images from my Coppermine gallery (cpg) into my WordPress sidebar. You sound like you are referring to "theming" one's Coppermine gallery, which I've already done. But thanks....

  18. toastk
    Member
    Posted 8 years ago #

    It turns out that the problem I was having was related to using the same database (server + username + password) for both WordPress and Coppermine. By upgrading to the latest DEVELOPMENT build of cpmfetch, the problem was solved. (They now force creation of a new DB link identifier within cpmfetch. Previously, if the same DB credentials were used, PHP would just use the existing link; when cpmfetch was done, it would close out that connection, and wordpress would be shut out.) Another way to solve the problem is to create unique database usernames for WordPress and Coppermine.

  19. kev
    Member
    Posted 8 years ago #

    I would like to know how you craete a theme for coppermine that is the same as your WP blog?

  20. piksi
    Member
    Posted 7 years ago #

    Hello,

    I'm having serious problems with Cpmfetch 1.6.2 and WordPress 2.0.3

    Where should i include the cpmfetch header info (including the cpmfetch.php and instantiating the new object cpm('/coppermineaddress');) ?

    Right now i've included the header lines into the basic wordpress theme file header.php

    I've included also the object disposing (cpm_close) into the footer.php of the theme file.

    My problem is that after instantiating the cpm object, i cannot use it anymore in posts, as it gets unallocated (after leaving the header.php the $objCpm variable doesn't exist, referring to it with calls such as $objCpm->cpm_viewRandomMedia(1,1,$options);
    only return ""

    My coppermine, wordpress and cpmfetch have been installed correctly, i've triple checked everything.

    Would someone please be kind and guide in the proper usage of cpmfetch as i've tried nearly everything now....

    Oh and i'd like to remind people that instantiating the cpmfetch object for EVERY single image in my posts is idiotic, i'd like to open one connection in the beginning of the page and shut it down in the end.

    and for the last info: i have cpm and wordpress in the same database but with different usernames, they were both installed with cpanel

  21. piksi
    Member
    Posted 7 years ago #

    I'm surprised if there is nobody else using cpmfetch + cpm gallery with wordpress :->

    In addition I would like to know how you embed the images into your posts as writing the <?php ?> code isn't interpret as php but plaintext when loading the pages.

    How to include images from coppermine gallery into wordpress posts?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.