Announcement

Collapse
No announcement yet.

Image Machine madness

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

    Image Machine madness

    I'm once again having an issue with images not displaying when using the Image Machine and

    The store having issues is using the Base ReadyTheme - this is the code in the theme PROD Page

    Code:
    <!-- Image -->			<div class="product-images">
    				<div class="product-image">
    					<img id="main_image" src="graphics/en-US/cssui/blank.gif" alt="&mvte:product:name;" title="&mvte:product:name;"  class="aligncenter" />
    				</div>
    				<ul id="thumbnails" class="thumbnails"></ul>
    			</div>
    the theme puts the token <mvt:item name="product_display_imagemachine" param="body:product:id" /> near the bottom of the template. I've made sure Product Display Layout Image Machine has the appropriate settings configured.

    I've made sure the Image Type has been assigned to the image for the product. The only thing that seems to be different is the image path is graphics/00000002

    I've made sure the Custom Field Image Type Main is assigned. I have compared every setting that I can to the same template I've used in another store.

    Maybe I'm overlooking something, maybe it's the host?

    Leslie
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    Re: Image Machine madness

    If you view the source of the page do you see the JSON object with the image data?
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Re: Image Machine madness

      In the head I see this (edited for privacy):

      Code:
      <script>
      var MivaVM_API = "Redirect";
      var MivaVM_Version = "5.22";
      var json_url = "http:\/\/dev.domain.com\/Merchant2\/json.mvc\u003F";
      var json_nosessionurl = "http:\/\/dev.domain.com\/Merchant2\/json.mvc\u003F";
      var Store_Code = "ABCD";
      </script>
      In the body of the PROD page I see this:

      Code:
      var image_data203 = [
      {
      "type_code": "main",
      "image_data":
      [
      "",
      "",
      ""
      ]
      }
      ,{
      "type_code": "second",
      "image_data":
      [
      "",
      "",
      ""
      ]
      }
      ]
      var im203 = new ImageMachine( 'PL-Belle309-Silver-Sandals', 0, 'main\u005Fimage', 'thumbnails', 'closeup\u005Fdiv', 'closeup\u005Fimage', 'closeup\u005Fclose', '', 'B', 270, 270, 1, 'B', 800, 800, 1, 70, 70, 1, '' );
      im203.oninitialize( image_data203 );
      Looks like the image_data is missing. But the image is on the server. And what is the weirdness with the main and closeup? I don't see this when I view another site that is working correctly.
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment

      Working...
      X