Results 1 to 2 of 2

Thread: Making main_image_java Clickable

  1. #1
    Join Date
    May 2009
    Posts
    44

    Default Making main_image_java Clickable

    I'm using listing_image_java_rows and main_image_java on my listings page. The main_image_java is set to display at 300pixels to fit my template layout.

    What I'd like to do is make the main_image_java clickable to open the full size image.

    What I've done so far is this:

    At line 1447 of images.inc.php :
    Code:
    $display .= "<a href=\"/images/listing_photos/$file_name\"><img src=\"$config[listings_view_images_path]/$file_name\"$width$height id=\"main\" alt=\"$caption\" /></a><br /><div id=\"main_image_description\">$description</div>";
    I basically just added the link, but when you click on a thumbnail to change the main image, the link to the full size image does not change with it.

    Any ideas on how to make this clickable to correspond with the current main image on display?

    Thanks!

  2. #2
    Join Date
    May 2009
    Posts
    44

    Default Re: Making main_image_java Clickable

    Nevermind - found a much cooler addon than I could ever make here:
    http://support.open-realty.org/showt...g+images+addon

Similar Threads

  1. addin a clickable map in the homepage?
    By sfumato1002 in forum Templates - Help/Ideas/Discussion (CLOSED)
    Replies: 6
    Last Post: 08-03-2008, 02:32 PM
  2. Image view issue with {main_image_java}
    By char in forum General Help (CLOSED)
    Replies: 0
    Last Post: 07-18-2007, 01:21 AM
  3. Non clickable featured listings
    By Arne in forum Installation/Configuration Help (CLOSED)
    Replies: 0
    Last Post: 10-29-2006, 11:37 AM
  4. Clickable index Image
    By pranesh in forum General Help (CLOSED)
    Replies: 3
    Last Post: 04-10-2006, 10:13 PM
  5. Image width with {main_image_java}
    By israelp in forum Templates - Help/Ideas/Discussion (CLOSED)
    Replies: 4
    Last Post: 04-08-2006, 03:07 PM

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
  •