Announcement

Collapse
No announcement yet.

Intermittent problem rendering template feed "&mvt:record:image;" value

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

    Intermittent problem rendering template feed "&mvt:record:image;" value

    Intermittent problem rendering template feed "&mvt:record:image;" value in "image_link" field, most render complete URL path correctly. However, over 3k URLs path are partially rendered.

    Example: "https://www.store.com/mm5/" , consistently missing the remaining "graphics/00000001/[Main-ImageName]_{n}_{width}x{height}.jpg" portion.

    Note: Both
    set of "&mvt:record:image;" values (complete and partial URL path) have been confirmed to be properly assigned to "Main" image type. However, I have noticed in admin that those with partial URL path issues, the image name contains the Image Machine dynamic suffix "..._{n}_{width}x{height}." and those with complete URL path ("Legacy Images" from MM4.24c) do not have said suffix.

    Thinking out loud, it appears the
    template feed "&mvt:record:image;" token only renders complete URL path for "Legacy Images" and not Image Machine images. Am I on the right track or am I missing something and what would be the solution?
    Thank you, Bill Davis

    #2
    correct, just add the missing part manually as a prefix before the token.
    Andreas Toman
    PCINET, LLC

    Miva Merchant Design, Development, Integration & Support
    We built over 200 Miva Merchant stores!
    Miva shopping cart design & integration service and see our Portfolio!


    e-mail: [email protected]
    web: www.pcinet.com
    LinkedIn: Andreas Toman
    phone: (786) 250-2056 (Miami, FL)

    Comment


      #3
      Originally posted by PCINET - Andreas View Post
      correct, just add the missing part manually as a prefix before the token.
      Andreas, if I do as you suggest wouldn't fixing one issue brake the other?
      Thank you, Bill Davis

      Comment


        #4
        yeah, you can't do this for all but would need to add a conditional and test if a part is missing and add only in this case.
        Andreas Toman
        PCINET, LLC

        Miva Merchant Design, Development, Integration & Support
        We built over 200 Miva Merchant stores!
        Miva shopping cart design & integration service and see our Portfolio!


        e-mail: [email protected]
        web: www.pcinet.com
        LinkedIn: Andreas Toman
        phone: (786) 250-2056 (Miami, FL)

        Comment


          #5
          Originally posted by PCINET - Andreas View Post
          yeah, you can't do this for all but would need to add a conditional and test if a part is missing and add only in this case.
          Would it be best to address products with Legacy Images by replacing them with Image Machine images then manually add missing portion of URL path to feed? If so, how would I go about doing that?
          Thank you, Bill Davis

          Comment


            #6
            That would be the cleanest way and no need to test. You could just assign the legacy images in a batch job to the main image and be done. Of course adjust the feed afterwards :)
            Andreas Toman
            PCINET, LLC

            Miva Merchant Design, Development, Integration & Support
            We built over 200 Miva Merchant stores!
            Miva shopping cart design & integration service and see our Portfolio!


            e-mail: [email protected]
            web: www.pcinet.com
            LinkedIn: Andreas Toman
            phone: (786) 250-2056 (Miami, FL)

            Comment

            Working...
            X