• Resolved ralbrightii

    (@ralbrightii)


    I am really liking this plugin, it is makes administering a website I am building SO much easier. How do I do a slideshow that runs automatically with a random image order? I am putting on my front page of my website just a small slideshow of all albums that cycles through images every few seconds and would like it to start with a random photo and continue grabbing random photos.

    Currently using this:
    [wppa type="slideonlyf" album="3.5.12.14.1.13.6.2.9.11.8.15.7.10" size="400" align="right"]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Jacob N. Breetvelt

    (@opajaap)

    The easyest way is to set the system default value for the photo sequence order method to random in Table IV-C1, but i can imagine that you do not want the sequence order to be random systemwide.

    You can chnage this setting (Table IV-C1) ‘on the fly’ for the shortcode you use in the example above.
    To get this, do the following:

    – enable ‘inline settings’ in Table IX-A7
    – either add wppa_list_photos_by to the comma separated list of Runtime modifyable settings in Table IX-A8 if it is not already there, or, if you are the only one editing pages/posts, change the content of Table IX-A8 to all
    – chnage your shorcode to:

    [wppa_set name="wppa_list_photos_by" value="3"][wppa type="slideonlyf" album="3.5.12.14.1.13.6.2.9.11.8.15.7.10" size="400" align="right"][wppa_set]
    

    Preferrably avoid linebreaks between ] and [ to prevent the presence of redundant newlines on your page.

    For more info on runtime settings see this documentation page

    Thread Starter ralbrightii

    (@ralbrightii)

    THANK YOU!! That is exactly what I wanted. I also went to table II-B13.2 and set it to no (Show start and stop icons at the center of the slide). Which got rid of the pause icon showing in the middle of the photo on page load.

    Would I be able to modify this setting as well with wppa_set? So that it is still there for the rest of the photo albums?

    Thread Starter ralbrightii

    (@ralbrightii)

    And another question. How would I with the above code, select ALL albums public albums? Right now, I have selected the albums.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    [wppa_set name="wppa_show_start_stop_icons" value="no"] will work.

    [wppa type="slideonlyf" album="#all" size="400" align="right"] will show photos from all albums (except those with status ‘private’ for logged out users.

    You can write 3.5.12.14.1.13.6.2.9.11.8.15.7.10 also as 1..3.5..15

    Thread Starter ralbrightii

    (@ralbrightii)

    So this is my total command:
    [wppa_set name="wppa_list_photos_by" value="3"][wppa_set name="wppa_show_start_stop_icons" value="no"][wppa type="slideonlyf" album="#all" size="400" align="right"][wppa_set]

    When updating the page, I get:
    Updating failed. Error message: The response is not a valid JSON response.

    And on the wordpress page I get:
    [WPPA+ dbg msg: wppa_show_start_stop_icons is not a runtime settable configuration entity.]

    Did I miss something?

    Thread Starter ralbrightii

    (@ralbrightii)

    I have also tried it as:
    [wppa_set name="wppa_list_photos_by" value="3" name="wppa_show_start_stop_icons" value="no"][wppa type="slideonlyf" album="#all" size="400" align="right"][wppa_set]

    Same result.

    Plugin Author Jacob N. Breetvelt

    (@opajaap)

    [WPPA+ dbg msg: wppa_show_start_stop_icons is not a runtime settable configuration entity.]

    Did you add wppa_show_start_stop_icons to the runtime modefyable settings? or set it to all

    Updating failed. Error message: The response is not a valid JSON response.

    is not from wppa, this is a page update issue.

    [wppa_set name=”wppa_list_photos_by” value=”3″ name=”wppa_show_start_stop_icons” value=”no”]

    This is incorrect. You must have a separate [wppa_set name="" value=""] for each setting yoiu want to change!!!

    Thread Starter ralbrightii

    (@ralbrightii)

    DOH!!! Forgot that step. Your plugin has SO MANY settings, you can get lost in it. But I LOVE IT!!

    Working great now. (I changed the runtime modifiable {BTW you have it spelled wrong} settings to all.)

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Slideshow with Random photos’ is closed to new replies.