Support » Plugin: Business Directory Plugin » Main image without img tags

  • Resolved candell


    Is it possible to grab the main image link only without all of the <img tag around it. Here’s what I want to achieve

    On the listing detail page (businessdirectory-listing.tpl.php)

    <img src=”mask.png” width=”300″ height=”300″ alt=”Listing title” style=”background: url(‘main-image-url.jpg’)”>

    For those wondering why, I am placing a fuzzy edge effect around the image {mask.png} and place the main image as a background style to appear behind the mask without needing extra div markup.


Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Main image without img tags’ is closed to new replies.