Announcement

Collapse
No announcement yet.

Alt text for images on PROD

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

    Alt text for images on PROD

    Does anyone know if and how I can add Alt text to images (that are using the image machine) on the PROD page?
    Thanks
    Sam

    #2
    Re: Alt text for images on PROD

    I'm using the following:

    Code:
    <img id="main_image" src="graphics/en-US/cssui/blank.gif" alt="&mvte:product:name;" title="&mvte:product:name; - Click to Enlarge" />
    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


      #3
      Re: Alt text for images on PROD

      Thank you for that!
      Tio Esteban
      Stowe Craft & Design Center
      www.stowecraft.com

      Comment


        #4
        Re: Alt text for images on PROD

        I also have this thread as a reference:
        http://extranet.mivamerchant.com/for...product-images

        The code above only places the ALT tag on the placeholder image that is used on the PROD page IF Image Machine isn't placing other images.

        To us, this continues to be an issue with Miva because from a search engine standpoint....when they look at our Miva store, they don't see ANY product images on any of the PROD pages because they are all in JS.

        -Kevin
        Web Design and Development, Internet Marketing
        Lancer Media, Inc.

        Comment


          #5
          Re: Alt text for images on PROD

          Take a look at another tool kit method which replaces the way the image is normally shown with the blank gif

          Replace the 270 with whatever your max dimensions are set to for main image resize and remove whatever else you want for css etc
          Code:
          <mvt:item name="toolkit" param="customimagec|big|g.product_code||270|270|1" />
          <img itemprop="image" src="http://www.yourdomain.com/mm5/&mvte:global:big;" alt="&mvte:product:name;" title="&mvte:product:name;" id="main_image" class="aligncenter" />
          Mark Hood
          Vermont Gear

          Comment


            #6
            Re: Alt text for images on PROD

            Thanks Mark,

            Would I be replacing BIG with the image name or is it somehow defined already?
            Sam

            Comment


              #7
              Re: Alt text for images on PROD

              Originally posted by samgold View Post
              Thanks Mark,

              Would I be replacing BIG with the image name or is it somehow defined already?
              Sam
              You will leave the word big alone. You should be able to just change the 270 number and domain.
              Mark Hood
              Vermont Gear

              Comment


                #8
                Re: Alt text for images on PROD

                Would this work when using the image machine for multiple images? Wouldn't it be redundant if using image machine for multiple images?

                Is there a way to just display alt text on the FIRST image in image machine, ie the main image?

                Does Miva have any plans on making this built in for SEO purposes?

                Comment


                  #9
                  Re: Alt text for images on PROD

                  Originally posted by josiahjg View Post
                  Would this work when using the image machine for multiple images? Wouldn't it be redundant if using image machine for multiple images?

                  Is there a way to just display alt text on the FIRST image in image machine, ie the main image?

                  Does Miva have any plans on making this built in for SEO purposes?
                  Yes it works with multiple images but yes it gives the same alt name (product name) to all of them. My site is using this so you are welcome to take a look at what happens.

                  Is there a way to just display alt text on the FIRST image in image machine, ie the main image?
                  Maybe but I'm not sure what that is so hopefully someone else can chime in.
                  Mark Hood
                  Vermont Gear

                  Comment

                  Working...
                  X