[Pmwiki-users] PmWiki doesn't render graphics with ".JPG" extension

Patrick R. Michaud pmichaud
Mon Aug 4 08:52:18 CDT 2003


Also, instead of renaming the files, you can set PmWiki so that it 
shows pictures with ".JPG" extensions by putting

   $ImgExtPattern = "(?i)\\.(gif|jpg|jpeg|png)";

in local.php.  The "(?i)" tells the pattern matching system to
perform a case-insensitive match.

Pm


On Mon, Aug 04, 2003 at 02:22:31AM -0700, geoff hopkins wrote:
> I use  a sony digital camera, and by default,the
> camera saves pictures with the extension ".JPG",
> PmWiki does not show pictures with a capital
> extension.  It is a pain in the rear, to go in and
> manually change the extensions on pictures esp. when i
> have a lot of them.  I know there is an easy way to
> batch chnge them, but i havn't figured it out.  If
> there is a reason it doesn't render capital extenstino
> graphic files, than i may have to figure one out.  If
> possible though, maybe you could change something to
> fix this problem.
> 
> 
> 
> --- Pmwiki-users-request at pmichaud.com wrote:
> > Send Pmwiki-users mailing list submissions to
> > 	Pmwiki-users at pmichaud.com
> > 
> > To subscribe or unsubscribe via the World Wide Web,
> > visit
> > 
> >
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com
> > or, via email, send a message with subject or body
> > 'help' to
> > 	Pmwiki-users-request at pmichaud.com
> > 
> > You can reach the person managing the list at
> > 	Pmwiki-users-owner at pmichaud.com
> > 
> > When replying, please edit your Subject line so it
> > is more specific
> > than "Re: Contents of Pmwiki-users digest..."
> > 
> > 
> > Today's Topics:
> > 
> >    1. pm wiki in French : correction (garfield_fr)
> >    2. Internationalization structure (Ruediger
> > Marwein)
> >    3. Re: new files for italian (Carlo Strozzi)
> >    4. Publishing a WikiTrail (or a WikiBook) (John
> > Rankin)
> >    5. Re: Anchors and links (John Rankin)
> >    6. Re: Internationalization structure (Patrick R.
> > Michaud)
> >    7. Re: pmwiki localization ? (Patrick R. Michaud)
> >    8. Re: Anchors and links (Patrick R. Michaud)
> >    9. Re: Publishing a WikiTrail (or a WikiBook)
> > (Patrick R. Michaud)
> >   10. Re: Publishing a WikiTrail (or a WikiBook)
> > (John Rankin)
> > 
> > 
> >
> ----------------------------------------------------------------------
> > 
> > Message: 1
> > Date: Sun, 3 Aug 2003 20:01:10 +0200
> > From: "garfield_fr" <garfield_fr at tiscali.fr>
> > Subject: [Pmwiki-users] pm wiki in French :
> > correction
> > To: <pmwiki-users at pmichaud.com>
> > Message-ID: <000c01c359e9$38a6bf90$0b00000a at eliott>
> > Content-Type: text/plain;	charset="iso-8859-1"
> > 
> > in lang-fr.php, please replace $PageEditFmt  with :
> > 
> > $PageEditFmt = "<form action='\$ScriptUrl'
> > method='post'>
> >   <input type='hidden' name='pagename'
> > value='\$PageName' />
> >   <input type='hidden' name='action' value='post' />
> >   <h1>\$PageName
> >     <input type='submit' value=' Sauvegarder ' />
> >     <input type='reset' value=' Annuler ' /></h1>
> >   <p><a
> >
> href='\$ScriptUrl/PmWikiFr/ConseilsPourLEdition'>Conseils
> > pour l'?dition</a>
> >     <a
> >
> href='\$ScriptUrl/PmWikiFr/ReglesDeFormatageDesTextes'>R?gles
> > de formatage des textes</a></p>
> >   <p><textarea name='text' rows='25' cols='80'
> >     onkeydown='if (event.keyCode == 27)
> > event.returnValue=false;'
> >     >\$Text</textarea><br /></p></form>";
> > 
> > the pages PmWikiFr/ConseilsPourLEdition
> > (TipsForEdition) and
> > PmWikiFr/ReglesDeFormatageDesTextes
> > (TextFormatingRules) are translated
> > 
> > Eric (aka GarfieldFR)
> > webmaster at codedb.fr.st
> > http://www.codedb.fr.st
> > 
> > 
> > 
> > ------------------------------
> > 
> > Message: 2
> > Date: Sun, 3 Aug 2003 22:34:32 +0200
> > From: Ruediger Marwein <ruediger.marwein at web.de>
> > Subject: [Pmwiki-users] Internationalization
> > structure
> > To: Pmwiki-users at pmichaud.com
> > Message-ID:
> > <200308032234.32958.ruediger.marwein at web.de>
> > Content-Type: text/plain;  charset="us-ascii"
> > 
> > Hi,
> > 
> > I just took a look at the internationalization
> > files.
> > The current structure (various copies of html and
> > translated text) doesn't 
> > look satisfying to me.
> > Yes, it makes it easy to add internationalization to
> > PmWiki in the standard 
> > installation... but with several local-files and
> > modules from the cookbook 
> > it's pretty hard to keep it internationalized.
> > 
> > For my projects including internationalization I
> > always use tags for the text 
> > to be displayed in a defined language. Such as
> > i18n:SearchWiki which gets 
> > replaced during parsing of the page.
> > 
> > So the data structure would look like:
> > tagname[language][country] = text
> > for country i use "default" and e.g. "austria" for a
> > differing text to the 
> > default german. This reflects the "de_DE"-like
> > notation.
> > 
> > That way I can easily use html-templates and do not
> > have to copy and paste 
> > html-code just for using a different text.
> > 
> > What do you think?
> > 
> > Gr33tZ
> > Ruediger
> > 
> > PS.: I do not mean storing whole Sites into this.
> > The single site translation 
> > seems to be OK that way.
> > 
> > -- 
> > Ich liebe es, wenn ein Plan funktioniert.
> >   Hannibal Smith
> > 
> > 
> > 
> > ------------------------------
> > 
> > Message: 3
> > Date: Sun, 3 Aug 2003 23:25:45 +0200
> > From: Carlo Strozzi <carlos at linux.it>
> > Subject: Re: [Pmwiki-users] new files for italian
> > To: Pmwiki-users at pmichaud.com
> > Message-ID: <20030803212543.GA8154 at strozzi.it>
> > Content-Type: text/plain; charset=us-ascii
> > 
> > On Sun, Aug 03, 2003 at 10:12:04AM -0600, Patrick R.
> > Michaud wrote:
> > > 
> > > P.S./N.B.: For those who aren't familiar with the
> > term, "i18n" is
> > > a common abbreviation for the word
> > "internationalization" (or
> > > "internationalisation" in much of the
> > Commonwealth).  The abbreviation 
> > > comes from the observation that there are 18
> > letters between the "i" 
> > > and the final "n".  :-) 
> > 
> > Lovely :-) In fact I had always wondered what that
> > "i18n" was standing for.
> > 
> > cheers,
> > Carlo
> > -- 
> > For best reading please set the Courier font.
> > Freedom for Business: http://swpat.ffii.org
> > 
> > 
> > ------------------------------
> > 
> > Message: 4
> > Date: 04 Aug 2003 10:29:28 +1200
> > From: John Rankin <john.rankin at affinity.co.nz>
> > Subject: [Pmwiki-users] Publishing a WikiTrail (or a
> > WikiBook)
> > To: PmWiki Users <pmwiki-users at pmichaud.com>
> > Message-ID: <995354118john.rankin at affinity.co.nz>
> > Content-Type: text/plain; charset="iso-8859-1"
> > 
> > I have developed a prototype that lets visitors to a
> > trail page "publish" all the pages on the trail with
> > one click.
> > 
> > What you get
> > ============
> > The author puts the [[$Publish]] markup somewhere on
> > a trail page.
> > 
> > PmWiki renders this as a Publish button.
> > 
> > Pressing Publish causes PmWiki to display the
> > content of all the pages on the trail, formatted for
> > printing, as a single page. It also uses the trail
> > sequence and indentation to assign numbers to each
> > page title.
> > 
> > The author can set up GroupPrintHeader and
> > GroupPrintFooter pages to add custom header and
> > footer 
> === message truncated ===
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> _______________________________________________
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com



More information about the pmwiki-users mailing list