Announcement

Collapse
No announcement yet.

Need the alt and title tags for a product image and category image

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

    Need the alt and title tags for a product image and category image

    Hi,

    I'm in the midst of getting our site www.spiritaccessories.com seo friendly.

    I need help getting the alt and title tags for a product image and category image.

    How do I do this?
    Please help.

    Thank You.

    #2
    Re: Need the alt and title tags for a product image and category image

    The standard implementation of v4.xx doesn't have a facility for the alt and title tags for images.

    Using OpenUI in a 4.xx store, it was possible to create custom product/category fields that could be used to possibly hold that info.

    More info on implementing them here:

    http://extranet.mivamerchant.com/for...ad.php?t=15726

    Comment


      #3
      Re: Need the alt and title tags for a product image and category image

      I think you can just add this to your template image tags:

      Code:
      alt="&mvt:product:name;"
      Last edited by Korey; 07-14-11, 05:23 AM.
      Korey McWilliams
      Project Director
      _____________________________
      korey usbones dot com
      http://usbones.com

      Comment


        #4
        Re: Need the alt and title tags for a product image and category image

        Nice catch! I'd never thought of that.

        Might want to try
        Code:
        alt="%prodname%"
        since v4.xx used tokens.
        Last edited by nottheusual1; 07-14-11, 07:13 AM.

        Comment


          #5
          Re: Need the alt and title tags for a product image and category image

          Where in Miva admin do I add alt="%prodname%"?
          What other coding might I need to add, and where do I put it?

          Comment


            #6
            Re: Need the alt and title tags for a product image and category image

            Hi Sky,

            This code is for MIVA 4.x and would be placed within the <img> tag.
            Like this:

            Code:
            <img src="graphics/00000002/image-dog-food-bag.jpg" border="0" alt="%prodname%">
            Honestly, I've completely forgotten how MIVA 4.x works as I've only dug into the code since MIVA 5.x. I'm assuming that you need access to the product and category template pages via a module in order to insert this code in a MIVA 4 store.

            I hope this helps.

            Korey
            Korey McWilliams
            Project Director
            _____________________________
            korey usbones dot com
            http://usbones.com

            Comment


              #7
              Re: Need the alt and title tags for a product image and category image

              Hi,
              We use OpenUI. Miva merchant 4.24 compiled.

              I tried pasting the code you wrote inside the thumbnail image text box (see attached screen shot) but the website displayed that code instead of the image.
              I also don't know where in the category and page template area to place that code.

              Thanks.

              Comment


                #8
                Re: Need the alt and title tags for a product image and category image

                You'll need to use a template module as I don't believe the image upload area supports OUI. Even better, I highly recommend upgrading to MIVA 5.5. You'll have all the control of the code on your pages and then some.

                Korey
                Korey McWilliams
                Project Director
                _____________________________
                korey usbones dot com
                http://usbones.com

                Comment

                Working...
                X