Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: How to display the images from an RSS feed on gAjax RSS Ticker (hosted)

  1. #1
    Join Date
    Dec 2014
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to display the images from an RSS feed on gAjax RSS Ticker (hosted)

    1) Script Title: gAjax RSS Ticker (hosted)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...sescroller.htm

    3) Describe problem: I wonder if it's possible to display the image that are on a RSS feed on this particular script wish I am already using on my site!
    -it works great! except for the image thing-
    Last edited by Beverleyh; 01-19-2015 at 10:58 AM. Reason: DD link added

  2. #2
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,840
    Thanks
    2
    Thanked 430 Times in 424 Posts

    Default

    Code:
    newsfeed.displayoptions("datetime description") //show the specified additional fields
    'description' will show the images
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

  3. #3
    Join Date
    Dec 2014
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello

    I done that and the image show, but can one control the size of the image? I have the code feed shown here: http://browseshopbuy.com/backup-home.html you can tell how it's working and the size that I have for the feed (ebay one) on orange field.

    Thank you

  4. #4
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,840
    Thanks
    2
    Thanked 430 Times in 424 Posts

    Default

    Code:
    #example1 IMG{ /*Demo 1 main container images*/
    width: 150px;
    }
    the CSS for all images width of 150px
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

  5. #5
    Join Date
    Dec 2014
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello

    I just saw the reply!

    Thank you!

    It works great!!

    Have a great year!

  6. #6
    Join Date
    Dec 2014
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello,

    I am back to ask another question:

    How to go about having only the image show? I ask this because some descriptions of an image are short, long and some done have, so then there is always a large empty space between post!

  7. #7
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,840
    Thanks
    2
    Thanked 430 Times in 424 Posts

    Default

    I can not modify that script
    I would have to make a new one

    what other RSS display options would you require?
    i.e.
    "date", "time", "datetime", "label", "snippet"
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

  8. #8
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    2,148
    Thanks
    16
    Thanked 353 Times in 351 Posts
    Blog Entries
    15

    Default

    Quote Originally Posted by oscardd View Post
    Hello,

    I am back to ask another question:

    How to go about having only the image show? I ask this because some descriptions of an image are short, long and some done have, so then there is always a large empty space between post!
    You could try it with CSS - it might not be a suitable method (depends on the circumstances) but then again it might be, so give it a try.

    First set the parent container visibility to hidden;
    Code:
    #example1 div ul li { /* LI that surrounds each entry */
    visibility: hidden;
    height: 300px;
    }
    Set an explicit height so that when the images inside are made visible again, they'll occupy a uniform space.

    Then make the image inside visible again;
    Code:
    #example1 div ul li img { /* image inside each li entry */
    visibility: visible;
    }
    This is an untested suggestion and it really depends on the size of image and if there is only one per post.

    Maybe it will provide a workable option though?
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  9. #9
    Join Date
    Dec 2014
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello

    Okay,

    what about limiting the characters of the description? if is possible, that will be the solution!

  10. #10
    Join Date
    Dec 2014
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello,

    I try it your solution; It hides the description and the title as well - so the image is by it's lonesome -

Similar Threads

  1. gAjax RSS Feeds Displayer - display more feed characters
    By cxcskiing in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 07-25-2014, 07:03 PM
  2. How to Display Image with gAjax RSS Ticker
    By drakata in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 04-28-2014, 04:28 PM
  3. gAjax RSS Feed Displayer w/Images?
    By lrickyutah in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 02-11-2009, 09:39 PM
  4. gAjax RSS Ticker (hosted)
    By jayradioguy in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 01-04-2009, 10:21 AM
  5. Getting the Advanced RSS Ticker to display the most up-to-date feed
    By TJF74 in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 09-26-2008, 12:05 AM

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
  •