Have you ever noticed how slow the images can be to load on The Battle Directory? If so, you won’t notice no more!
In the past images were generated as they were needed. If you were the unlucky person to visit a report for the first time then you would have to of waited for all the images to be generated and resized based on the author’s original images. This is a pain. Its made worse when new view modes come along, such as the Comic Book style, because these use new image filters and sizes and so images need to be generated again!
From now on each image will be resized into all sizes automatically after its uploaded. This will happen in the background so that the battle report writing experience isn’t slowed at all. The process is off loaded and you’re free to continue updating the report. Meanwhile the server is busy generate 20 versions of each image for you!
Now when your report is published and the various view modes are used by viewers the first timers will not get a slow experience as the images are generated. They will already have been generated and ready to go.
I have also back dated this process, so that all old images are also generated too, ready for the new view modes. Enjoy!
Quick update; we have a new layout for the home page and all game system home pages. The changes are slight and just reorganise existing elements on the site to try and tidy things up and remove the “About” style text away from the game system pages and onto the About page.
The new Army Lists let you easily find all Battle Reports for a specific army via one link without needing to use the search feature.
I have in the past been asked what The Battle Directory is built using. Its built using PHP, specifically the Symfony2 Framework. It runs on a VPS in Dublin and seems to be doing OK so far on that server.
It’s been a while since my last post and a while since I have managed to do any development. But I’m starting to get back into it now and the first order of service is a new name.
We’ve moved away from the Latin name and into something less poetic but more fitting; The Battle Directory which uses a new domain name of .directory along with a whole host of sub domains.
The main site for registering, editing reports, editing your profile, etc will sit on the.battle.directory, this is essentially the report and account management side of the site. The actual domain of this site doesn’t matter, it just needs to be in one place.
Each game system now sits within its own sub domain, for example all Warhammer 40K games will be on 40k.battle.directory. This leaves you with no illusion as to where you in the site and what you’re looking at. If you’re into Warmachine only then you’ll stick to the Warmachine domain and never be bothered by 30K or X-Wing. Switching between game systems is easy and is done via a set of links at the top of the site. All game system reports will be edited from the main the.battle.directory domain so no need to start messing about with links to edit reports from different game systems.
I really like this approach and owe Jeff from Twitter a massive thank you for devising this new approach. You know who you are!
I really need to buckle down to knock out some final bugs and start on the very important view modes.
Another day, another update. We now have featured images specific to the whole Battle Report, the Man of the Match and the BFU. Allowing you to showcase the whole match or a specific event more clearly.