• The new version of psnGallery (integration of Coppermine in WP) is out.
    View it in action at blog.idahocline.com
    Now in every post, you have access to Coppermine…Album, Pictures via simple tags as “<gallery>”, “<cpg_album>”, “<cpg_thumb>”, “<cpg_gallery>”

Viewing 15 replies - 16 through 30 (of 138 total)
  • Thread Starter idahocline

    (@idahocline)

    there is no tag yet to display one specific picture BUT if you read the code….
    You will find function CPGPicture($pictID, $nSize=1, $before='

    • ', $after='
    • ', $mode='picture', $separator = '—') which is ding what you ask….
      Few others functions exist also as :
      CPGAlbumName($aid)
      CPGCategoryName($cid)
      CPGAlbumPicCount($aid)
      CPGAlbumListCategory($cid, $count=-1, $nSize=1, $before=”, $after=”)
      If you want I can easily add the related tags (eg: <cpg_picture>, <cpg_albumname>, …).

    yes please, add the tags. but do I still need to check mysql for the image id?

    Thread Starter idahocline

    (@idahocline)

    for the mment, yes. I am thinking…
    How do you see the way ? I mean where do you see the image list ?
    Because within the post itself means hacking the “post.html”. Something that I don’t want due to compatibility with few other plugins….
    May be a page within the “admin menu”…Where you will be able to view the coppermine album id, picture id, category id with an eventual preview of the selected item.. What do you think ?

    yes, something like the link manager. that used to be a hack also.
    It was at least when I still had b2.

    Thread Starter idahocline

    (@idahocline)

    yes, a kind of….

    Nice plugin but it’s not working for me. There is a “/” missing in the generated URL, e.g.
    http://website.com/photos [slash should go here] displayimage.php? etc.
    I supposed the script is assuming that CPG is installed in the root?

    Thread Starter idahocline

    (@idahocline)

    nope ! it gets the path to coppermine from the CPG variable : ‘ecards_more_pic_target’. Which is defined in the Coppermine Gallery Configuration tab at “Target address for the ‘See more pictures’ link in e-cards “.
    The value has to be set to the “root” directory of the Coppermine Gallery. And it is true, it must be ended with “/”. For release 1.2.1, I will add the check and also few others stuffs.

    I did figure that one out, and the script works very well. The downside is the URL in displayimage now has two slashes, e.g. ‘http://website.com/photos//displayimage.php?etc. Coppermine apparently places the extra ‘/’ by default. Displayimage.php around line 350 seems to be the culprit but I don’t know how to modify it to fix it.

    Thread Starter idahocline

    (@idahocline)

    the admin part is nearly finished. I have still few check to perform. But normally it version 1.2.1 will be available for Wednesday…..(I hope).
    That release will have :
    – Tags “<cpg_lbumName>”, “<cpg_CategoryName>”, “<cpg_AlbumPicCount>”, “<cpg_AlbumListCategory>”
    – Admin module to view albums and pictures within WordPress (to get the albumid and the pictureid)
    – Few small bugs fixing

    Thread Starter idahocline

    (@idahocline)

    few more information on psnCPGAdmin and psnGallery2 at psnCPGAdmin preview (psnGallery2 admin page)
    Few delay…sorry

    nice work idaho! Looking forward to your admin update 🙂

    Thread Starter idahocline

    (@idahocline)

    few more technical info….
    Change overview

    Thread Starter idahocline

    (@idahocline)

    The psnGallery 1.2.1 is released ! :o)
    Feel free to get it

    Seems like a nice plugin … where to download it from buddy?

    Would be very interested to see this working once blog.idahocline.com is up again.
    Tarique Sani – Lead Dev Coppermine

Viewing 15 replies - 16 through 30 (of 138 total)
  • The topic ‘Plugin psnGallery : Coppermine in WordPress’ is closed to new replies.