Moderator’s note: Moved to Howto.
Hello, I am still fairly new to EE, so please forgive me if this topic is fairly basic.
I am trying to finish up my portfolio website where I display my web design, design, and illustration work. Because of this natural separation, I’ve created a separate weblog for each type of work. However, I’m running in to an organizational issue when it comes to how EE handles images. In short, I would like to associate multiple images for each work project. For instance, if someone clicks on one of my web design projects, there will be several screenshots associated with that project that will be presented in a jQuery slideshow. I am wondering what is the best way to create the relationship between many images and one weblog entry.
I ended up creating a weblog called work_images (short name) and creating individual entries for each image.
My work_images weblog is set up like so:
weblog shortname: work_images
custom field 1: image_path (text input)
custom field 2: image_caption (text input)
custom field 3: project_url_title (text input)
That 3rd custom field is so I can relate an image to a specific weblog entry. The method I used to get this to work was to use a conditional statement to compare a segment variable with project_url_title. So, based on where you are in the site, you’ll only see work images relating to that work project. Though this works, I was just wondering if anyone could suggest a better way to accomplish this, perhaps using the Photo Gallery module?
Any suggestions/advice would be greatly appreciated.
Thanks in advance ~