Results 1 to 9 of 9

Thread: Slideshow [Previous Play Pause Next] Image Replacements

  1. #1
    Join Date
    May 2004
    Posts
    41

    Question Slideshow [Previous Play Pause Next] Image Replacements

    Hopefully I'm posting this in the correct forum. Our website (http://www.pwpre.com) uses the picture slideshow on the listingview page. The problem I'm having is several people complain the [Previous Play Pause Next] under the big image is not prominent enough and they initially wasted time trying to figure out how to advance to the next image. Would it be possible to replace these words with buttons? I'm not skilled enough to do this probably, but if I knew where to look I might get daring enough to give it a shot. <giggle> Of course this is assuming no one has already done this. If someone has already done this, I'd appreciate a point in the right direction.

    I apologize in advance if I've posted in the wrong forum.

  2. #2
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,763

    Default Re: Slideshow [Previous Play Pause Next] Image Replacements

    At your language file look for these lines:

    PHP Code:
    $lang['ssprevious'] = 'Previous';
    $lang['ssplay'] = 'Play';
    $lang['sspause'] = 'Pause';
    $lang['ssnext'] = 'Next'
    And modify to (as example):

    PHP Code:
    $lang['ssprevious'] = '<img src="PATH_TO/previous.gif" width="X" height="Y" alt="Previous" />';
    $lang['ssplay'] = '<img src="PATH_TO/play.gif" width="X" height="Y" alt="Play" />';
    $lang['sspause'] = '<img src="PATH_TO/pause.gif" width="X" height="Y" alt="Pause" />';
    $lang['ssnext'] = '<img src="PATH_TO/next.gif" width="X" height="Y" alt="Next" />'
    Of course... you need to modify above where you read "PATH_TO" - as example, if images at ../template/rounded_boxes/images:
    PHP Code:
    $lang['ssnext'] = '<img src="' $config["template_url"] . '/images/next.gif" width="X" height="Y" alt="Next" />'
    Eduardo
    Last edited by ebmarques; 07-17-2008 at 01:29 PM. Reason: included quotes

    Open-Realty® DOCs
    We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are afraid of the light. (Author Unknown)

  3. #3
    Join Date
    May 2004
    Posts
    41

    Smile Re: Slideshow [Previous Play Pause Next] Image Replacements

    Thank you so much. I'll try it in the morning.

  4. #4
    Join Date
    May 2004
    Posts
    41

    Default Re: Slideshow [Previous Play Pause Next] Image Replacements

    Well all I can think to say, Eduardo, is thank you, thank you, thank you! It worked flawlessly. I used some nice big button graphics so even those with poor sight won't have any trouble seeing them.

    Hopefully one day I'll learn enough to be able to contribute something back.

  5. #5
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,763

    Default Re: Slideshow [Previous Play Pause Next] Image Replacements

    Just a note:
    Your "index.html" file at "h t t p : / / w w w . p w p r e . c o m /" is:
    HTML Code:
    <HTML>
    <BODY>
    <META http-equiv="refresh" content="0;url=open-realty250/index.php">
    </BODY>
    </HTML
    Notice the missing closing ">" and in fact should be:

    HTML Code:
    <html>
    <head>
    <meta http-equiv="refresh" content="0;url=open-realty250/index.php" />
    </head>
    <body>
    </body>
    </html>
    Eduardo

    Open-Realty® DOCs
    We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are afraid of the light. (Author Unknown)

  6. #6
    Join Date
    May 2004
    Posts
    41

    Default Re: Slideshow [Previous Play Pause Next] Image Replacements

    Oops! Thanks yet again. It seems the older I get the more prone to mistakes I become. <sigh>

  7. #7
    Join Date
    Sep 2006
    Posts
    2

    Default Re: Slideshow [Previous Play Pause Next] Image Replacements

    For a foot note I had to go into the:

    images.inc.php
    file located in the
    include folder

    The other way could not be done in version 2.4.0. My changes looked like below.


    <div class="slideshow_links"><a href="javascript:;" onclick="SLIDES.previous()"><img src="/or/images/prevbutton.jpg" width="50" height="50" alt="" border="0" align="" /></a>&nbsp;&nbsp;&nbsp;
    <a href="javascript:;" onclick="SLIDES.play()"><img src="/or/images/playbutton.jpg" width="50" height="50" alt="" border="0" align="" /></a>
    <a href="javascript:;" onclick="SLIDES.pause()"><img src="/or/images/pausebutton.jpg" width="50" height="50" alt="" border="0" align="" /></a>&nbsp;&nbsp;&nbsp;
    <a href="javascript:;" onclick="SLIDES.next()"><img src="/or/images/nextbutton.jpg" width="50" height="50" alt="" border="0" align="" /></a>

  8. #8
    Join Date
    Nov 2004
    Posts
    17

    Default Re: Slideshow [Previous Play Pause Next] Image Replacements

    Quote Originally Posted by Thrifty View Post
    For a foot note I had to go into the:

    images.inc.php
    file located in the
    include folder

    The other way could not be done in version 2.4.0. My changes looked like below.


    <div class="slideshow_links"><a href="javascript:;" onclick="SLIDES.previous()"><img src="/or/images/prevbutton.jpg" width="50" height="50" alt="" border="0" align="" /></a>&nbsp;&nbsp;&nbsp;
    <a href="javascript:;" onclick="SLIDES.play()"><img src="/or/images/playbutton.jpg" width="50" height="50" alt="" border="0" align="" /></a>
    <a href="javascript:;" onclick="SLIDES.pause()"><img src="/or/images/pausebutton.jpg" width="50" height="50" alt="" border="0" align="" /></a>&nbsp;&nbsp;&nbsp;
    <a href="javascript:;" onclick="SLIDES.next()"><img src="/or/images/nextbutton.jpg" width="50" height="50" alt="" border="0" align="" /></a>

    I did not have to do this with 2.5.8 - worked just fine by making changes to the Lan file and importing the images to the image file - but don't forget to use the custom feature in the "custom" Language folder - will make things easier with upgrades.

  9. #9
    Join Date
    Nov 2004
    Posts
    17

    Default Re: Slideshow [Previous Play Pause Next] Image Replacements

    Here are a set of buttons if anybody is looking for some - they are in PSD - AI - JPEG so you can make colour size etc changes if you want. I had to design some for myself so might as well share.
    Attached Files Attached Files

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •