About this topic

  • Posted by mike1 1 year ago. There are 6 posts. The latest reply is from byron.
  • This topic is resolved
  1. hey Byron, I am trying to enter a shortcode that shows the 10 highest raked pictures of just one specific gallery on a post. I came up with somenthing but it shows the highest ranked of all galleries...What am I doing wrong?

    [photosmash id=65 gallery_type=ranked images=10 thumb_width=85 thumb_height=85 layout='my_layout']

  2. Mike, very close...what you need is: where_gallery=65

    id=65 is telling PhotoSmash to use Gallery 65 for all of the gallery settings (at least the ones that you haven't overridden with the shortcode...stuff like pagination, etc). So, for id, you want to use a gallery with gallery type of 'highest ranked' or something like that. PhotoSmash will create one or use the first one it comes to in the database if id is not provided. But you can go in and set the setting for your default ranked gallery in Gallery Settings after it exists.

    So, where_gallery tells it to only use images from gallery 65.

    Cheers,
    Byron

  3. Byron thanks for the explanation, but bad news it didn't work...

    Both of the options below had the same result, they show the highest ranked images considering all the galleries.

    [photosmash where_gallery=65 gallery_type=ranked images=5 thumb_width=85 thumb_height=85 layout='layout']

    or

    [photosmash id=74 where_gallery=65 gallery_type=ranked images=5 thumb_width=85 thumb_height=85 layout='layout']

    Where gallery 74 is set to be a highest ranked on the settings.

    Any idea what may be the conflict? Cheers

  4. Mike, as I look at it now, the where_gallery only works for recent and random galleries. I'll get highest ranked added to that.

    Sorry about that.

    BB

  5. No reason to say sorry...Thanks for your attention :)

  6. Welcome.

RSS feed for this topic