So, I had an idea…

So, I had an idea…

Cards

So, I had an idea…

What if I could automate a gallery?

Matt “Doc” Perry, Somewhere on that 3rd rock from the Sun

February 15th, 2019

I love solving problems (even non-existent first world ones) with technology.

I had taken a look at the woefully out of date pages on my site the other day. I hadn’t update a needs/wants list since 2015, I hadn’t updated a trade-bait cards list since 2012. It was pretty sad. What’s the old saying? “The cobblers children have no shoes”? Well, the web guy doesn’t have time to update his own site. I’ve built 4 sites in two months so far in 2019, but I can’t seem to find the time to update a list.

So, I had a thought. What would be the easiest way to have something, essentially, update itself with minimal interaction and effort? What if I could create a gallery of Trade-worthy cards using a few off-the-shelf plugins and scripts?

Well, I gave it a try.

cards.docholoday.com

Edit: I actually updated my Cards page after I liked the results… Click Here.

I need to say up front that this is a TEST of the technology, not a full blown implementation.

Here’s the jist. On the server, within a defined “gallery” folder, I’ve created 30 sub folders. One for each Major League Baseball team. In those, I drop scans of cards. I’ve made the scans with a photoshop action that crops, resizes and saves anything I have in my “marquee” tool. I have the tool set on a fixed size (2.5x3.5). I scan an entire scanner bed of cards, click once on the card, click the action button, and done. Saving with a useful name is about the longest part of it. Then I use an FTP program to just drop them into the 30 folders.

That’s it. No editing pages to update galleries, no painful WordPress short codes to change. Heck, theres not even “pages” technically.

So, with this little experiment, I took a handful of cards I had sitting around (not and exhaustive inventory of everything I have) and tried it out. It seems to work pretty well.

More cards load as you scroll on the “all” category. It’s sortable by teams if you have a specific interest. The images open larger in a lightbox.

And I feel like all I did was drop files into a folder.

Again, this was just a test. A theory. Since it seems to be working, I have a feeling I’ll be porting it back to this site and integrating it here. Until then, please check it out and let me know what you think. I can answer any questions about it as well for those of you that have WordPress blogs as well.

Later.

Change of Sever

Change of Sever

I’m giving InMotion Hosting one more chance to fix a mess I’ve been having with my site. They’re moving the site from one shared hosting server to another, which will hopefully resolve the IP issue and stop the other hacked accounts from affecting mine. We’ll see. Site will probably be down over the weekend.

Last chance InMotion. Don’t screw this up.

EDIT: They screwed it up. Done. Moved to a completely different company.

Battle For the Net

Battle For the Net

Today us July 12th, the day the internet has decided to join forces and fight, once again, for our basic rights as net citizens. People far smarter than I have espoused long and detailed arguments on why this is important, and I don’t believe my commentary could add any more to the argue than what’s already been said. So, with that, I urge you to visit https://www.battleforthenet.com/ today. We all need to tell the FCC and congress that this is important to us.

https://www.battleforthenet.com/

From the site:

What is net neutrality?

Net neutrality is the principle that Internet providers like Comcast & Verizon should not control what we see and do online. In 2015, startups, Internet freedom groups, and 3.7 million commenters won strong net neutrality rules from the US Federal Communication Commission (FCC). The rules prohibit Internet providers from blocking, throttling, and paid prioritization—”fast lanes” for sites that pay, and slow lanes for everyone else.

 

 

Slight Changes

Slight Changes

In case you were reading the site over the past couple days and were wondering what on earth was going on, fear not. I’m just doing some spring cleaning. I’ve been using a wordpress builder theme/plugin combo for quite a while now and while it was easy and quick for building pages, I never fully embraced it for blogging. It’s a few extra steps, some extra configuration, and the standard editor had worked well for the past 10 years, so why mess with a good thing.

Well, as you might have guessed with the last post being more “magazine” looking, I’m trying to build more interesting posts while actually taking the design of the content into consideration as well.

You probably don’t care, and I didn’t expect you to. These changes are mostly for me.

The new look around here.

That also means a few structural changes as well. The blog and homepage are now one. Before they were separate pages but I was redirecting homepage traffic to the blog page anyway. Now the homepage features a blog-grid with “card” style post excerpts and “featured images”.

Blog posts will now be full-width and without a sidebar. All those links are now in the page footer.

This also means that old posts might look slightly different. I have no intention of going back and reformatting 4000+ posts. Old posts will have a sidebar like before.

I might also using a variety of post styles at any given time. For example, this post doesn’t feature a large header graphic like yesterdays, only a simple title. Both are options now, and I like the flexibility.

Anyway, pardon the dust while I rearrange a bit.

If you’re reading this is a feed reader, you probably didn’t notice any changes in the first place.

All Fixed!

Yay, all fixed! I moved servers and had a PHP version conflict. It was stopping everything from running. Should be back to 100% now.

Please Stand By

Web server doing weird things. Lots of issues. May have to delete/reinstall WP. Don’t worry, doing backups, but site may be up, down, up, down for the next couple days.