In my previous post (The Fall of PolyWogg (part 1 / 4)), I covered the technical fall of my site. After the nuke went off, I spent a full week attempting to work through all the technical options to get my site back up and running. And repeatedly failing. I knew I had all the data, so there was that consolation, but the rest of the site? It was looking increasingly like I was going to have to erase everything, nuke the entire account, and start over. I had managed to partly fix two other sites that I host on my account, one for a friend and one for my brother, but beyond that, I was not positive either one were any more reliable than my main PolyWogg.ca site.
So as I reached the end of February, I had to accept the reality. My site was dead. 24y of content, 17y of running a website, and I was at square one. My blogger days were done.
Understanding the magnitude of the loss
I have a hard time explaining the loss to others, because there is no other word for it except loss. I was in shock. A major part of my identity is tied to that blog. I consider myself to BE PolyWogg. And the website is as part of that reality as my own body and soul. They go together. I pour my heart out on that blog, sometimes writing about stuff that I have never told anyone about before. Not even my wife. Or my son. Or best friends. I dig deep, I bleed out on the screen, and sometimes my psyche is so raw that when I’m done writing, I’m spent. I collapse into bed, exhausted. Like I have nothing left.
If I want to look at the numbers, I had 1600 posts and 200 pages of information up on the site. 1800 “docs” with some 1.6 MILLION WORDS. Almost every one of those words mine. There are only three things on the site that aren’t mine in that total count: a report on an HR conference that I still host that is almost 20y old, and two blog posts by my wife. The rest is ME.
If you want to comprehend the volume, 1.6M words is about the length of twenty mystery novels. Now think of it in those terms, as if an author lost all of their work-in-progress or a doctoral candidate lost their thesis. Perhaps they have drafts to rebuild from, but the thesis or the WIP? Gone. Now take into account I had lost 17y worth of work on the structure AND thousands of hours building and running the site over the years.
All of it gone.
It messed with my head
As I said, the loss put me in shock. I shut down emotionally and mentally, combining way too well with some challenges I was having with a leg wound. It messed with my head enough that it scared the crap out of me. How? Try this on for size.
I actually considered NOT rebuilding. I don’t mean I briefly thought about it, I mean I was seriously asking myself if I even COULD rebuild. If I had it in me to do. If I did a few nights a week, it would take me about six months to rebuild. It wouldn’t take much to even have it take me a full year. That is NOT a joke. That’s how much work was involved in rebuilding. I knew it would take an enormous amount of work.
And I didn’t have the energy to even think about committing to it.
Let me give you an equivalent for the leg wound. I was so frustrated with it that one day when I was getting examined, and I was waiting for them to come in with the diagnosis, I was running through dark scenarios in my head. And I realized that if they said they had to amputate, I wouldn’t have asked for a second opinion. In my head, I would have been like, “Okay, is this an out-patient thing we can do today?”. I just wanted to get through, I didn’t care about the “right” outcome.
For my website, I was looking at it and thinking, “Okay, maybe I should just let it go. Get a life somewhere or something.” Bearing in mind that I define myself as a WRITER, who exercises that muscle by BLOGGING, because I don’t feel like I have the time or energy to write full books right now. Yet when I retire, I have a long list of projects I want to undertake. Things I want to write about. And to post on my blog. It’s almost my ENTIRE retirement plan, outside of some fitness and travel. Andrea won’t be able to retire for several years after me, so this is my big scary goal.
But here I am saying to myself, “Okay, it’s gone, let’s move on.”
WTF?
What was GOING ON with my head?
A spark of energy
I’ve reached out in recent weeks for some mental health care, and the first question they always ask is, “Are you having any thoughts about harming yourself or others?”. And the answer is simple. No. Sure, I might have thought of a couple of thousand ways to torture the tech support person who killed my site, but not serious ones. Just fantasizing as therapy.
But IS IT that easy a question? No, I’m not thinking of harming myself, but I wouldn’t have pushed back too hard about amputation or just killing the site completely. That doesn’t exactly scream self-preservation or self-care either.
My GP consult doesn’t see signs of clinical depression and my regular counsellor thinks most of what I was experiencing was a combination of factors including frustration with the leg and shock at the loss of the site, helplessness in being unable to immediately fix either one, and a giant overlay of “COVID isolation sucks” dampening everything down.
I tend to think both are right. But at times I also wonder if because I don’t act like a typical patient that I could be faking them out. If a mental healthcare worker asks me a question, I don’t dodge it. I embrace it full-on usually. Getting me to talk? Never a problem. Getting me to get to the point in your 50-minute hour? Sure, THAT’S a problem. But getting me to open up, talk about things, diagnose the issues, and contextualize it within a larger frame? I can do that in my sleep. Yet it can also make it look like I’m more functional than I am. Let’s face it, I’m an analytical squirrel on a GOOD day. And that can mess me up.
But as the second week of my status as a dead blogger continued, some of the shock wore off, and I could more ask myself, “Really? Are you really going that way? CAN you go that way?”
And finally I asked my wife for a blunt assessment as the person who knows me second best to myself.
Could she see me ever being happy without rebuilding?
There was no need for the Jeopardy theme, she knew the answer without having to think about it.
Which I also knew, or I wouldn’t have asked the question. I was trying to protect my mind from the shock during week 2 by framing it as a choice. But there was never any real choice.
I had to rebuild.
We have the technology; could I rebuild it better, stronger, faster?
I want to talk some more about my website, and if last September was version 5.0, then the version I had as of February of this year was probably about version 5.2. I had added a few extra features, added some functionality, and expanded the base. I had made extensive progress with my photo gallery, and overall, I hate to say it, but I was feeling pretty good about it. From January 2020 to February 2021, I had drastically upgraded a TON of stuff on the site, and I felt like it was generally under control.
Jinxing myself
If feeling like things are going well, then February was probably a karmic risk. I was spending a little extra time on my photo galleries, and I was starting to feel like I had almost reached critical mass. I had 2005, 2006, and 2007 on the site, plus “regular 2008” and most of “wedding 2008”. I hadn’t quite finished the wedding albums, but most things were working so it was only a matter of time until I did. I was about halfway through the wedding albums, with my eye starting to turn towards the honeymoon photos, and beyond.
Except I ran into a small problem with the galleries. When I went to upload photos, I basically would open an upload window in the NextGen Gallery plugin, upload all the photos, make a number of tweaks, upload the videos, make some more tweaks, save it all, and then share it to FB.
But the upload was throwing errors for some reason. It took a while to narrow down even what the error was about, but essentially it would start uploading, and regardless of the progress on any file in there, if any one file took more than 30s OR the whole process ran more than 2m, then the files would time out. Now you would think that would be easy to figure out where the problem was — obviously there was a server setting somewhere that was timing out on me. Yet when I worked with the Level 1 and 2 support people with the hosting provider, we could not adjust the settings to prevent it.
Of course, I had to work through standard initial responses. “It’s a plugin conflict” … nope, I already tried deactivating EVERYTHING else. “It’s a theme conflict” … nope, tried that too. “It’s a problem with the plugin itself” … except it was the same version as the month before, no updates, AND I have the premium version. No change in the plug-in, but suddenly my server wasn’t letting me upload consistently. We tried modifying a bunch of different variables, mostly to make it more efficient so it would complete before it timed out, but we couldn’t seem to stop the 30s and 2m timelines. The plugin developer gave me a work-around so that it would do one file at a time, no concurrent loads (the default is 6-8 at a time in segments), and it worked most of the time. Right up until a file reached 30s and then it would time out. The 2m limit was still active though.
Now, the simple solution normally would be to do much smaller batches OR upload using FTP, but both added a bunch of extra steps to the process, so I was still trying to find WHERE in the server I was timing out.
Enter the dragon
I don’t want to appear overly dramatic, but I don’t know how to avoid it. I want to be fair, but at the same time, someone screwed the pooch. With the multiple attempts to “fix” things, someone in Level 2 support got the bright idea that there was something wrong with the configuration of my WordPress install. That it was taking too much overhead, and that was why things were timing out. That’s completely unrelated, but whatever, let’s not quibble.
Anyway, they sent me an email on a Thursday morning that said basically, “Okay, I’ve run an optimization on your WordPress databases and activated compression. I know that you said you didn’t want compression on your site, but it will speed things up, and the uploads should be able to complete.” He included pics / screengrabs of the front end of my site to show that it was all working.
I got the email on my personal account while I was working, and my immediate thought was, “Oh, crap.”
First and foremost, I’ve run compression on my site and it screwed up a BUNCH of things. It took some effort to undo them. Now, I ran it at the plugin level, and he was running it at the server level, but it scared the crap out of me. If he had asked me, I would have initially said no, not a chance, but might have been able to be talked into it. Except compression on the site wouldn’t affect my uploads — that would make my site render faster for front-end facing, but it wouldn’t improve my uploads, would it? (Answer: No).
Secondly though, I was wondering about the optimization process. When you run optimization, it often asks you what you want to do as part of your optimization:
Simple optimization, looking for deleted entries that need to be cleaned up, etc.;
Deleting revision histories, i.e., if you made a change, the previous “x” number of versions of that post are still available if you have to revert to an earlier version;
Deleting auto-save / auto-drafts, i.e. if you leave the post open in edit mode for awhile, while you’re doing something else, and don’t close properly, your last “auto-save” is sitting there;
Emptying the trash;
Removing old comments that are left unapproved;
Removing old transients, i.e., unattached orphan bits of info;
Removing ping-backs and trackbacks to other websites;
Removing orphaned meta data for posts and comments; and,
Removing orphaned relationship info.
Generally speaking, what you keep or delete can be “everything” or “nothing”, and every point in between. The first one (simple optimization) is generally done by everyone, without too many problems, as can removing orphaned meta data (#8), relationship info (#9), transients (#6) and the trash (#4). But the rest? That’s highly personalized. I tend to keep up to 4 revisions in my history on current files, just in case I screw something up and want to go back in time without having to do a restore from backup. Older stuff? Sure, no problem, but recent revisions? Some plugins set the cut-off at 2w, which is reasonable, but I had no idea what the support guy had run. Auto-saves? Old comments? I didn’t have anything in the pipeline at the time, but it wouldn’t be the first time in my website history if I had examples of both that I didn’t want to lose.
So I wasn’t exactly thrilled that they had run both compression and optimization without checking with me first. But, the front end was working still, so should be okay, right?
The best-laid backup plans
Later that night, I tried to login to my site and it wouldn’t let me in. I had to actually go in through the server settings, reset a plugin, and then login manually a different way. Odd. But I figured maybe the optimization had messed something up. No worries, all in, reset, all good. Except it wasn’t.
I noticed one of my pages on the front-end looked fine on the blog home page, but when you actually clicked on it to go to the main page, it threw errors. In fact, ALL of my posts were throwing an error when it was on the full page for the post. Umm…Then a few other glitches cropped up. Okay, something’s not right. Time to go to the backup and revert the current version.
As an aside, there are 4 types of backups generally for WordPress sites that are self-hosted. First, you can make a manual copy of the entire site and download it. It’s incredibly time-consuming on a large site, but you can do it. Second, you can run a plugin that will make a backup of the site and store a copy either on the server or send it to some sort of off-site cloud storage. Third, you can run an external software that will backup from the server to a third-party site. Or you can use server software to backup everything.
I had some older versions of the site fully downloaded, so that was always an option, just old. In addition, I ran a backup plugin that had some versions saved on the server. And the big option, the server software option, had daily full and incremental backups. I had run into glitches previously where I had to use the server backup offered by my hoster, and they have always worked well. Even though they screwed up my site Thursday morning, there was a full backup run and available as of 8:00 a.m. that morning. Perfect, I restored from there.
Except the restore only partially worked. It gave me a restore…from almost 14m before. None of my recent work in the last year had restored, nor any of the content. Huh? Okaaaaaay, how about Wednesday? Tuesday? Monday? Nope, none of them would restore properly. Nor would the full-download version of the backup or the plugin ones stored on the site. None of the backups would complete. F***.
I ended up dealing with a CSR who was actually decent, and he figured out that for some reason, the caching software that all of their servers were running, Litespeed, was interfering with the restore. In essence, it was telling the restore that the files were already there, so it wasn’t restoring all of them. Crap. That caching software can’t be disabled. It is at the full server level.
Between the CSR and myself, we managed to run a series of “manual” restores on the Thursday morning version and in the end, we got all of the data back. It wasn’t accomplished by the rules according to Hoyle, but it was done. Whew.
Enter the gremlins
The backup completed, and I seemingly had everything back, but then I started to notice some gremlins. I’d go to edit an old post, and the photos I had linked to wouldn’t show in the editor. If I did a preview, some of them showed, I would refresh, and everything would be fine. Okay, looks like a simple caching problem. Then I would come back to the page, and something else wouldn’t work. I tried editing again, and a paragraph would be “missing”.
It looked at first like it was just “gone”, but then I would notice that the block was still there, it was just NOT SHOWING the text. So I would click on it, switch to the HTML mode, and it would give me a really weird set of codes. Blocks that were the simplest blocks of all would suddenly have almost CSS-like styling codes embedded with them. Huh? Where did THEY come from? How are they merged with my HTML content? WTF?
For my photo galleries, I had been embedding them on pages (rather than as posts), so I was running a plugin that displayed the pages as “nested” trees. It makes it way easier to manage them than as part of the standard WP page interface, yet with the gremlins, the tree wasn’t working consistently. I couldn’t move pages up or down, or I could move one and then have to totally reload the page before trying to move another. WTF x 2?
And then I started noticing some other gremlins. A couple of key plugins that I use were not working / loading at all, I started to get errors in the admin screen, which I could dismiss, and then 20m later, I’d get a similar but just slightly different one.
Finally, I ran into a problem where none of my reusable blocks were loading. Okay, that’s a problem. I tried disabling a few plugins and reinstalling them, I even tried reinstalling the core WP files. Nada. The gremlins remained. It almost looked like I had malware or a virus working its way through the install, but I don’t think so.
I think it was just that the restore had not properly restored everything.
Which left me with a choice
I tried a bunch of things, no luck. No new options from the tech support people, although I was a little bit gun-shy about their help anyway. They were the ones who nuked things in the first place.
So I gradually came to the sad and sobering realization. I had 24y worth of data, and while I had it back, the website that I had crafted over the last 17y was basically now unreliable. The foundation was shot.
I knew I could rebuild, with a massive amount of work. Did I want to?
Well, it is almost two months from the fateful day when I received the email from my hosting company’s tech support that they had run a compression option on my website AND an optimization plugin. Either one alone was enough to send me into shock as compression has NEVER worked well on my site with the plugins I run, and optimization runs by deleting orphan elements in your database. Except there’s really no such thing as a universal orphan — some plugins treat autosaves that you haven’t worked on in two weeks as orphans and wants to delete them.
Sure enough, it nuked my site. Restores from backups ran into conflicts with the caching software and the result was that everything did NOT restore perfectly. Some posts would look fine one day and the next would crash when loading; some plugins on the backend wouldn’t load at all, and then an hour later worked fine. I suspect, but cannot be sure, that the fault was a combination of incomplete restores AND the caching software at the server level. In the end, the only way to rebuild in a way that was entirely reliable was to nuke everything and restore generally from zero. I had all the data, but the rebuilding still required me to pretty much update each plugin first AND to open and resave each post to make sure the data was complete. In several cases, I found glitches in the middle of posts — parts that DIDN’T restore properly — which supports my theory that the restore didn’t quite work perfectly.
Anyway, I’ve been heavy in the weeds for sometime, averaging 3-4h a night on the rebuild process, and I’m making progress. Here’s the status:
Astropontiac
MCSInc
PolyWogg
ThePolyBlog
Total
Active plugins
12
12
48
47
119
Total plugins
13
13
49
48
123
%
92%
92%
98%
98%
97%
Active pages
12
5
41
7
65
Total pages
12
5
65
44
126
%
100%
100%
63%
16%
52%
Active posts
—
—
601
419
1020
Total posts
—
—
604
898
1502
%
—
—
~100%
47%
68%
Active pages+posts
12
5
642
426
1085
Total pages+posts
12
5
669
942
1628
%
100%
100%
96%
45%
67%
Overall (1/3 plugins, 2/3 content)
97%
97%
97%
63%
77%
It feels good to be over 77% done, although it’s hard to tell if the weighting is correct. I estimated 1/3 to get the plugins right, and 2/3 to rebuild the content overall. If I reweight it 50/50, it goes to 82% overall. If I reweighted the content higher, perhaps a 10/90 split, it would change to 70%. Soooo, I’m somewhere between 70-82% I guess. The stuff I’m doing now isn’t long per post, but it is REALLY mindless.
If you have archivist tendencies, combined with strong analytical props, and a digital bent, digital photo management is the field for you, my friend. As an amateur or professional, you too can find new and interesting rabbit holes to explore.
For me, I have wanted to put some of my photos online since 2005 when we bought our first digital camera. Actually, a little before that, as we had films developed and they threw in digital prints for a $1 more sometimes. And I’ve had a website since back to the dark ages before that, with the natural thought, “Could I share them on there?”.
Round 1 – Basic HTML site
Initially, round 1 of my attempt was to code my own little gallery website. I was doing all of my photos in custom FrontPage designs, and I uploaded two or three albums in HTML code. It worked, it was functional, but it wasn’t very easy to manage. More like “dump them here and you can see them”. I also wasn’t particularly sure if I had a good process behind the scenes, but when there’s only a couple of hundred, the supply side of uniformity in file management gives way to the demand side of ease of management. Throw them in a folder, call it done. Upload a few, call it done.
Eventually, I upgraded the side to a content management system, and photos were NOT an easy inclusion. Sure, I *could* include them, but it was very manual AND hard to manage all the photos on the site. They didn’t go in a subfolder, they just went in one big directory online called “media” or “images”. Not very satisfactory even with a couple of hundred images. If I uploaded another year’s worth? Meh.
Sure, I could do it through FB, but I don’t really like FB that much, and I really don’t like having all my stuff there. Plus lots of people in the family who would/could/might want to view the images aren’t ON Facebook. Or at least most of them weren’t at the time. Over time, that edge has dulled a bit, but still, it’s an issue.
Round 2 – Photo hosting site
Eventually, I decided I needed a REAL solution for online. I had enough photos that I wanted to upload that I went for an online photo site, and reviewed a bunch of sites. In the end, I went all-in on Smug Mug. It was great. I could choose a theme, I could have subdirectories. I had to manually add all my labels and descriptions, uploading my initial pics for the second time plus about 4y worth of photos, but at least I could do it. Cross-linking to my website wasn’t easy peasy, lemon squeezy, but I could do it. Sort of. More like “good enough” rather than “good”.
Except that because of the volume and use I was needing, I needed a paid account. It was only about $100 a year overall, but it was always a bit grudging payment. Here I was, paying for Smug Mug to host my pics, when I was ALREADY paying for my own site. Does that make sense to anyone? Easier than running my own photo gallery, most of the time, sure, but on principle, it annoyed me.
Round 3.1 – PolyWogg.ca
And about 6-7 years ago, the principle got to me. I wanted it on my own site. No content rules, no limitations, my own site. So I moved it to my polywogg.ca account. Great. I ran a gallery called Coppermine initially, got it going, wasn’t totally happy with it, but managed to upload a year or two. Not bad. I considered it “round 3” for online.
But it wasn’t working quite the way I wanted it to, I struggled here and there. Eventually, I decided I needed a different solution, and opted for a photo gallery called Piwigo. It had a lot of power, extra extensions, themes and plugins, like any good online community eco-system. And it handled all of my photos REALLY well. Video was still a bit of a challenge, but I could make it work. Probably.
I didn’t quite get the chance to find out. I ran into some problems about that time with an old hoster, and moved to my third hoster of my online career. I lasted about 18m with that one before they really started screwing me around. I was almost to the point where I was considering calling in a lawyer if the amounts weren’t so small. Mostly I just wanted to smack them around. Really terrible business practices and even worse support. Like them modifying my site without telling me, my finding their changes, their denying it despite the logs showing they had done it, so they deleted the logs, and my support tickets, and then deleting my complaint files (all the same support people) so the bosses wouldn’t find out what they had done. Eventually it blew up on them entirely, and a lot of people went public for awhile before the whole unit was fired and supposedly new people hired, but by that time, I was long gone.
I had moved to a medium-sized company in Canada, my current hoster, and within days of moving, I knew I felt at home. There had been a long, lingering problem on the old site, I was convinced it was a server configuration issue but had no idea how to solve it and the support people denied there were any issues. Two days after I moved to the new host, their support group reached out to me, noting the misconfiguration was likely affecting my site performance and suggesting a fix, if I was okay with it. For what I was doing, there was a small reconfiguration required, and they were proactively helping me solve it. Nice.
I reinstalled Piwigo, spent about a year getting it all up and running the way I wanted it to (after all the other changes I made to my main website were taken care of), and I consider that round 3.2. I started uploading photos. Again.
For the first year of photos, this was the fifth time uploading them somewhere (once in HTML, once in SmugMug, once in Coppermine, and now twice in Piwigo on two different hosters). Some metadata transferred, some did not. Sigh.
Round 4.1 – WordPress
I know I’m anal, but this decision really wasn’t mine. Not exactly.
You see, my site has unlimited storage and unlimited bandwidth (within the general setup of the site for speed and servers), BUT one thing that almost all small hosting packages have in common is a small note in the fine print. A limit on “inodes”.
If you don’t know what an inode is, you’re not alone, and most people who have hosting packages never even notice it. It’s basically a “file marker” in the server that tells it where to find a folder or a file. Like an index card system in a library or your old file allocation table in Windows.
For my hosting package, I am authorized up to 200K inodes. Which sounds like a lot. I have unlimited space, but for inodes, I can have say 1 folder with 199,999 files in it, or 100K folders with only 1 file in it. Neither are likely scenarios but here’s the catch. When you install WordPress, with all its little files for the core, themes and plugins, it takes about 10K files and folders. Piwigo takes about 5K all on its own. I also run two other installations of WP on my site (for other sites), and I used to have 3. Which meant just based on “installed” software, I had 35K worth of my 200K inodes already taken up.
Still, lots of room, and I cut one installation when I merged PolyBlog with PolyWogg. Back to 25K in inodes, 175K left. Plenty of space, right? Except Piwigo has a really nasty habit of generating other sized photos. So let’s say I upload 10K photos. That’s 10K inodes. Initially.
Then Piwigo generates a thumbnal (+10K), a small image (+10K), a medium image (+10K), a large image (+10K), and the original image (~0 extra). So 10K worth of images generates 50K in inodes. Umm…that’s not good. In fact, with EVERYTHING running at one point, I was up to 145K/200K used. Yikes.
Now, I can reconfigure Piwigo not to do that, and I did. I got it down to a smaller number, but the way it does it, it will always generally be twice the number of inodes.
Okay, so I had it down to a smaller functioning site, all good, right?
Well, not exactly. I still had to keep maintaining the site for admin, including improved security, etc. Plus, it isn’t exactly the most robust of software packages. I found a few things that had to be coded manually to fix, and while we found solutions (or rather the community experts helped me figure it out), it was kind of like hacking the code to make it do what I wanted. Satisfying and unsatisfying at the same time.
Round 4.2 – New WordPress versions
In the meantime, WordPress was continually evolving. It moved forward several iterations and then finally a full version upgrade, and more and more, the Piwigo solution wasn’t really integrating very well, Which is a bit of a problem.
I am, primarily, a blogger. While I have a huge site, most of the content is in pages I wrote as blog entries like this one. And I want to include more photos. Even if it is only, “Hey, here’s this photo I took yesterday at the tulip festival” before I tell some story about the experience. Yet the more WP evolved, the harder it was to integrate the photos from the site. I did it a bit manually for awhile too, passing up on some malfunctioning automated tools, but it was far from satisfying.
What I REALLY wanted was what I had wanted from the beginning. One site, one solution.
I dug back into all the photo galleries that had existed from the dawn of time, or at least it seemed like it. I found dozens that were popular and in heavy use. Some were really cool. I limited myself to those that were still compatible with the new versions of WordPress, but it was still a long list.
And almost all of them had a recurring problem. The same one I had way back at the beginning…they all use the media library as their default save location, which means by default, all the photos are stored in the same place as where you store your site header, featured images, etc. It’s nice that it’s all in one spot, but it is kind of like throwing all your books in one room and saying you have a library. No organization, no easy searching, just a long list of images to find the one you want.
The most popular one of all is one called NextGen. It has been around for years, made by Imagely, and one of the reasons people use it, other than robustness, is that it has a totally separate file structure. That presents good and bad features, but the biggest “pro” is that all of your media is stored separately. Your core media library remains untouched. One “con” is that it doesn’t handle video.
But since none of the others can handle video either, I gave it a go. Again. Sure, I say again, because I had tried it 2-3 other times previously. I always wanted all my stuff in WP, and every time I considred Smug Mug or Piwigo, I looked to see lightly if I could find a good solution in WP, and NextGen was always on the list. I could never get it to work properly.
I don’t know exactly why, but it would NEVER work right. So I’d move on, frustrated.
This time I tried it, and it worked. Out of the box, day one, first light. It just worked. What’s different from the last time? A new version of WordPress, which is significant. And I’m on an entirely different hoster that is properly configured. Does that make the difference? I don’t know. I just know it works.
Holy crap. It worked. I could integrate my GALLERY within my MAIN SITE. Holy snicker doodles.
I started uploading. I got 2005-2008 uploaded, and I hit a small wall. My site design wasn’t quite right.
Round 5 – PolyWogg 5.0
I redesigned major parts of my site in the last year. Fixed a bunch of inconsistencies, tweaked some other settings, added whole new sections. And each time I made a change, I kind of said, “Okay, I’ll figure out later how my photos fit into this new site.” I kept pushing it off.
I needed the “words” to work before I figured out how the photo and videos would work. Or if they even would.
That’s no small issue. While there are huge advantages to having everything in one site, my site has grown. It’s quite large. It has a LOT of moving parts. And the more I push in certain areas, the more I expand my content, the less functional it seemed having everything together.
A few weeks ago, I had to bite the bullet and decide. Was it going back to having two (or more) sites for PolyWogg content, maybe one for my HR guide, a separate one for regular blogging, a separate one perhaps for photos? In the end, I reframed the question. What were the REAL obstacles in having it all on one site?
The final analysis brought me to two pain points:
Navigation
Branding
Content management wasn’t the real issue. It was that I have a lot of content that I want to group together but branding it doesn’t really work with my standard “PolyWogg” headers. And navigation amongst the sub areas is too hard when you only have one pull-down menu for that category with a lot of sub-sub-sub-menus.
Again, as with all things in web developer, there was another option besides a separate site. I could, in theory, have separate headers for my different content as well as separate menus. There would be one master menu for the site, but once you got into more granular areas, you would move to a wholly different menu too.
Except I had tried this on multiple occasions, my theme is SUPPOSED to be able to do this, and I’ve never been able to get it to work. I’ve tried other plugins, nada. But this is what I WANTED. Maybe I could bang my head for a few weeks and see if I could cobble together a solution.
Okay, step 1, reach out for theme support. See if they had suggestions as to which other plugins would work well with the theme to do exactly what I wanted. Or tell me how to make it work with the theme. I’ve had some luck with them in the last year tweaking my theme, so I was willing to give it a go. I posted my question, aaaaand I crashed their site.
I’m not kidding. I literally crashed their support site. They fixed it and went, “Huh, what happened?”. I told them I had been posting a question, they double-checked the log, and sure enough, it was my account that killed it. My account is somehow corrupted (they don’t know how or why), and my posting killed them. They’ve tweaked it so that I can’t do it again, but my acct is still messed up somehow. I can use it, but well, I get some weird screens that others don’t get. No worries, I’ll survive.
Except in the meantime I figured I would see how far I could get on my own down this rabbit hole. I went to my theme. I enabled the features. I went to my test page, switched the header to the proper one, no change. Yep, I remember that outcome. Went back to another sub-page, made some more tweaks, misread an option, set it, reset, now NO header. WTF? Oh. Oops, misread it. Okay, reset that option, found two others that seemed to make sense that I haven’t noticed before, might be new, retested. And my header changed. All of my branding changed for that one sub-page with 2 minutes worth of work. Holy smokes.
Okay, don’t get cocky, I thought. I went to the menu area. I tried to create a new menu, copying over my old one. Told it not to put it ANYWHERE, just a dummy menu. Went in and deleted some stuff just so I could see that it was different. Went to the page that had the new header and told it to show the new menu on that page, not the regular menu. Reloaded. BAM! All of my navigation was changed for that one sub-page with 2 minutes more work.
OMG.
I did it. Exactly the way it is supposed to work, and I’m 95% sure, exactly the way I had tried it on previous occasions. But I don’t care now. It works.
Which meant I could keep my single site. Which means no separate setup. Nothing to stop me from using my existing site. All I had to do was decide on a consistent format to my layout and design for that sub-area that wouldn’t bite me in the butt later.
Because I’m not talking some small site. The average site in WordPress for people using other galleries is maybe 1000 photos. Sites that run full WooCommerce and sell products frequently don’t have more than 1000 items in their site. For me? We average 2000 photos a year, of which I post about a third. We broke a thousand mid-way into year 2, I’m over 2000 by the end of year 4, and I haven’t even included all the photos from our wedding events that year. Including the honeymoon section which is huge.
Long term, I’m estimating somewhere around 20K photos just to get caught up to now, although that may top 25K. I know professional photographers who don’t have that many. AND I haven’t even got to what I want to do for astrophotography images.
Rebooting the gallery
Since I had already uploaded the photos for 2005-2008, I didn’t have to do much to “fix” those galleries. I renamed a bunch, I changed the look and feel from an old template being deprecated to a new one, tweaked some inconsistencies here and there, and added a new video section that works really well, so I’m generally “good to go”.
Previously when I played with the first 4 years worth of gallery, I had to spend a lot of time getting them up and running. Maybe one gallery a day. I just did 32 galleries in about four days, one year per day, generally about 2 hours work while I was editing other things.
I’ve even managed to get past my previous point of progress (2005-2008), completed all the old galleries for the wedding, and I’m finally back into the truly “new” ones for being part of WordPress. I had reached 2011 at one point with SmugMug, I think, but I’m pretty happy with my early rebuild. I have a full workflow figured out, complete with Mylio as my software, and it is giving me the confidence that I have finally “turned the corner” on my go to solution. Four years down, thirteen to go, albeit the next thirteen won’t be anywhere near as fast. And alas, 2009-2011 is redoing old work. At least I’m doing it properly now.
Just don’t ask me about astrophotography yet. I don’t know HOW I’m going to organize that stuff.
Overall though, apparently the “seventh time was the charm”…I have won a decisive battle, but the war rages on.
I mentioned in my posts about my goals for 2021 that I want to do a fair amount of work on my photo gallery (Setting goals for 2021 – Part 5: Computers, Website, Blogging, Writing, Media and Photos). But in order to do that, one of the things that is a challenge is ensuring that each gallery (say, a given month of a year) is set up consistently each and every time. That’s not a “small” step of consistency, but one that starts from the very beginning. So let’s talk about the different stages of the workflow.
Stage 1. Taking the photos
My photo gallery is made up of photos that come to me from multiple sources, and I need to be able to tell them apart for the purposes of managing. I can manipulate the filenames after the fact, but it would be easier (as my friend Matt suggested) if the filenames themselves were a bit more process-friendly. So let’s look at what those FNs would look like:
Andrea’s iPhone –> IMGxxxx – YYYYMMDD – AH
Paul’s iPhone –> IMGxxxx – YYYYMMDD – PS
Jacob’s iPhone –> IMGxxxx – YYYYMMDD – JH
DSLR –> IMGxxxx – YYYYMMDD – DSLR
Point and Shoot –> IMGxxxx – YYYYMMDD – SC (* for small camera)
Screen grab –> IMGxxxx – YYYYMMDD – SCR
Tablet –> IMGxxxx – YYYYMMDD – TAB
Now, some of those can be assigned at time of capture, while others will have to be assigned at time of file transfer. Depends on the original tool. So the workflow bifurcates after this step, but the step here is the same:
Take the picture
Stage 2. Managing the photos – Pre-processing and pre-sorting
Managing the photos is initially quite easy. I have to copy them from the device to the same folder on my PC, and I do it in four stages depending on the imaging source (copy to the hard drive, copy to the sorting folder, simple sort, and convert videos).
For Andrea’s iPhone and the Point and Shoot camera, the photos get transferred to her desktop and then copied onto a USB thumb drive.
For Jacob’s iPhone, the photos get transferred to his laptop and then copied onto a USB thumb drive.
For my iPhone, the DSLR, and the tablet, all the files are synched onto my desktop into a Synching folder.
Any files that are not already renamed properly can be renamed at this stage.
For the final step, all eight original sources are then moved into a sorting folder where I sort them by month and day or event into relevant folders. Since lots of shots are grouped together, I create a file folder structure such as:
YYYY / MM-Month (general folder as the upper level folder)
YYYY / MM-Month / DD (Event title) like “14 Kayaking at MEP’s” or “29 Birthday party”
YYYY / MM-Month / Extras as a folder for ones not being used in the gallery (often mistakes or just not meant for public, like a photo taken in a store of something I want to buy)
YYYY / MMb – Special – Special event for the month (#1) like a party, trip, etc. where a large number of photos warrant their own gallery
YYYY / MMb – Special – Special event for the month (#2) like a party, trip, etc. where a large number of photos warrant their own gallery
YYYY / MMz – Blog posts for photos that I’m going to eventually upload to the website to include in various blog posts but are generally not interesting enough on their own to include in “general photos”.
For the first level of sorting, I move everything into the relevant folders. It may mean, for example, that I have a folder for a big trip that has photos from multiple sources in it, and in fact, I usually do have at least 2 sources for various daily events.
For the second level of sorting, I convert all MOV format videos into MP4 format (suitable for the web) and move all old videos into the EXTRAs sub-folder.
Copy from the device to the hard drive
Copy from hard drive (potentially via USB flash drive) to the sorting folder and rename any if necessary.
Do a simple sort by event and dates
Convert videos to MP4
Stage 3. Managing the photos – Advanced sort in Mylio
I use Mylio as my image manager, and I do four steps in Mylio.
First and foremost, I import all the images from the sorting folder including the directories I created. When they arrive in Mylio, they are in a sorting folder too. I basically go through and move the quality images I want to use for each event into the MONTHLY folder (such as 2021 / 01 January). Extras that I’m not using, such as the secondary or tertiary photos of a group of ducks, I move into the EXTRAS folder. I also do a quality sort on the videos, special events, and folders of photos I intend to use for my blog posts.
In some cases, I may decide to edit a video or photo to make it suitable for sharing, in which case I make a copy and edit the copy rather than the original. I usually do this in another program beyond Mylio and then reimport the edited version.
Once I have a set of photos and videos for a given month (for instance, 2021 / 01 January), I run facial recognition on the “good” photos (there are too many photos to worry about doing the Extras too) and I let the computer do most of the work to group them and guesstimate who is in the photo. After the first few hundred of a given year are posted, the rest of the guesses are usually pretty accurate on the first attempt. I then add metadata to the files. This includes a name and description for the photo (identical as it is used differently in WordPress), something short, and some keyword tagging that includes year, city, event, and any people in the photo who were tagged in the Key Words. Finally, I save all the metadata to the image file.
Finally, now that the photos are all sorted, named and tagged, I move it from a sorting folder into my full folder structure for the Panda Photo Gallery in Mylio which generally has the structure of FAMILY / YEAR / MONTH.
Import images into Mylio sorting area
Do advanced quality and photo selection, filing the rest in EXTRAS.
(Optional) Edit any photos or videos that require tweaking
Facial recognition
Add metadata (name, description, tags/keywords)
Save metadata to image file
Move from sorting folder into a full folder structure
Stage 4. Uploading to WordPress
Up until this point, most of the file management stuff is just simply a good process / workflow for keeping my photos organized and filtered for quality. Now I look at the parts of getting it on the website.
Initially, I create a page to hold the gallery (while this could be done later, it saves a step in the gallery creation process) and assign it a name such as 2021/01 January, and insert two default items — a blank photo gallery and a blank video gallery. I save the page, but leave it in edit mode.
Then, working by folder (such as 2021 / 01 January), I create a new GALLERY called 2021-01 January in WordPress. This opens an upload area, and using Mylio as my initial interface, I upload all of the good PHOTOS for that month/event. Since I already populated the metadata fields, the upload puts everything into the WordPress fields for me. This completes the step of uploading all the PHOTOs. I can then edit the GALLERY description to describe the various events in the monthly folder (copying the description for later use, like a descriptive table of contents), add the link to the page created above (the step that I saved allows me to do this now), and add the GALLERY to the appropriate ALBUM (such as the year, 2021).
Then it is time to upload Videos, if any. These have to be done in the Media Library, and using Media Library Assistant, I save them to a separate sub-folder usually called YYYY-MM. Now that all the files are uploaded, it’s time to go back and edit the page I created earlier.
Each Gallery page has six components to edit:
The Page name, if it needs to be tweaked from the standard page name (usually YYYY-MM for months but could be YYYY-MM Special – Trip to Mexico);
A manual breadcrumb that I’ve created to allow the viewer to go one level higher easily;
A description of the gallery (same as what was already entered in the Gallery Page, just pasted here);
The blank gallery block to choose which gallery I want to show, and to change the order of photos if needed;
The names / description of any videos that need to be linked; and,
Linking to the videos themselves.
Finally, everything is saved and the page is previewed to make sure everything works, and the page is published. The link is then shared to FB along with the gallery description.
Create a page and edit the page name, add a blank photo gallery block and a blank video gallery block, and save in draft mode;
Create the new gallery, upload all the photos, edit the gallery for gallery description (and copy for later) and link to the page created above;
Add the GALLERY to the right ALBUM;
Upload videos and sort into sub-folder;
Go back and edit the page for page name, manual breadcrumb, paste the description, choose a gallery in the blank gallery block, edit the names / descriptions of the videos, and link to the videos themselves;
Save and preview/test, then publish;
Share link with FB.
Stage 5. Backups and further usage
Mylio automatically does a backup of all photos to a secondary location, and long-term, I want that to upload to the cloud too. Later, I do a separate backup of all my files to off-site storage.
At the end of the year, I also take all the “GOOD” photos and put them on a USB thumb drive for Andrea to weed and use to make a Photobook. Once she’s done, I save the final photos back to another folder labelled PHOTOBOOK. If there are any really good ones for the year, we also use them in Calendars, New Year’s letters, metal prints, and an e-frame.
Backup to secondary location/vault;
Backup with all files to offsite location;
Create a small subset each year for Andrea to use for photobooks, calendars, New Year’s letter, metal prints, and e-frame;
Copy subset back to a folder called PHOTOBOOKS.
And then, finally, I’m done. Whew. So let’s look at that workflow all together so I don’t miss anything each time. I’m also going to copy it into a PowerPoint print-out so I don’t lose it. Nineteen steps that I have to do consistently every time or something gets messed up.
Take the picture
Copy from the device to the hard drive
Copy from hard drive (potentially via USB flash drive) to the sorting folder and rename any if necessary.
Do a simple sort by event and dates
Convert videos to MP4
Import images into Mylio sorting area
Do advanced quality and photo selection, filing the rest in EXTRAS.
(Optional) Edit any photos or videos that require tweaking
Facial recognition
Add metadata (name, description, tags/keywords)
Save metadata to image file
Move from sorting folder into a full folder structure
Create a page and edit the page name, add a blank photo gallery block and a blank video gallery block, and save in draft mode;
Create the new gallery, upload all the photos, edit the gallery for gallery description (and copy for later) and link to the page created above;
Add the GALLERY to the right ALBUM;
Upload videos and sort into sub-folder;
Go back and edit the page for page name, manual breadcrumb, paste the description, choose a gallery in the blank gallery block, edit the names / descriptions of the videos, and link to the videos themselves;
Save and preview/test, then publish;
Share link with FB.
Backup to secondary location/vault;
Backup with all files to offsite location;
Create a small subset each year for Andrea to use for photobooks, calendars, New Year’s letter, metal prints, and e-frame;