WordPress.org

Ready to get started?Download WordPress

Forums

Coppermine (18 posts)

  1. lennart
    Member
    Posted 10 years ago #

    Hi,
    is anyone working on a Coppermine integration with WordPress? If not I will give it a shot...
    What I want to do is show the images of a coppmine album as a single post in WordPress. Maybe show a single image in a "normal" post.
    I am open for suggestions, so feel free.

  2. carthik
    Member
    Posted 10 years ago #

    Nobody is working towards it. I was thinking of giving gallery a shot, but gave it up for several reasons.

  3. eke
    Member
    Posted 10 years ago #

    err coppermine is full of sloppy code, has a most inflexible template system with zillions of hardcoded tags and validates as... err HMTL? not even that since there's missing tags all over the place. just take ANY page coppermine creates and paste it into your html eddy and do a sytnax check...
    i don't know how people come to praise coppermine. yeah it "works" but is it any good? not by my standards.
    gallery is better than coppermine, still also has major flaws and for sure is simply overkill for WP imho.
    i was more thinking along the lines of integrating image posting more neatly with WP (e.g. as in drupal with image module), supporting EXIF data and thumb navigation, all javascript less, since I really don't want to use javascript if i can avoid it.
    no "gallery" script is needed to achive that. besides I came to the conclusion that any and CMS to date falls short on "content management" since for me everything can be content, not just text and images...
    nu to coppermine and ni to gallery
    eke

  4. nsxpower
    Member
    Posted 10 years ago #

    I've used both Coppermine and PHP Gallery. PHP Gallery is much much better overall, despite not looking very pretty out of the box. V 2.0 should bring a lot of enchancements and MySQL backend ... I'm waiting.

  5. idahocline
    Member
    Posted 10 years ago #

    I wrote a small integration of Coppermine in WP.
    Just have a look on my site, (the module is downloadable) :
    blog.idahocline.com
    All gallery systems have advantages. Some are better than others...Let's say Coppermine is not bad, Gallery is not bad, etc...

  6. BAKSHI
    Member
    Posted 10 years ago #

    Thank you Idaho. Fortunately I'm one of those Coppermine gallery users. (Sneers at the gallery users and rubs mud on the faces of the Gallery users.) Thank you for the module!

  7. Anonymous
    Unregistered
    Posted 10 years ago #

    I wrote another coppermine plugin here.
    Here's the link to the post in the forum: http://wordpress.org/support/10/4554
    It will display a random image from your coppermine gallery on the frontpage. The image is clickable and will bring up the album display. It will also display the title of the image under the thumbnail.
    You can see it in action here: http://www.blog.jydesign.biz

  8. Anonymous
    Unregistered
    Posted 10 years ago #

    @idahocline
    How can I make your hack work? Can't find any instructions on your blog:/

  9. Anonymous
    Unregistered
    Posted 10 years ago #

    I second Anonymous' "suggestion", idahocline. Your hack looks GREAT, but it needs a readme or at least some basic instruction. Not all of us are coders, ya know ;-)

  10. idahocline
    Member
    Posted 10 years ago #

    True ! I know ! But I am rather busy...I just had few help on my site.
    I have only few hours a week to surf, develop. And furthermore as I am a bit lazy (yeah !) and I hate writing doc....You know always the same story ! ;o)
    Soon (normaly this week-end), a new section will be available, where all hacks/modules will be documented...

  11. Denniz
    Member
    Posted 10 years ago #

    Ok thanks for your reply. Looking forward to use your hack!

  12. ahreno
    Member
    Posted 10 years ago #

    Is there any chance of anyone writing a bridge to allow me to login to word press and coppermine at the same time? I can offer some free webhosting if you can do it... drop me a line for more info. wordpress@ahreno.com

  13. Anonymous
    Unregistered
    Posted 10 years ago #

    Hi!
    I got your hack from http://www.lennartgroetzbach.de/phps/cpg.plugin.phps
    and I installed it, but now, everytime I post the code for the image all I get when I want to view it is this:
    SQL/DB Error:
    [You have an error in your SQL syntax near 'OFFSET 4' at line 1]
    SELECT filepath, filename, title FROM pix_pictures WHERE aid=5 ORDER BY 5 LIMIT 1 OFFSET 4
    the blog is here: http://www.riding-shotgun.de/blog/
    help would be very much apriciated.

  14. lennart
    Member
    Posted 10 years ago #

    Hi,
    I am currently re-doing the hack. I will post the updated version as soon as I am done!

  15. lennart
    Member
    Posted 10 years ago #

    Hi,
    I updated the hack! The cpg tables MUST be in the same database as the wordpress tables, otherwise the thing won't work.
    The plugin supports now three commands:
    [cpg_image:2,4] --> would insert the 4th image in the 2nd album
    [cpg_album:4] inserts clickable album thumbnails
    [cpg_random:2,normal] inserts a random image of the 2nd album in normal size ("thumb" can also be used as the second parameter)
    Here ist the link to thesource code...

  16. Anonymous
    Unregistered
    Posted 10 years ago #

    lennart: could you please allow thumbnailed images to be posted individually and linked the normalised versions?
    I'd like to be able to post certain images from an album, but still be able to click on them to show a larger version..
    thanks in advance!

  17. pappergank
    Member
    Posted 10 years ago #

    Lennart:
    (or anyone who can help me with Lennart's hack). I love this hack but am having some problems getting it to work for me. First, I can't get the cpg_image and the cpg_random commands to work at all. Nothing shows up in the entry. I can get the cpg_album command to work but when I click on an image i get a "this page does not exist" error. Here is a link to my page: http://www.pappergank.com/ms/blacksheep/.
    Thanks for your help!

  18. pappergank
    Member
    Posted 10 years ago #

    Okay, I figured out what was wrong...It is an issue with Coppermine. For some reason, coppermine wasn't creating "Normal" images for some of my pictures. I think if they are smaller than a certain size it doesn't make "normal" images. Lennart's hack points to images with "normal_" before the image name. So if there are no "normal" images then the image, of course, doesn't exist. Hence the "file not found" error. It's easily fixed by uploading images that can be normalized by Copppermine.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.