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

    (@mpntod)

    Hi Pierre,

    Rotating Tweets doesn’t do this currently, but it’s a nice idea.

    Would you want a lightbox type expansion (as per https://lokeshdhakar.com/projects/lightbox2/) or to show the images inline?

    Martin

    Thread Starter pierrebenn

    (@pierrebenn)

    Martin,

    Most likely a way of showing the images inline.

    But it’s working great for now.
    I’ll see if I can work something out / wait for a Rotating Tweets update haha!

    Thanks!

    Plugin Author Martin Tod

    (@mpntod)

    All the relevant information is accessible via using the information about Twitter entities here and using the $media variable in lines 1388-1403 of the rotatingtweets.php code – and then displaying it in one of the cases from lines 1454 onwards.

    Plugin Author Martin Tod

    (@mpntod)

    I’ve added some experimental code to show images to the development version.

    Quite a lot of work still needed to make it look good.

    It currently only works with shortcodes that include the variable show_media = '1' e.g.

    [rotatingtweets screen_name='twitter' show_media='1']

    I won’t add it to the widget until it looks a bit better! Any comments or ideas on how to do this are most welcome.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Auto Expand Photos’ is closed to new replies.