UPDATE: Version 0.4.6 has been released. Please see this entry or my CoppermineSC page for the latest information.
I’ve just released CoppermineSC version 0.4.5! You can download the new version or visit my CoppermineSC page for complete details about the plugin. You can also view a sample of what CoppermineSC can do. Feel free to post comments and feature requests to this entry.
This version of CoppermineSC should work with WordPress 2.0.1 and with Coppermine 1.4.3 (as well as with some older versions of both programs). More information regarding compatibility can be found in this post.
New Features in Version 0.4.5:
- Added new tags to pull the most recently uploaded images from albums, categories, or from your entire gallery (you can set the maximum number of images to include).
- Added new tags to pull in full-size (original size) images from albums, categories, or from your entire gallery (previous versions were limited to thumbnails only when pulling from albums, categories, or from the entire gallery).
- Added new setting to indicate whether clicking on an image should open the link in a new window (or tab depending on your browser) or just navigate to the link using the current window.
- Added new setting to indicate whether you want images to be left aligned, right aligned, centered, or if you want them to follow the CSS classes that CoppermineSC makes available. Previous versions always followed the CSS classes, so that is the default. In order for the left, right, or center options to work (they will not work properly by default), you will need to set the next new setting appropriately, as described below.
- Added new setting to indicate whether container elements should be div tags or span tags. Span tags are used by default because they will generate XHTML 1.0 Transitional output in a default WordPress setup (but the left, right, and center options described above will not work). In order to use the left, right, or center options in the previous settings, you will have to change this to use div tags. Everything will still render properly if you use div tags, but the output will no longer be compliant with the XHTML 1.0 Transitional specifications (because WordPress will end up putting the div tags inside a p tag because all posts are wrapped in p tags, and you can’t put a div inside a p according to the specifiations). I’m not a CSS genius, so if anyone has a clever way to get an image to align left, right, or center by styling only the img itself, please let me know!
- A detailed list of all changes is available.
New Tags:
- The following tags pull in images from the main database
- These tags pull in thumbnails of images from a specific album in the main database
[cpg_albumnew:4]– inserts thumbnails for all images in album id 4 in order from newest to oldest
[cpg_albumnew:4,10]– inserts thumbnails for the 10 latest uploads from the images in album id 4 - These tags pull in full size / original images from a specific album in the main database
[cpg_albumfullsize:4]– inserts full size / original images for all images in album id 4
[cpg_albumfullsize:4,10]– inserts full size / original images for the first 10 images in album 4
[cpg_albumnewfullsize:4]– inserts full size / original images for all images in album id 4 in order from newest to oldest
[cpg_albumnewfullsize:4,10]– inserts full size / original images for the 10 latest uploads from the images in album id 4
[cpg_albumrandfullsize:4]– inserts full size / original images for all images in album id 4 in random order
[cpg_albumrandfullsize:4,10]– inserts 10 random full size / original images from the images in album id 4
- These tags pull in thumbnails of images from a specific category in the main database
[cpg_catnew:5]– inserts thumbnails for all images in category id 5 in order from newest to oldest
[cpg_catnew:5,12]– inserts thumbnails for the 12 latest uploads from the images in category id 5 - These tags pull in full size / original images from a specific category in the main database
[cpg_catfullsize:5]– inserts full size / original images for all images in category id 5
[cpg_catfullsize:5,12]– inserts full size / original images for the first 12 images in category id 5
[cpg_catnewfullsize:5]– inserts full size / original images for all images in category id 5 in order from newest to oldest
[cpg_catnewfullsize:5,12]– inserts full size / original images for the 12 latest uploads from the images in category id 5
[cpg_catrandfullsize:5]– inserts full size / original images for all images in category id 5 in random order
[cpg_catrandfullsize:5,12]– inserts 12 random full size / original images from the images in category id 5
- This tag pulls in thumbnails of images from your entire gallery in the main database
[cpg_galnew:3]– insert thumbnails for the 3 latest uploads from all the images in the gallery - These tags pull in full size / original images from your entire gallery in the main database
[cpg_galnewfullsize:3]– insert full size / original images for the 3 latest uploads from all the images in the gallery
[cpg_galrandfullsize:3]– inserts 3 random full size / original images from all the images in the gallery
- These tags pull in thumbnails of images from a specific album in the main database
- The following tags pull in images from an additional database
- These tags pull in thumbnails of images from a specific album in an alternate database
[cpg_dbalbumnew:mydbname,4]– inserts thumbnails for all images in album id 4 in order from newest to oldest from database named ‘mydbname’
[cpg_dbalbumnew:mydbname,4,10]– inserts thumbnails for the 10 latest uploads from the images in album id 4 from database named ‘mydbname’ - These tags pull in full size / original images from a specific album in an alternate database
[cpg_dbalbumfullsize:mydbname,4]– inserts full size / original images for all images in album id 4 from database named ‘mydbname’
[cpg_dbalbumfullsize:mydbname,4,10]– inserts full size / original images for the first 10 images in album 4 from database named ‘mydbname’
[cpg_dbalbumnewfullsize:mydbname,4]– inserts full size / original images for all images in album id 4 in order from newest to oldest from database named ‘mydbname’
[cpg_dbalbumnewfullsize:mydbname,4,10]– inserts full size / original images for the 10 latest uploads from the images in album id 4 from database named ‘mydbname’
[cpg_dbalbumrandfullsize:mydbname,4]– inserts full size / original images for all images in album id 4 in random order from database named ‘mydbname’
[cpg_dbalbumrandfullsize:mydbname,4,10]– inserts 10 random full size / original images from the images in album id 4 from database named ‘mydbname’
- These tags pull in thumbnails of images from a specific category in an alternate database
[cpg_dbcatnew:mydbname,5]– inserts thumbnails for all images in category id 5 in order from newest to oldest from database named ‘mydbname’
[cpg_dbcatnew:mydbname,5,12]– inserts thumbnails for the 12 latest uploads from the images in category id 5 from database named ‘mydbname’ - These tags pull in full size / original images from a specific category in an alternate database
[cpg_dbcatfullsize:mydbname,5]– inserts full size / original images for all images in category id 5 from database named ‘mydbname’
[cpg_dbcatfullsize:mydbname,5,12]– inserts full size / original images for the first 12 images in category 5 from database named ‘mydbname’
[cpg_dbcatnewfullsize:mydbname,5]– inserts full size / original images for all images in category id 5 in order from newest to oldest from database named ‘mydbname’
[cpg_dbcatnewfullsize:mydbname,5,12]– inserts full size / original images for the 12 latest uploads from the images in category id 5 from database named ‘mydbname’
[cpg_dbcatrandfullsize:mydbname,5]– inserts full size / original images for all images in category id 5 in random order from database named ‘mydbname’
[cpg_dbcatrandfullsize:mydbname,5,12]– inserts 12 random full size / original images from the images in category id 5 from database named ‘mydbname’
- This tag pulls in thumbnails of images from your entire gallery from database named ‘mydbname’
[cpg_dbgalnew:mydbname,3]– insert thumbnails for the 3 latest uploads from all the images in the gallery from database named ‘mydbname’ - These tags pull in full size / original images from your entire gallery from database named ‘mydbname’
[cpg_dbgalnewfullsize:mydbname,3]– insert full size / original images for the 3 latest uploads from all the images in the gallery from database named ‘mydbname’
[cpg_dbgalrandfullsize:mydbname,3]– inserts 3 random full size / original images from all the images in the gallery from database named ‘mydbname’
- These tags pull in thumbnails of images from a specific album in an alternate database
New Settings:
// optional forced horizontal alignment for images (blank means follow css tags as listed in Layout section above), comment out all but one of the following four lines
define ('CPGSC_ALIGNMENT', '');
//define ('CPGSC_ALIGNMENT', 'left');
//define ('CPGSC_ALIGNMENT', 'center');
//define ('CPGSC_ALIGNMENT', 'right');
// set whether or not clicking on an image should open a new window, comment out exactly one of the following two lines
define ('CPGSC_NEWWINDOW', 'no');
//define ('CPGSC_NEWWINDOW', 'yes');
// set whether the image containing element is a span or a div tag, comment out exactly one of the following two lines
//define ('CPGSC_CONTAINER_ELEMENT', 'div');
define ('CPGSC_CONTAINER_ELEMENT', 'span');
// set whether or not you want to use a containing element for tags that include individual images, comment out exactly one of the following two lines
//define ('CPGSC_CONTAINER_INDIVIDUAL', 'no');
define ('CPGSC_CONTAINER_INDIVIDUAL', 'yes');
This release contains a significant number of changes to the code (mostly to support all of the new tags). Please let me know if you have any trouble with the plugin. I’ve tested each tag and all of the new settings and everything seems to be working properly. However, with the volume of changes involved in this version, I’m ready for feedback if I accidentally broke something. If you run into something I will work with you to resolve it as quickly as possible.
[...] Posted in Site Update, Interesting, Wordpress at 9:04 pm by Patrick Havens CoppermineSC 0.4.5 Released I’ve just released CoppermineSC version 0.4.5! You can download the new version or visit my CoppermineSC page for complete details about the plugin. You can also view a sample of what CoppermineSC can do. Feel free to post comments and feature requests to this entry. [...]
Pingback by Living in the Whine Country » Wordpress Plugin CoppermineSC 0.4.5 Released — April 19, 2006 @ 12:34 am
[...] http://www.55rueplumet.com/2006/04/18/copperminesc045/ [...]
Pingback by sirjohn.co.uk » Blog Archive » CoppermineSC 0.4.5 Released — April 25, 2006 @ 12:16 pm
Hi. I’m having a problem getting the image to show up on my page. I’m using the sidebar code. It’s retrieving the latest image name, but not the image. When I look at the source code, it looks like it’s trying to call the image from the wrong place.
For example, the source shows that the image is here: http://artdorks.com/gallery/index.php?cat=1/albums/userpics/10912/explosion.jpg
When it actually is here: http://artdorks.com/gallery/albums/userpics/10048/rise.jpg
It’s adding that /index.php?cat=1 in there that is keeping the image from displaying.
How can I fix this?
Thanks.
Comment by brendan — May 1, 2006 @ 8:41 pm
Oops… sorry, I posted the wrong link where the image actually lives.
http://artdorks.com/gallery/albums/userpics/10912/explosion.jpg
How can I get rid of the /index.php?cat=1?
Comment by brendan — May 2, 2006 @ 5:51 pm
Brendan,
I played around with the sidebar code for a while and unfortunately I wasn’t able to replicate the problem. However, there are a few things to try. I have two guesses related to things I’ve seen before, and if those don’t work, I may just need a little more info. My two guesses:
1) Can you try (briefly) disabling any other plugins you might have (you don’t have to uninstall them, just disable them in the admin area) and see if the CoppermineSC plugin works when it is the only one running. If that fixes the problem, maybe you can provide me with a list of the other plugins you are using and I’ll see if I can figure out what the conflict might be.
2) In your Coppermine Gallery setup, under the “Config” area, go to the “General” section and make sure that the values for “URL of your coppermine gallery folder” and “URL of your home page” seem sensible. For example, mine are “http://www.guilfordfamily.com/cprmine-bradwork/” and “index.php”, respectively.
If neither of those things work, I think I’ll need you to put the sidebar code back in your template (just briefly for testing), and then have it generate the page with the problem, and then save the page or view the source for the page and send me the entire source for the HTML page. Sometimes seeing the problem in the context of the entire HTML document can make a big difference when trying to spot the problem.
Thanks for trying out the plugin and I hope we can get your issue worked out in short order.
Comment by Brad — May 2, 2006 @ 9:39 pm
Trying out this coppermine plugin and I’m very impressed, except I would love the ability to have it just open the picture I’ve clicekd on in a wordpress based page (instead of coppermine). If this isn’t a thought for a future feature, can you think of any way to potentially do this?
For example, I’m using Alex King’s old Photos hack/plugin for WP 1.5 @ http://www.trugeek.us and you can see an idea of what I’m trying to do ..
Comment by Dan — May 11, 2006 @ 8:48 am
Hi, I have downloaded the CoppermineSC. However, I do not understand the following which require me to modify…
define (’CPGSC_DBUSER’, ‘mysql_user_here’);
define (’CPGSC_DBPASS’, ‘mysql_password_here’);
define (’CPGSC_DBSERVER’, ‘mysql_db_server_here’);
define (’CPGSC_DBNAME’, ‘mysql_db_name_here’);
define (’CPGSC_TABLE_PREFIX’, ‘cpg_’);
Where do I get the information from?
Thanks.
Comment by Patrick — June 7, 2006 @ 11:16 am
Patrick,
To find the information for the database connection and the table prefix, just go to the “include” folder in your Coppermine installation. Then view the config.inc.php file. In that file you will find values that that match up with the values needed in the CoppermineSC script (although they might be in a slightly different order in the config.inc.php file compared to the CoppermineSC script, the names should match up enough to make it pretty clear what goes where). Just copy those values into the script and that should take care of it. If I can assist with anything else, just post back here and I’ll do my best to help out.
Comment by Brad — June 9, 2006 @ 9:38 pm
ideas:
#9.1 as dan(#6) mentioned, linking to a picture page inside wordpress is a must!
I love the wiki notion of having a “page” for each media file in which you can do everything that you do in an normal post… Wordpress allready lets users add comments on the picture, as if it was a post… (though you can’t tag, categorize, search for it, …)
check my amazement, here:
http://copyfree.culturalivre.com/wp/6/making-of-copyfree/wordpressjpg/
So joining coppermine with this feature is a must. And your plugin looks in a good way to achieve it
#9.2 plugin in to choose pictures from albums at the write/edit post/page would be great.
Browse for picture (or album) choose all the options and let the script do the CoppermineSC tags for us.
That would be a great idea
Comment by andrezero — June 12, 2006 @ 9:24 pm
I’m trying to fully test run a site I’m putting up dedicated to street-art and other alternative expressions but now I find myself blogging about “cardboard animals”
it’s my desire to share stuff like that (%”&#) that makes me loose my sleep with all this instalations and plugins, though it’s not exactly street art….
well, maybe i’ll have to create an office art category afterall
Comment by andrezero — June 12, 2006 @ 9:35 pm
sorry for my enthusiastic s*p*a*m
could request #9.2 above possibly be solved this way?
creating a [ tag ] that ouputs only the filename, or maybe a link in this form
mywordpressblog.com/_photos/%id%/
and/or
mywordpressblog.com/_photos/%album%/%subalbum%/&imgname%/
and then making wordpress interpret that as coppermine file, just as he does for the files we uploaded in wordpress
mywordpressblog.com/%postname%/%photonameextension%/
and make a page where users can comment the photo
(note that this solution colides with using _photos as a tag, category or post-slug in wordpress)
Comment by andrezero — June 12, 2006 @ 9:55 pm
I love your plugin but the one thing I’d love to be abel to do is set an option so that clicking the thumbnails links directly to the full size image and uses the lightbox script (I use the lightbox plugin currently which adds the lightbox script to my wordpress install).
Visit my blog to see how I’m currently using it. I’m having to use imageshack since it’s easier to get the thumbnail and fullsize image links for use with the lightbox plugin. (all it requires would be adding rel=”lightbox” to the linked images.)
Comment by Patrick Havens — July 10, 2006 @ 2:11 am
Oh as a side.. if you can add detection for checking for upgrades? A lot of other plug-ins do this, and it’d make it easier to know when you’ve released a newer version.
Comment by Patrick Havens — July 10, 2006 @ 2:30 am
Hello Brad,
I hope you read this…I like your plugin very much, thanks for your great work!
One question: Is it possible that I include a pic from my gallery like [cpg_image:albumID,filename.jpg] and that it is, by clicking on it, NOT linked to my coppermine gallery? Do you understand me? ;) I just want to have the pic in a post and the pic shouldn’t have a mouse-over or something like that…so that it is not possible to ‘click’…is it possible? If, how?
Thanks so much for any reply in advance,
Cheers,
Anja
Comment by Anja — August 17, 2006 @ 9:50 am
For Lightbox integration (which would also provide the ability to open the image in Wordpress), see my modifications here to see how I got it working…
http://www.sirjohn.co.uk/blog/archives/2006/02/12/lightbox-coppermine-plugins/
Note that this was on version 0.4.3 and I’ve not done an update. I’m abandoning use of Coppermine for various reasons anyway, but maybe Brad would like to integrate the Lightbox support in the next release.
It’s pretty simple really. You just need an option to use lightbox and if switched on you add rel=’lightbox’ attributes to the links.
Comment by Tim — August 17, 2006 @ 6:47 pm
Hello! Great plugin. I was just wondering if there was any way that you could integrate http://vikjavev.no/highslide into the script. Someone over at coppermine made a plugin for it http://coppermine-gallery.net/forum/index.php?topic=36558.0, but it only works in coppermine, not when pulling the images from wordpress. (of course) My knowledge of php is like 0, but if I had an clue at all, I would try to combine your script with that one.
Comment by kristin — September 29, 2006 @ 7:36 pm
It was only the other day I was looking for Coppermine integration to WP, and there it is. Very nice work mate. Thanks, keep up the good work.
Comment by Shahidul Imon — October 12, 2006 @ 1:17 am
I can’t install this plugin at all, the plugin manager in coppermine does not notice it.
Comment by merv — October 19, 2006 @ 1:06 pm
merv,
This is a WordPress plugin, not a Coppermine plugin. It lets you include photos from your Coppermine Gallery in your WordPress blog. If you stick the script in the plugin folder for WordPress, it should be available to activate.
Comment by Brad — October 19, 2006 @ 11:09 pm
Stupid me.
Thanks!
Comment by merv — October 20, 2006 @ 5:08 am
Will there be a feature like implementing the gallery into a wordpress page? i’m now handling it with the pageview plugin. but i think if you could integrate that, and after clicking an image in a post you would be redirected to the integrated coppermine gallery instead of displaying the image in the standalone gallery view, it would be great.
i also miss a css-file to edit the css options for the plugin (like a nice border around the image).
one thing more, if i link an image into a post with the following tag: [cpg_imagethumb:2,myimage.jpg] it redirects me to the album instead of redirecting me to the image itself.
anyway, this plugin is just great. thank you for this “little” gift :)
thx and grz crisi
p.s.
my homepage with copperinesc-plugin you see down here..
Comment by crisi — November 2, 2006 @ 6:54 am
Love the plug-in, love what it does, and high praise to you (and many others who develop plugins and allow the rest of us to use them). AS for myself, my requests are as follows:
-Lightbox integration built-in (adding the rel= line should be both fairly easy and it will not affect people who don’t have Lightbox installed);
-a function to add random thumbnails from the entire database (you have almost every single other function ready ;) )
-also a way to call up an external css file that would override default methods of how the thumbnails/pictures look in wordpress
I am hoping you’ll consider these in the future release as a lot of them have already been requested. Either way, it’s already a great plugin!
Comment by Thomas — November 11, 2006 @ 9:41 pm
…
-a function to add random thumbnails from the entire database (you have almost every single other function ready ;) )
Apologies, just found the function I wanted. Must’ve been temporary blindness before.
Comment by Thomas — November 11, 2006 @ 10:06 pm
I may be doing something wrong. I have added the following tag in my post, but nothing shows up except the tag [cpg_galrand:3]
Initially I had a problem with connecting to my server, but once I got the proper credentials, it connected, but only displays the tag. Any ideas?
Comment by Sameer — November 24, 2006 @ 5:40 pm
Hi there…
I’ve been running coppermine for some years now, and recently added a wordpress blog to it, using your excellent plugin to integrate my coppermine content.
Now, i have some little remarks, which, if i could code myself, wouldn’t be gripes at all.
I’m using Stramm’s modpack on my Coopermine, which results in extra so-called ‘mini-thumbs’ to be created apart from the resizes & thumbnails. For now, i’m using the minithums as ‘thumbs’ in wordpress, but i imageine it’s only a little extra code somewhere to define those mini_* .jpg’s as an extra set of thumbnails to work with.
Another nice incorporation would be the use of the Coppermine HighSlide v2.3 plugin ( http://coppermine-gallery.net/forum/index.php?topic=36558.0 ) maybe (i’m just thinkin’ out loud), as it relies on coppermine, and may be used to display the intermediate photos on the blog a little nicer.
Comment by Doc Gonzo — December 9, 2006 @ 12:45 pm
@ crisi : take a look in the copperminesc.php file, and see what needs to be commented out or not, there’s a line there just for doing what you’re describing.
Comment by Doc Gonzo — December 9, 2006 @ 12:47 pm
Awesome plug-in; it does exactly what I needed. Thanks for writing it and releasing it.
Comment by Brian Jarrett — December 16, 2006 @ 3:43 pm
Hi,
I was just wondering, syntax using CoppermineSC is
[cpg_album:1] for example.
Where do i get to know the album ID ?
Cant find any info on that.
Thx and merry christmas
Comment by zadvocat — December 22, 2006 @ 12:11 pm
I would like to ask about copperminecs. Would it be easy to make the thumbnails open to popup windows as “normal†sized? This would make coppermine itself only a tool to manage pictures. There would be links like “next†“previous†and “close†in the popup.
Just a tought.
Comment by NoThanks — December 22, 2006 @ 8:24 pm
Hello, great plugin, I have been using it for long time, but now I have encountered a small problem, when I am displaying thumbnail in the WP post, I get wrong title in tool tip – I mean with wrong diacritical signs ( we in Czech republic have some strange hooks and srokes above letters:-) .
My Wp is deafult set to UTF8, but my CPgallery to CP1250 (czech code page) and I can´t change it. Is there any solution?? Thanks for any help!!
Comment by Jirka — January 17, 2007 @ 1:52 pm
I left a little message a while ago [which i can;t find now] telling you guys that I was having distinct trouble installing the COPPERMINESC plugin. I was getting “database not found” errors, all the time.
I worked at it, and you know what the issue was? I put the WRONG cpg130_ table prefix in the settings! After I made it accurate [i am using cpg1410_] it worked fine! So now I am enjoying the plugin! Great functionality.
Could you let me know how to put decoration on the thumbnails…like a 1px border, or maybe even a drop shadow?
Thanks for your efforts!
James
Comment by James Wilmington — February 8, 2007 @ 8:12 am
Hey, I’m trying to download your Coppermine plugin for Wordpress. I am an ABSOLUTE beginner and all I want to do is add some pictures here and there in my blog posts. So, I clicked the download button, and it’s somewhere on my computer, I guess (I’m truly not computer literate). So, what do I do now? I was hoping I could just drag and drop a picture into a post. Can you help me?? Thanks, Jennifer
Comment by Jennifer Tracewell — February 11, 2007 @ 3:17 pm
Hey, I am a longtime CM user, but first time WP user. I have installed the plugin, but whenever I try to use it I get a database error that table XXX does not exist. I noticed a number of people had this problem in an earlier version and a patch fixed it. Any word? Thanks so much for the great work!
Comment by Kyle — February 13, 2007 @ 1:00 am
Hi Brad,
i searched long for a plugin like you made for coppermine. I appreciate your work. I even went through the trouble updating my coppermine gallery to make it compatible. As far as I can tell everything works fine, except the fact that no thumbs appear in a post. :-P I encircled the problem and now I know it’s because I installed coppermine in a subfolder. So the links created in wordpress are in the form: h~~p://w~w.mypageurl.de/displayimage.php?pos=-588 and they should be h~~p://w~w.mypageurl.de/cpgallery/displayimage.php?pos=-588.
I tried to help myself. Due to the fact that my PHP skills are not the best, I didn’t found a solution. Maybe you would be so nice and suggest one.
I would be very gratefull.
Thank you.
Kind regards from germany.
Wilm Thiere
Comment by Wilson — March 17, 2007 @ 7:50 am
Hello,
I am having same problem. I type code into a post and instead of retrieving a picture from my Coppermine gallery, only the code appears.
I have tried using
Comment by Robert — March 21, 2007 @ 11:15 pm
hmmm, having a problem getting full post in here. Let me try again.
When I type the tag [cpg148_imagenormal:52, precepttime.jpg] in the code window of a post, all that appears is the code, no image.
I have tried using
Comment by Robert — March 21, 2007 @ 11:23 pm
I also have the problem with displaying images
I only see tags instead of pictures. The database connection seems allright. Might be related to newer Coppermine version 1.4.10 or Wordpress 2.0.5
Can someone solve the problem.
Comment by Eddie — April 2, 2007 @ 1:44 pm
Hello, first I want to thank you about this great plugin for WP/Coppermine. I was looking for some cool gallery to integrate it with WP and this plugin finally saved my soul :). But I have to say that I was looking for some better UI integration to WP. I read that you are planning some admin interface for this plugin. And that is the point I want to ask you about. What is current development stage? I am dreaming about publishing integration and configuration as well. I know that there is not enough time for everything, so I decided to write my own or give a help to plugin developers. Can I help you with UI work?
Regards
Comment by tgrk — April 17, 2007 @ 7:33 am
It would be nice if there was a widget that could display random or lastup images. I tried adding the code to the sidebar widget but it didn’t work. It would probably work if I didn’t have the widgets plugin installed.
Comment by Candace — April 21, 2007 @ 7:08 pm
Robert, the tag should be [cpg_imagenormal:52, precepttime.jpg] – you don’t need the 148 part after cpg. Try that and it should work for you.
Comment by Brad — April 22, 2007 @ 9:04 pm
Wilm, it sounds like you have the “URL of your coppermine gallery folder” setting wrong in your coppermine setup. It’s near the top of the setup page under “General Settings”. Hope that helps.
Comment by Brad — April 22, 2007 @ 9:08 pm
tgrk, I sent you an email.
Comment by Brad — April 22, 2007 @ 9:21 pm
I tried using the new photos in category code but it’s not showing the newest photos. It showing older photos from that category.
This is the code I used:
[cpg_catnew:4,4]
I just realized it won’t show images from categories inside categories. I have cat 2 inside cat 4. When I have the cat set to 4 in the code it only shows images in the top level cat and when I change it to 2 it shows no images.
I hope you understand what I am trying to say.
Comment by Candace — May 3, 2007 @ 9:34 am
[...] The latest version of CoppermineSC is 0.4.5 What’s new in 0.4.5? [...]
Pingback by Der Testblog » Blog Archive » Neues CP Plugin — June 20, 2007 @ 7:35 am
Great plugin! Thanks a lot. This was something I looked for but never though I’d find.
An improvement idea though: It could be easier to edit the layout (alignment, spacing etc) of thumbs when using this plugin in sidebar.
Anyway, keep up the good work!
Comment by jussi — June 20, 2007 @ 11:17 am
Hey, great plugin…
One question though, I have it displaying the albums fine, but not linked albums…
I have several albums set up that are basically empty, but are “linked” via keyword (it’s standard coppermine setup)
they display in coppermine, but linked imaged will not display in copperminesc…
is there a workaround for this?
Comment by Bitcloud — October 11, 2007 @ 7:16 am
Hi, very nice pluging!
For me it would also be nice if a widget was included.
Comment by Bart Vermeer — April 16, 2008 @ 8:08 am
Hey Brad,
I know there haven’t been many posts about this plugin but there is an incompatibility with CoppermineSC that will break a number of functions in Wordpress 2.5. My Categories, Authors and Archive stopped working correctly and as a result I had a fairly broken client blog.
I was spinning my wheels trying to debug it for 6 hours when I finally took a stab at a Google search for: “copperminesc wordpress 2.5″ and thankfully found the solution: http://www.brianjarrett.com/2008/03/27/wordpress-25-rc2-and-copperminesc/
He suggests changing line 1096(ish) from:
$this->cpgscdbh = @mysql_connect($dbhost, $dbuser, $dbpassword);
to:
$this->cpgscdbh = @mysql_connect($dbhost, $dbuser, $dbpassword, TRUE);
It worked like a charm!
It’d be great if you would post an updated version with the change. But at least people will see my comment otherwise.
Cheers,
Jay
Comment by Jay Gilmore — June 4, 2008 @ 11:34 am
I have tried several WP/Coppermine integration plugins, and none of them really worked. Your plugin is a nice no-nonsense piece of work, that just gets the job done. Thanks a lot for that.
Regards
Comment by ST/op — June 21, 2008 @ 7:01 pm