Extension talk:CopperminePhotoGallery

Latest comment: 12 years ago by ClausVB in topic Question: How to format an image ?

Please post a new question with heading/caption, thanks!

Question "CPG_URI" edit

what do you mean by "CPG_URI" i can pretty much figure out the rest, but that... thanks! ;)

URI = Internet address. URI of your CPG installation, like http://coppermine-gallery.net/demo/cpg14x/albums ClausVB 10:57, 18 August 2009 (UTC)Reply

Options edit

Thanks for this handsome extension. Could you tell us which other, beside album, options are available? I discoverd the option 'size' --BB70 13:35, 17 October 2009 (UTC)Reply

I changed "Usage" and explained all options there. --ClausVB 14:46, 17 October 2009 (UTC)Reply

Question; duplicate images? edit

I add the file name for the image just once, but I get 4 copies displaying once I save the page. Any idea of what I'm doing wrong? Here's an excerpt of the page:

<cpg album="ClanureCombatHeroesMovieWave3/">DestroFront.jpg;DestroBack.jpg;DestroRight.jpg;DestroLeft.jpg</cpg>

I'm using the Coppermine 1.5 Alpha release if that might be part of the problem? This will be so perfect for my needs as soon as I get this hiccup figured out. Thanks!

After messing around with this for a bit, I think I have a better idea of what the problem is. I've got 4 different files that all have the same file name (DestroFront.jpg), but they are all contained in separate folders. I've tested this out on a couple different pages and it seems to be the case (when I have 2 different files with the same file name I get 2 copies, etc.) Any help would be awesome!

Advise:

  1. Please do not use album="ClanureCombatHeroesMovieWave3/", use "album="ClanureCombatHeroesMovieWave3" instead, thanks!
  2. If that does not work, I need a complete listing of your directories ... all 4 of them, thanks!

-- ClausVB 10:51, 27 October 2009 (UTC)Reply

Ok, I changed the album name, but that didn't fix it. The 4 directories are: "ClanureCombatHeroes5Pack","ClanureCombatHeroesMovieSinglesWave1", "ClanureCombatHeroesMovieWave1", and "ClanureCombatHeroesMovieWave3". I appreciate the assistance!

Again ... I NEED LISTINGS like "ls -lah" under Linux! Quote: "If that does not work, I need a complete listing of your directories ... all 4 of them, thanks!" Otherwise I cannot reproduce the problem! -- ClausVB 14:53, 27 October 2009 (UTC)Reply

Question: Wildcards (by Justin) edit

> I am using your coppermine extension for mediawiki and wondering if there was a 
> way to utilize it so that I didn't have to tell it which photos to include on the
> wikipage. I'm horrible with php and so I'm uncertain if a wildcard string there
> would work, or even how to form that string. I would like to be able to allow
> friends to upload pictures and have those pictures simply appear on the wiki page.

No, that is not possible. Wildcards are IMHO a security risk, so it won't be supported. But you (or your friends) are free to program it yourself. --ClausVB 15:19, 9 August 2010 (UTC)Reply

Question: If your friends upload the pictures, they should be able to edit a wiki page, too ... Are they not? --ClausVB 15:25, 9 August 2010 (UTC)Reply

mysqli not found fatal error under mediawiki 1.15.5 edit

Get this error:

 Fatal error: (wikiname) Class 'mysqli' not found in /var/www/extensions/CopperminePhotoGallery/cpg.php on line 27

Does anyone have this working with more recent (circa March 2011) mediawiki versions?
--Djbclark 07:24, 25 March 2011 (UTC)Reply

Yes, it works fine with a current version, but this is not a MediaWiki error. It's a PHP error. You do not have "mysqli" installed. You have to ask in a PHP forum for support or your provider. --ClausVB 07:32, 25 March 2011 (UTC)Reply

Question: How to format an image ? edit

Ok over the last few days have installed and set-up Mediawiki and coppermine, and all is working well.

But when I add an image from coppermine, other than the size options there is no way I can see of setting it to left/right text wrapping around it etc, like you get when adding an image my uploading it to Mediawiki. I assume there has to be a way to do it with some form of formatting etc, are there any examples of how to do this ? Im not to good at HTML, hardware engineer !

You cannot set it left or right. This extension creates a gallery displaying multiple images. If you want to format them in a special way, you have to learn CSS and HTML. --ClausVB 09:01, 29 September 2011 (UTC)Reply

Question: info on pictures edit

Is it possible to insert some description on pictures? for example using cpg fields like title or description? My need is to explain in few words the meaning of the picture inside the article

Return to "CopperminePhotoGallery" page.