Coppermine Plugin for Wordpress Coppermine Plugin for Wordpress
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Coppermine Plugin for Wordpress

Started by sindbad5, June 07, 2019, 09:00:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sindbad5

Isn't it time to make a Coppermine Plugin for Wordpress?  WPPA+ shows that it is possible to integrate an image Database into WordPress. The combination of post and images would be beneficial for SEO and more.

gmc

Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

bobbinalong

I've written my own based on the old wp-cpg-widget plugin. I may release it once it's been live a bit longer but it's currently tuned to my website (http://www.cvrda.org) and its requirements and I need to go through it and see what would need altering for general release and ensure it conforms to all the WordPress requirements. And I don't have the time to support more than my own websites.

Stella

I'm most interested in a Wordpress Coppermine plugin that would automatically display on the homepage latest additions and link back to them in my Gallery --6, 9, or 12 images at a time.

The current one is over 10 years old and is quite quirky. I have it deactivated right now.

How hard would it be to create a plugin that accomplished this task?

Thanks!  ::)

bobbinalong

If you want to show images in a sidebar, you need a widget. If you want to embed them in a post you need shortcodes.
I've got a computing degree and forty years in the software business but developing my plugin took a number of months since it was a spare time task, my PHP is only intermediate and I was learning the WordPress programming as well. I hadn't thought of adding "latest images" as an option but may now do so. I'm still refining and debugging.

yerhani

Can you please tell me the the name of Coppermine plugin you are using?

Nicola Bushnell

#6
Thinking of this for my site.

bobbinalong

For those who want to use Coppermine images in Wordpress pages and posts, the Image block in the Gutenberg editor will allow a URL to be used and displays Coppermine images nicely. However the Media and Text block does not allow a URL, so to get around that use a columns block, then put an image block in one column and your text in another column, using a spacer block to push it down if necessary.

To use a Coppermine image as the featured image in a page or post, I recommend the Featured Image From URL (FIFU) plugin. If your theme does not support featured image display FIFU also has an option to display the image on the page or post.

406man

Quote from: Stella on September 03, 2019, 06:16:18 PMI'm most interested in a Wordpress Coppermine plugin that would automatically display on the homepage latest additions and link back to them in my Gallery --6, 9, or 12 images at a time.
I've re-read this old thread and think it's worth bringing it up to date. It's possible to do exactly what's requested above using the cpmfetch add-on for Coppermine. Although not a plugin for Wordpress in the usual sense, the implementation uses the Wordpress wpcode plugin to implement PHP code snippets that run cpmfetch

The latest version of cpmfetch is described here and is available for download:
https://coppermine-gallery.com/forum/index.php/topic,80810.msg390631/topicseen.html#msg390631

This article describes how to link a gallery into a Wordpress site:
https://coppermine-gallery.com/forum/index.php/topic,80812.msg390633.html#msg390633