Support » Plugin: Get the Image » Random or LAST image?

  • Greetings,

    For the life of me I can’t get this to do what I want. It’s probably me 🙂 but I was trying to set this plugin to pull the LAST attached image or a randomly attached image. Currently it seems to only show the first image that’s ever attached. I tried to modify the code some for order and orderby. Changing them to DESC or rand() but it just crashed.

    Anyone know of a simple solution?

    Overview: I have a site that users upload food pics to from restaurants. I want it to always show the last one as the thumbs on my site.

  • The topic ‘Random or LAST image?’ is closed to new replies.