Announcement

Collapse
No announcement yet.

image "click to closeup" expanding image off-center

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    All sections are open, I've done both a ctrl+F and a manual visual search, and there is only the one instance of that coding on the PROD page.

    There is the following in the Product Display Layout

    <div id="closeup_div" class="closeup"><img id="closeup_image" src="graphics/en-US/cssui/blank.gif" alt="" /><div><a id="closeup_close">close</a></div></div>

    Or could it be something to do with the coding in the Product Display Layout Image Machine which lists the Closeup Container as closeup_div and has the following as the Head Template?

    <script>
    ImageMachine.prototype.ImageMachine_Generate_Thumb nail = function( thumbnail_image, main_image, closeup_image, type_code )
    {
    var thumbnail, span, img;

    thumbnail = document.createElement( 'li' );
    span = document.createElement( 'span' ); // to vertically center the thumbnail images

    thumbnail.appendChild( span );

    if ( typeof( thumbnail_image ) == 'string' && thumbnail_image.length > 0 )
    {
    img = document.createElement( 'img' );
    img.src = thumbnail_image;

    thumbnail.appendChild( img );
    }

    return thumbnail;
    }
    </script>

    Comment


      #17
      I know you had mentioned "global footer" earlier, so I just pulled up the "Global Header & Footer" under user interface, and searched for the coding section, and it's not there either. In fact, closeup_div is nowhere on that page

      Comment


        #18
        Remove this from the Product Display Layout template.

        There is the following in the Product Display Layout

        Code:
        <div id="closeup_div" class="closeup"><img id="closeup_image" src="graphics/en-US/cssui/blank.gif" alt="" /><div><a id="closeup_close">close</a></div></div>

        Comment


          #19
          That fixed it! Thank you so much for the help.

          Comment


            #20
            The following is probably in that same template/area, should remove it as well because it is a duplicate:
            Code:
            <mvt:item name="product_display_imagemachine" param="body:product:id" />

            Comment


              #21
              Removed that line as well, doesn't seem to visually make a difference, but if it's not supposed to be there then no reason to have it. Thank you

              Comment

              Working...
              X