Results 1 to 3 of 3

Thread: Isotope eCommerce, Images

  1. #1
    New user
    Join Date
    02-13-11.
    Posts
    1

    Default Isotope eCommerce, Images

    Hi!
    I´m working with Isotope eCommerce for the first time and I really like it.

    Right now I am working with the list-template and I want to get "img src" of the main image. Is it possible?

    I have try this and it works in the template (See http://www.ninaqi.com/index.php/produkter.html):

    <?php echo $this->href_reader; ?> - This is LINK
    <?php echo $this->images->generateMainImage('thumbnail'); ?> - This works good, but this include the "href" link, and I just want the "img src"

    Thanks

  2. #2
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: Isotope eCommerce, Images

    what does $this->images->thumbnail output?

  3. #3
    User winanscreative's Avatar
    Join Date
    06-21-09.
    Location
    Massachusetts, United States
    Posts
    261

    Default Re: Isotope eCommerce, Images

    You can access the src for your main image with the following code:

    $this->images->main_image

    If you want your entire images array, you can access it with this:

    $this->raw['images']

    Hope this helps!

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
  •