Results 1 to 2 of 2

Thread: Dynamic Image Alt Tag

  1. #1
    Thread Starter
    Senior Member webcrafty's Avatar
    Join Date
    Aug 2011
    Location
    Ireland
    Posts
    114
    Thanks
    4
    Thanked 2 Times in 2 Posts

    Question Dynamic Image Alt Tag

    Hi All,
    I am using Mr Green's Grid mod but I have done some mods of my own to it. Bacically all I want to show is the ad image and use the Title as the alt tag for the image.

    This is the code below that gets the image, can anyone tell me how I would go about using the Ad Title as the alt tag for the image.

    <div class="post-left">

    <?php if ( get_option('cp_ad_images') == 'yes' ) cp_ad_loop_thumbnail(); ?>

    </div>

    <div class="<?php if ( get_option('cp_ad_images') == 'yes' ) echo 'post-right'; else echo 'post-right-no-img'; ?> <?php echo get_option('cp_ad_right_class'); ?>">


    Thanks folks
    Ireland's New Classified Ad's website, The New way to buy and sell in Ireland ,
    http://www.sellitnow.ie

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,617
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [MOD NEEDED] need dynamic dropdown
    By abhitom in forum ClassiPress General Discussion
    Replies: 4
    Last Post: November 13th, 2014, 04:36 AM
  2. Does dynamic homepage good for SEO?
    By junnydc in forum ClassiPress General Discussion
    Replies: 1
    Last Post: November 29th, 2011, 07:03 AM
  3. [MOD NEEDED] Dynamic category !
    By pinocchio in forum ClassiPress General Discussion
    Replies: 11
    Last Post: January 26th, 2011, 05:14 PM
  4. Dynamic Bar
    By bidatio1 in forum ClassiPress General Discussion
    Replies: 3
    Last Post: June 24th, 2010, 09:24 AM