Hi all,

Background. I've a book review blog where I post lots of photos. Currently, I'm using Flickr as it's easy to find photos to link with their search, tags and photosets functionality. My work flow is text search (typically tag search)-> locate image-> copy image url location.

My goal is to find images on my server easily but not have them show up in search and monthly archive pages.

Currently, I'm using the Image module and is facing some workflow problems.

I've created a gallery called "book pictures". Whenever I upload an image, I'll give it a title and tag and post it under that gallery BUT I will uncheck the "publish" checkbox.

Here's why I don't check "publish":

1. When I click January (e.g.) from Archive, I do not want the every image node to appear on that month's page. Is Views module able to present just results from stories and pages?

2. When I hit search, these image nodes will appear as results, which is also what I don't want. I typically post lots of images in a post. E.g. When users do a search, they will see one content node result and 10 image node results. If I post daily, users will find it difficult to find what they want from so many results. I know search results can be filtered to not show images but I don't want my readers to do that extra search filter.

If I can code to make the search display only story and pages,

But I really want to check "publish":

They will be visible in the image gallery. I can find them visually easily and choose the order to post the images on my story. If they are unpublished, I can only find them from content management by their filenames (which means I can't tell which image is which visually).

What should I do?

Integration with Drupal is not a priority. Have you guys tried Gallery image CMS? Can it mimic the way I use Flickr? text search-> locate image-> copy image url location.

Comments

WorldFallz’s picture

Regarding #1-- if you mean the "Archive" view created by the views module, you can prevent image nodes from being listed there by adding a filter to the view.

For #2, you can use the http://drupal.org/project/search_config module to prevent image nodes being indexed and listed on the advanced search page.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

parka’s picture

Thanks very much for the suggestions!

They worked pretty well for me!

But there's one minor issue that I just realize. I actually didn't want users being able to search images nodes, but the search should still be available for admin.

But even if the admin can search image nodes, the results won't appear as thumbnail previews. Ah. Headache.

WorldFallz’s picture

Yeah... search based on roles is not handled by that module. I think you should be able to make an admin only view with some exposed filters which will simulate a search-- the advantage of doing it that way is then you can easily include a thumbnail as one of the displayed fields. You can also include thumbnails with search results, but it's not simple-- you need to theme it into the search results page.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz