Support » Plugin: PhotoSwipe » Open single images in PhotoSwipe?

  • Resolved Chris Borgman

    (@chrisborgman)


    Is there a way to get PS to open single images? Works great for galleries but not for a single image in a post, for example.

    If it’s not something you feel is a priority could you give me an idea where to start and I will hire someone to tweak it.

    Thanks!

    https://wordpress.org/plugins/photo-swipe/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Chris Borgman

    (@chrisborgman)

    The script developer says there’s no issue with opening a single image, so maybe you changed or left out something when building the plugin?

    Please suggest.

    Thanks!

    You just have to save the post again(update) so the correct mark up is added to the images.

    I need single images to open in PhotoSwipe dynamically, without adding/updating the html. My clients will never understand how or why they have to fiddle with code to get a photo in a post to open.

    Please…. ideas?

    Plugin Author Louy Alakkad

    (@louyx)

    Another user mentioned “Quick Edit” + “Update”ing all posts as a quick solution. Otherwise you’ll have to run a script to do that. Something like this:

    $posts = get_posts( array('post_type' => 'post', 'numberposts' => 0 ) );
    foreach ( $posts as $post ) {
      wp_update_post( $post );
    }
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Open single images in PhotoSwipe?’ is closed to new replies.