Amazon Media Manager question (2 posts)

  1. Daisyhead
    Posted 8 years ago #

    I am currently using the Amazon Media Manager plugin on my blog (http://daisyhead.org/?page_id=2253) and am having an issue with trying to get some images to display properly. You can see what I mean if you look under the "Recent Books," section. I want the images to be in a single row but this isn't happening because there's a line break in there somehow and I can't figure out where it's coming from.

    I'm using the following code in my WP page:

    <!--amm_getMedia('amm_recent_books_output', 999, AMM_BOOKS)-->

    And this is what I have for my custom template for the recent books:

    function amm_recent_book_output($amm){
    	/* @var $amm amm_Output */
    	<?php for ($x = 0; $x < $amm->totalItems(); $x++ ) :?>
    	<?php echo $amm->imageLink('small');?>

    I've checked the imageLink function in the amm_output.php file and there is no br tag that I can see, so I'm at a loss as to how that line break is being entered after each image. Can anyone help me figure this out?

  2. Daisyhead
    Posted 8 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic