0
Welcome Guest! Login
0 items Join Now

alt attribute with roksprocket features

    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: alt attribute with roksprocket features

    Posted 9 years 1 month ago
    • Steven Ice wrote:
      Will 2.1.13 correct the missing alt attribute in all RokSprocket layouts that load images, including Mosaic layout? I see this thread is specifically about Features, but the problem exists in other layouts like Mosaic. Thanks.

      Yes it looks like all the RokSprocket Layouts have been addressed.
  • Re: alt attribute with roksprocket features

    Posted 9 years 1 month ago
    • When will this 2.1.13 be released? I only see 2.1.2 available for download.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: alt attribute with roksprocket features

    Posted 9 years 1 month ago
    • Brad Schwartz wrote:
      When will this 2.1.13 be released? I only see 2.1.2 available for download.

      We have no ETA given to us by the dev team so just keep an eye open here -> http://www.rockettheme.com/product-updates
  • Re: alt attribute with roksprocket features

    Posted 9 years 3 weeks ago
    • I just upgraded to 2.1.13 and the alt attribute is still missing in the mosaic layout. I even recreated the module to be sure. What happened?
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: alt attribute with roksprocket features

    Posted 9 years 3 weeks ago
    • Steven Ice wrote:
      I just upgraded to 2.1.13 and the alt attribute is still missing in the mosaic layout. I even recreated the module to be sure. What happened?

      Yes, still not working...I've reported this to the devs.
    • sam111's Avatar
    • sam111
    • Jr. Rocketeer
    • Posts: 31
    • Thanks: 0

    Re: alt attribute with roksprocket features

    Posted 8 years 11 months ago
    • I'd like to say that this is a problem for me also. My SEO software is warning me that I have "Empty ALT texts" but I can't address this problem as rokSproket doesn't give me the option.

      Thanks for any priority on this...Sam
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: alt attribute with roksprocket features

    Posted 8 years 11 months ago
    • It's working fine for me. I have RokSprocket v2.1.6 installed on Joomla 3.4.1 and using the instructions I posted these are the results I got. I've set the ALT text = the Article title alias:

      Features-Showcase
      <img src="/Iridescent34/images/tre_rocketlauncher/frontpage/roksprocket-features/showcase/img3.jpg" alt="article-1-features-showcase" style="max-width: 100%; height: auto;">

      Features-SlideShow3
      <img src="/Iridescent34/images/tre_rocketlauncher/frontpage/roksprocket-features/slideshow3/img1.jpg" alt="article-1-features-slideshow-3" style="max-width: 100%; height: auto;">

      Mosaic-Default
      <img src="/Iridescent34/images/tre_rocketlauncher/frontpage/roksprocket-mosaic/img1.jpg" alt="article-1-mosaic" class="sprocket-mosaic-image">

      Strips-Apollo
      <img src="/Iridescent34/images/tre_rocketlauncher/frontpage/roksprocket-strips/img1.jpg" class="sprocket-strips-apollo-image" alt="article-1-strips">

      Lists-Default
      <img src="/Iridescent34/images/tre_rocketlauncher/rokbox2/Fiat-500-Super-Car_thumb.jpg" class="sprocket-lists-image" alt="article-10-lists">
    • sam111's Avatar
    • sam111
    • Jr. Rocketeer
    • Posts: 31
    • Thanks: 0

    Re: alt attribute with roksprocket features

    Posted 8 years 11 months ago
    • Dan, thanks for the info. I thought it didn't work as your previous post about a month ago said it wasn't working. Good news...But...not sure how to make it work.

      I'm running Joomla 3.4.1 and RokSprocket 2.1.6, same as you. I'm using a roksprocket list. Is the best approach the one you mentioned below???

      So in the interim:

      1) in the Images & Links section of your article define the alt text and SAVE.
      2) Go to ..\templates\rt_vermilion\roksprocket\layouts\features\themes\slideshow and save a copy of item.php
      3) in the original file replace the 'alt' parameter with ' alt="<?php echo $item ->getPrimaryImage()->getAlttext(); ?>" ' so that it looks like this:

      <div class="sprocket-features-img-container" data-slideshow-image>
      <?php if ($item->getPrimaryLink()) : ?>
      <a href="<?php echo $item->getPrimaryLink()->getUrl(); ?>"><img src="<?php echo $image->getSource(); ?>" alt="<?php echo $item->getPrimaryImage ()->getAlttext(); ?>"
      style="max-width: 100%; height: auto;" /><span class="sprocket-image -overlay"></span></a>

      Or does rokSproket now have direct support for this?

      If so, I'll open a ticket asking how to do it if appropriate.

      Thanks so much for your help. This is my main SEO problem...Sam
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: alt attribute with roksprocket features

    Posted 8 years 11 months ago
    • sam111 wrote:
      Dan, thanks for the info. I thought it didn't work as your previous post about a month ago said it wasn't working.
      Yes but if you check a few posts down you'll find the temporary fix for this that I posted -> http://www.rockettheme.com/forum/general-discussion/219983-alt-attribute-with-roksprocket-features?start=10#1154908
      sam111 wrote:
      If so, I'll open a ticket asking how to do it if appropriate.

      Thanks so much for your help. This is my main SEO problem...Sam

      That example I provided was for Features - Slidshow. For Lists the item.php modification location is a little different.
      In \roksprocket\layouts\lists\themes\default\item.php find at Line 26:
      <img src="<?php echo $item->getPrimaryImage()->getSource(); ?>" class="sprocket-lists-image" alt="" />

      and replace with:
      <img src="<?php echo $item->getPrimaryImage()->getSource(); ?>" class="sprocket-lists-image" alt="<?php echo $item->getPrimaryImage()->getAlttext(); ?>" />

      Then in \roksprocket\layouts\lists\themes\default\item.php find at Line 53:
      <img src="<?php echo $item->getPrimaryImage()->getSource(); ?>" class="sprocket-lists-image" alt="" />

      and replace with:
      <img src="<?php echo $item->getPrimaryImage()->getSource(); ?>" class="sprocket-lists-image" alt="<?php echo $item->getPrimaryImage()->getAlttext(); ?>" />
    • sam111's Avatar
    • sam111
    • Jr. Rocketeer
    • Posts: 31
    • Thanks: 0

    Re: alt attribute with roksprocket features

    Posted 8 years 11 months ago
    • Thanks Dan, so much appreciate the help...Sam

Time to create page: 0.066 seconds