Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Image controls

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1351 Views
  • NickJacobs
    Avatar
    Community Member
    144 Posts

    Image controls Link to this post

    Hi, I am trying to output a list of images (to preload in a jquery function) and I only want the image path.

    using the standard ss output format I also get the alt="".
    ie:
    $Image.ItemImage gives me <img src="/assets/Uploads/_resampled/ItemImage-20030711-1.jpg" alt="" >

    how do I reference just the path?

  • simon_w
    Avatar
    Forum Moderator
    471 Posts

    Re: Image controls Link to this post

    $Image.URL

    1351 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.