WordPress: Coppermine CPMFetch is a WordPress plugin that lets you display latest photos from Coppermine photo gallery without having to edit files of your WordPress theme. ATTENTION: installation of the plugin CPMFetch to your Coppermine gallery is required. Based on the CPMFetch plugin by W.B.Chmura (aka Vuud).
Looking for a way to show up latest images from your Coppermine photogallery but do not want to change files of your theme? There is a solution! You can just use this plugin created specially for WordPress. It lets you add the CPMFetch block as a widget to your sidebar. This plugin has some options that would let you get what you want.
Attention: if you want to use this plugin, you must first install the CPMFetch plugin because it will not work if you do not do this. And remember that Wrong settings of your theme will break your theme. When you just install this plugin, make sure you have changed the settings. Default settings will not work on your site. Also, this plugin WILL NOT work if your theme already has the CPMFetch code in any file, and you have to delete that.
1. Upload the plugin to your blog from my site
2. Activate it
3. Go to Appearance > Widgets
4. Find the widget called “WordPress: Coppermine CPMFetch”
5. Add it to the sidebar area
6. Change options
8. Go to your site to make sure you have made everything right
IMPORTANT: Wrong settings of your plugin will break your theme. When you just install this one, make sure you have changed the settings. Default settings will not work on your site. Also, this plugin WILL NOT work if your theme already has the CPMFetch code, and you have to delete that.
Example: If you have a gallery located on yoursite.com/gallery, you should change it to “gallery“. ONLY PREFIX, NO PATH!
Example #1: If you have a gallery located on yoursite.com/gallery, you should put one dot.
Example #2: If you have a gallery located on yoursite.com/blog/gallery, you should put two dots.
In short, the deeper a tree of subdirectories, the more dotes you put
If you select the “New Tab” option, the plugin will be opening a photo you click on in a new tab. And if you select the “Current Tab” option, photos will be opening in the same tab.
If you do not select the setting “Type of photos“, the plugin will defaultly show up latest photos. And if you do select, you will see random photos from your gallery.
The option “Alt Tags” may be useful if you use such a plugin like Tooltip or its alternatives. If you do not need these options, you can leave them empty.
Do not turn on the option “Error Reporting” if you do not want to see errors at the code of your CPMFetch block.
1.0: This is the first version ever
1.1: Added WordPress shortcode to place in any area of your site + page of settings for this one (does not change options for WP widget) CPMFetch Shortcode Demo
1.2: Added a hidden link to our site in the bottom of a widget block