Coevolving Innovations

… in Business Organizations and Information Technologies

Customizing Gallery 2, uploading with Gallery Remote

Having satisfied the publishing of text — with a WordPress blog installed on a hosted domain — the natural next step is publishing photographs. While it’s easy to upload and embed images in a WordPress post, it’s better to have a specialized image gallery when the photo archive is large. The long term goal is to show random thumbnails on your WordPress sidebar, inviting the browsing images in your gallery, but that’s a feature for some later day.

I edit and store images in a hands-on approach for myself.1 For most snapshooters, though, since web hosting is now so cheap — $5 per month for 110GB! — the blogger can take advantage of that space. The alternatives are living with the constraints of a free service (e.g. Flickr), or paying for a “pro” account.

Fantastico supports automated installation of Coppermine — which has many fans — but I’ve found Gallery to be great choice due to a unique client-based front. Gallery Remote enables drag-and-drop staging of image files and then automatically downsamples images as it uploads them to the web site. Since a 1024×768 image represents a 0.8MP file while point-and-shoot cameras commonly have resolutions of 5MP to 6MP, downsampling is a task that can be gladly automated.

As I install the packages on some friends’s web sites, I’ll record the tasks along the way.

A. Install Gallery

(1) Again using Fantastico — on site5 SiteAdmin, it’s under “CGI & PHP scripts — Gallery is halfway down the page, under “Image Galleries”.

  • (a) Install in a directory named gallery. (Watch out on documentation, because sometimes people install under gallery2).
  • (b) The Admin access data Administrator userid and password are a maximum of eight letters, so they’ll truncate if you’re longer.
  • (c) For the Base Configuration, use the admin fullname of yourdomain with an admin e-mail address of yourdomain@yourdomain.com (that you had previously set up).

B. Setup Gallery

(2) Go to yourdomain.com/gallery, and login with the admin access userid and password (i.e. the eight-letter version). If you wish, at Account Settings, you can change your password, but you can’t change the initial 8-letter admin userid.

(3) Select Site Admin. On General Settings, change the Embedded Markup to Raw HTML. (The e-mail settings have already been set up by Fantastico, so you can leave these blank).

  • (a) At Plugins … Plugins … next to URL Rewrite … ensure that this is disabled. While pretty URLs seem to work fine for Gallery by itself, the developers of WPG2 WordPress-Gallery integration are explicitly avoiding it.
  • (b) Scroll down the Plugins … Plugins … screen to install (and activate) (a) theme(s). I like Hybrid.
  • (c) Select the other tab to Get More Plugins … then Download Plugin List. Selecting to download or upgrade from this list calls to the Official Release Repository, as the most painless way of keeping a system up to date that I’ve ever experienced!
  • (d) From Get More Plugins … scroll down to Remote Interfaces … and you’ll see Remote download …. Do that, it it should become activated on the Plugins … Plugins … screen.

(4) Under Site AdminThemes … you can choose the default theme. (As I said before, I like Hybrid).

(5) Go to the main Gallery page (i.e. leaving Site Admin) by selecting the Gallery link in the upper left. (When you get to the main page, if you’re using Hybrid, select the icon to open up the side panel). The root directory is considered to be an album, so let’s modify the basic information there.

  • (a) Select Edit Album … and change the Title (e.g. Firstname Lastname’s Photo Gallery). The Description will be at the top of the page when someone comes to the site, so you might provide him or her with a path back to the blog, e.g.
    Have fun viewing the photographs!<br />
    When you'd like to read, <a href="http://yourdomain.com/blog">visit the blog</a>
  • (b) Under Edit AlbumAlbum … I find that Thumbnails of 150 pixels will allow two thumbnails wide with descriptions in Hybrid, but 120 or even 100 pixel images are legible. Check Use this thumbnail size in all subdirectories.

At this point, Gallery is functional, but it’s empty. It doesn’t have any albums defined, and it doesn’t have any images. You could continue in this web interface, but let’s take advantage of available client interface.

C. Install Gallery Remote

(6) Within Site AdminPlugins Get More Plugins … scroll down to Remote InterfacesRemote … and select the action install … from the Official Release Repository. (I’ve been in the habit of installing just the English UK, but once had to install all languages to get rid of an error).

(7) Open another browser tab (or window), and go over to http://gallery.menalto.com/wiki/Gallery_Remote . Download the current version for your platform, and install it. (I already had Java 1.5 installed on my Thinkpad, so I didn’t need to download the package with Java 1.4 embedded). Install it.

(8). Start Gallery Remote client on your PC/Mac.

  • (When I started it, a message of a new version came up. I shut down Gallery Remote client and downloaded the zip file, which contained some files with updates — not a complete set. After unzipping the file, I copied these over the installed version, overwriting the old versions).
  • (a) Under Options Preferences Upload … check Resize before upload … and Force resize to1024. Within a browser window, it’s unlikely for anyone to see more than 1024 x 768 px, but 1280 or 1600 is available if you think anyone will ever get screens that big. You might also check Allow HTML markup in captions and extra fields, if you wish.
  • (b) In Gallery Remote client Preferences, under the URL selection, you can fill an Alias (yourdomain.com), Username (the 8-letter one), Password (also 8-letters), Gallery Type (standalone), and URL (http://yourdomain.com/gallery).

(9) On the Gallery Remote client main screen, select the Destination Gallery and Log in.

  • (a) Create a New Album. I tend to name albums like 200701a-Helsinki, but you can choose whatever makes you comfortable.
  • (b) Drag-and-drop image files from your PC/Mac (e.g. Windows Explorer) into the middle pane of Gallery Remote client. (I find that if you drag more than one file in at the same time, Windows puts them in reverse order. Thus, I drop-and-drop one by one, to avoid having to resort, later). Alternatively, there’s an Add Pictures button that brings up a file browser.
  • (c) Select the Upload Pictures button.
  • (d) Create a second New Album, drag-and-drop images, and Upload Pictures, so that you’ll be able to judge the view of Gallery better.

At this point, you should have a populated Gallery web site!

D. Provide a sidebar link from the WordPress blog to Gallery

(10) In WordPress admin … Presentation Widgets

  • In Text Widgets … increment the list by one, and save. Drag-and-drop that new widget into the sidebar — I prefer the right sidebar in Relaxation 3-column. Enter a headline (e.g. Photo Gallery), and a link in the body, e.g.
    <ul>
    <li>Visit the <a href="http://yourdomain.com/gallery">photo gallery</a>.</li>
    </ul>

At this point, you can publish your words on the WordPress blog, and there’s linkages to and from Gallery. On some other day, we can add anrandom thumbnail image to the WordPress sidebar. (At the moment, I’m waiting for the impending new v3.0 release of WPG2).


1 I have a web server in my basement where I keep my digital photo archive. It’s unreliable because it relies on Dynamic DNS (DDNS) which gets lost when the router is our house is rebooted, or if the server isn’t rebooted after a power failure. I run DAlbum on this server as my photo archive. This has major advantages for me:

  • I can FTP the files directly to the server, thus maintaining a full-sized archive copy of the digital image online. Files uploaded via PHP scripts (e.g. Gallery 2) are normally restricted to 2MB maximum, each. A 3MP image saved as JPEG Superfine, a 5MP image saved as JPEG Fine and a 7MP image saved as JPEG Standard may (or may not) be under 2MB in size. Using a script such as Gallery would still require me to have an archive somewhere else.
  • In contrast to most other PHP image archives, DAlbum creates and stores archives in a batch mode, rather than on-the-fly. Since I know when I will and won’t use the server, batch processing works fine for me.
  • I’m taking photographs in a different way, now, since I know that the resolution viewed on computer screens is so low compared to the resolution of the cameras (e.g. 5MP or 10MP). I’m shooting pictures with the assumption that I’ll crop them, so the framing in my viewfinder isn’t as tight as when I used to shoot film.

I have to admit that if I hadn’t already installed an Apache server in my basement some years ago, I probably wouldn’t do so today.

1 Comment


Leave a Reply

Your email address will not be published. Required fields are marked *

  • Recent Posts

  • Archives

  • RSS qoto.org/@daviding (Mastodon)

    • New status by daviding April 21, 2019
      Public libraries can become hubs for peer-to-peer learning. In the Let&apos;s Learn Teach Online program, #TorontoLibrary has partnered with #P2PU, #CiscoNetAcad, #TorontoESS, and #GBCollege to facilitate "Linux Unhatched" and "Introduction to IoT". Larysa Essex shared their experiences at the @gtalug meeting on April 9, 2019. https://daviding.wordpress.com/2019/04/20/2019-04-09-larysa-essex-linux-unhatched-learning-circles-at-toronto-public-library-web-video/
    • New status by daviding April 1, 2019
      Afternoon break in 200-year-old mid-lake pavilion included zhong, quail eggs, kumquats, sesame peanut blocks, preserved plums. Following afternoon visiting two art museums, the snack re-energized us into discussing philosophy, following the tradition of those frequenting Chinese teahouses. (Yuyuan Tea House, Yu Garden, Shanghai, PR China) 20190331 @marcocataffo
    • New status by daviding April 1, 2019
      Here in Shanghai, @marcocataffo has a Thinkpad T430 , which I&apos;ve now brought up to date with Manjaro Linux (and Kubuntu LTS as a backup) alongside Windows 7. He&apos;s now 2 days jet lagged from Italy. Eventually, maybe @antlerboy will meet somewhere.
    • daviding shared a status by antlerboy@mastodon.social February 9, 2019
      @daviding Wittgenstein:"6.54 My propositions are elucidatory in this way: he who understands me finally recognizes them as senseless, when he has climbed out through them, on them, over them. (He must so to speak throw away the ladder, after he has climbed up on it.)"
    • New status by daviding February 9, 2019
      Dinner with @rms @fsf inviting the activists #CivicTechTO to gain some insight into discussions on privacy concerns #QuaysideToronto. We outlined but didn&apos;t delved into the complexity of three levels of government involved in #WaterfrontTO. (Royal Myanmar, Homer Avenue, Etobicoke, Ontario) 20190208
  • RSS on IngBrief

    • Contextual dyadic thinking (Lee, 2017)
      Contextual dyadic thinking is proposed by Keekok Lee in her 2017 The Philosophical Foundations of Classical Chinese Medicine. This is as a way of appreciating Chinese implicit logic, as an alternative to dualistic thinking that has developed over centuries in Western philosophy.
    • Dao, de, wei, wuwei (Lai 2003)
      Appreciating wei and wuwei has led to the context of dao and de, in the writings of Karyn L. Lai. The scholarly review acknowledges prior interpretations of de and dao.
    • Engineering Resilience vs. Ecological Resilience (Holling, 1996)
      For @theNASciences in 1996, #CSHolling clarified definitions of resilience, with engineering seeking one equilibrium state, while ecology recognizes many. Those who emphasize the near-equilibrium definition of engineering resilience, for example, draw predominantly from traditions of deductive mathematical theory (Pimm,. 1984) where simplified, untouched ecological systems are imagined, or from traditions of engineering, where the motive […]
    • Service coproductions as reciprocal activities
      In addition to extrinsic economic exchange, #JohnMCarroll #JiaweiChen #ChienWenTinaYuan #BenjaminHanrahan @ISTatPENNSTATE say service coproductions relying on all participants to collaborate in both economic exchange and social exchange. Service coproduction is a special case of service provision in which the roles of service provider and service recipient both require active participation. Examples include healthcare, education, and […]
    • Science and Society in East and West | Joseph Needham | 2004
      In researching #SystemsChange, fundamental differences in science and philosophy in the west and the Chinese were surfaced by #JosephNeedham. A useful translation of wéi and wú wéi (i.e. 為 and 無為 , or 为 and 无为) is the ways of "human will" and "nature" as juxtaposed.
    • Wiki as computational platform
      Thinking forward on #federatedwiki, rather than backwards by @wardcunningham. > [Federated wiki] is a computational platform for the collaborative construction of things that work and will continue to work as platform technology evolves underneath it. > Too much thinking about wiki as a note-taking system will just hold it back.
  • RSS on Media Queue

  • RSS on daviding.com

    • 2019/03 Moments March 2019
      Month of intensive lectures and research meetings, in Toronto and then in Shanghai, with social breaks on local excursions to clear minds.
    • 2019/02 Moments February 2019
      Reduced exercise outside with a cold and snowy February, with excursions out of the house to warm places with family, friends and colleagues.
    • 2019/01 Moments January 2019
      January in Toronto has lots of intellectual offerings and artistic exhibitions to attract the curious out of warm homes, through cold and snow.
    • 2018/12 Moments December 2018
      Tried to have a normal month, with a busy social calendar of birthdays, a funeral plus Christmas season, while daily temperatures hovered just above freezing.
    • 2018/11 Moments November 2011
      Mentally busy month with a conference coming to town, and maintaining the regular pattern of local meetings, travel around town only by bicycle.
    • 2018/10 Moments October 2018
      October had more bicycling cross-town as fall temperatures declined, plus a 6-day trip to Portland Oregon for pattern language conferences.
  • Meta

  • Creative Commons License
    This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
    Theme modified from DevDmBootstrap4 by Danny Machal