My custom post type is for describing companies. Each post will require 4 images of specific type and size:
- Logo: 100 x 100
- Banner: 300 x 150
- Action image 1: 600 x 400
- Action image 2: 600 x 400
I'd like to simply store the files in a directory structure like this underneath wp-content somewhere and bypass or improve on the media upload dialog:
/orgs
/good-deeds-inc
/logo.jpg
/banner.jpg
/action1.jpg
/action2.jpg
/stout-heart
/logo.jpg
/banner.jpg
/action1.jpg
/action2.jpg
In creating the display and edit template, the attachment relationship would be assumed. I'd write a function that looks for the images in the expected place (plug of the custom post title). If not found a placeholder would be selected.
I like the simplicity for the person charged with gathering images. Simply put them in the proper directory.
My question is whether this simplification might lead to problems down the road. Perhaps there is a plug in that allows easier upload and management.