Support » Plugin: IMDb Connector » Text Wrapping for Posters

  • Resolved jfaurbo

    (@jfaurbo)



    I am trying to see if there is a way to specify the wrapping parameters associated with the poster image. I am only able to get one line of text beside the poster. I would like to place the plot or other text beside the image, but with the shortcode i am unable to adjust the parameters as I would be able in hyperlink.

    https://wordpress.org/plugins/imdb-connector/

Viewing 1 replies (of 1 total)
  • Plugin Author thaikolja

    (@thaikolja)

    Unfortunately I can’t fully follow your thoughts on this one. What are you trying to do? Display the poster and have the plot being displayed next to it? That has more to do with CSS than with the plugin. Here’s one example:

    View post on imgur.com

    This is what you’d have to enter into the editor of the post (“Text” mode, not “HTML”) to make it look like in the screenshot:

    <div class="alignleft" style="margin:0 10px 10px 0">
       [imdb_movie_detail title="Avatar" detail="poster_image"]
    </div>
    
    [imdb_movie_detail title="Avatar" detail="plot"]
    <div class="clear"></div>

    If you use the shortcode detail “poster_image” as in the example above, you can adjust it with the parameters listed in the documentation.

    If the available parameters are not enough, you can do it manually by just using the shortcode to get the URL to the poster: [imdb_movie_detail title="Avatar" detail="poster"]

    Then you could manually build what you need in HTML and CSS. The same example above would look like this in the editor:

    <div class="alignleft">
       <img style="margin: 0 10px 10px 0;" src="[imdb_movie_detail title='Avatar' detail='poster']" alt="Poster" />
    </div>
    
    [imdb_movie_detail title="Avatar" detail="plot"]
    <div class="clear"></div>

    Make sure to escape the quotes of the shortcode if you’re using it within an HTML element.

    I hope that helps. If not, please let me know.

Viewing 1 replies (of 1 total)
  • The topic ‘Text Wrapping for Posters’ is closed to new replies.