Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Martin Tod

    (@mpntod)

    There’s a way of doing it that’s a terrible hack… something like:

    [rotatingtweets search="from:aikorr filter:media pic.twitter.com" show_media=1 no_rotate=1 tweet_count=1]

    Then throw in some CSS to remove the text:

    div.norotatingtweets p.rtw_meta,
    div.norotatingtweets p.rtw_main {
       display:none;
    }

    in a separate CSS file (e.g. rotatingtweets.css in the /wp-content/uploads/ directory or even inline in one go via:

    <style>
    div.norotatingtweets p.rtw_meta,
    div.norotatingtweets p.rtw_main {
       display:none;
    }
    </style>
    [rotatingtweets search="from:aikorr filter:media pic.twitter.com" show_media=1 no_rotate=1 tweet_count=1]

    Thread Starter Alkorr

    (@alkorr)

    Hi Martin, thank you, it works great! 🙂

    Although it only gets the latest picture upaloded by the user, not the photo/video from the Media from https://twitter.com/CNN/media

    Would it be possible to get the photos from this page (published within tweets, not necessarily uploaded by the user), instead of the pictures uploaded by the user? They are not the same, apparently.

    Thanks! 🙂

    Plugin Author Martin Tod

    (@mpntod)

    Currently, it’s a trial feature that just uses the images in the media files. Does it help if you remove pic.twitter.com from the search term?

    Thread Starter Alkorr

    (@alkorr)

    Hi, I removed pic.twitter.com and only left filter:media but then it doesn’t show anything…

    Getting the images from pic.twitter.com works perfectly, but some people don’t upload images, that’s why in some cases, it would be interesting to get the images from the media files (from the user’s tweets and RTs).

    Sorry if I sound ‘picky’ 😉

    Plugin Author Martin Tod

    (@mpntod)

    I’m not sure there’s going to be a way to do this. In theory, it will only work if Twitter has got the media file in its feed.

    I’ll investigate.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Show user's photos’ is closed to new replies.