Hello, I am trying to get Views to display files I have uploaded to my server using the Media module.

My end-goal is to display the 5 most recently uploaded photos (from any album) in a slideshow on the front page (using Views Slideshow).

My website as a whole will be my personal photography-website when it's complete. The way I have everything set up so far is: I created a new content type for my pictures called Photos. Next, I create a new piece of that custom content and upload pictures to it. The organization structure is that, each new piece of Photos content behaves like an album--containing a set of images pertaining to it's title.

For example, if I wanted an album specifically dedicated to landscapes, I would create a new Photos piece of content, and upload all my images of landscapes to it.

The problem I have right now is, I can get Views to display my custom content type and scroll through it, but because each individual picture is wrapped inside a Photos content, the View will display every single image in that album 'per-slide'. How do I get Views to only display the five most recently uploaded Media files? (As opposed to what it's doing right now, displaying the five most recently added Photos albums.)

Comments

.

you need to be a bit clearer about the terms you are using.

What do you mean by "piece"? Drupal does not have pieces. There are Nodes, Content Types and Taxonomy for example.
If I get the right idea it seems you add several photos to one node of a the Content Type "Photos".
The trick might be to upload one photo per node of Content type "Photos" and add taxonomy for your Albums. This would also allow you to tag photos in a way that a picture of rolling hills with a lake and a sun in winter could apear in different albums like:

  • "Sky (or Sun, etc.)"
  • "Hills"
  • "Lake"
  • "Landscape"
  • "Winter"

The albums would be pulled together in this case through taxonomy - which can be set-up in a View - for ex. with some exposed taxonomy filter ....
And in the view you mentioned you would bring in the most recent nodes as the images you want to see....

-----------
Good luck .....
... more recent results of trying Drupal just once are -
www.native-power.de
Malls and More

.

That seems like a great idea, then each photo would have a unique Nid--much easier to work with in Views. One problem I have with that is, what if there are many pictures to upload? Does that mean I have to go through each time and create a new Node with only 1 picture? That's an awfully length process if you're talking about 20+ pictures.

.

might be best to do some research on "bulk uploading"

here is one thread to check out - http://drupal.org/node/1044504#comment-4912348.

Google for more and please report back about the solution you found.

-----------
Good luck .....
... more recent results of trying Drupal just once are -
www.native-power.de
Malls and More