Some modules like Image Assist, Image Browser, etc. support plugging custom views to refine the way uploaded images are browsed through. In all cases the browser will show a thumbnail of images and when the user click on one, it will be inserted into an WYSWYG editor for example. The problem is if you have hundreds of images, having them listed on one level (even though presented in pages) tends to be very cumbersome to work with.
Normally images will be organized in galleries. For example a node for a gallery and the images within will be stored in a multi-value ImageField. I am looking for an idea of how to create a view (or a couple of views) that can be plugged in any of the popular image browsing modules and will allow for two-level browsing: first the user will see a thumbnail list of galleries, clicking on one will open the gallery and show all the images inside and clicking on an image will tell the browser module to insert it wherever it is needed.
Obviously there are two views here: one for the gallery list and one for the images inside one gallery. The problem is: can this be done in one view? Or if they are two, what tricks can be applied so that the image browser module will think it is one?
Comments
Kiril, What you are
Kiril,
What you are describing has been used by Image module for years as a gallery. That method is now available for general use in the Views catalogue module.
It does exactly what you suggest: takes the gallery list taxonomy view, and embeds it into the gallery view, thus combining two views into one.
Scott Jackson
Wollongong Australia
Thanks Scott, but I think
Thanks Scott, but I think this is not what I need. The Views Catalogue module uses taxonomy to create a hierarchical view. My gallery will be a node and the images will be stored in a multi-value ImageField inside. Taxonomy has nothing to do with this type of structure.