Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Listings Manager (Realty Manager & Auto Manager):
Page code to display all 10 photos horizontally

 

 


NicolasAllan
User

Oct 21, 2008, 10:47 PM

Post #1 of 3 (2456 views)
Shortcut
Page code to display all 10 photos horizontally Can't Post

Assume ALL properties have 10 photos.
What would be the code to list those 10 photos on a single page with each photo defined individually.

Using a separate template, we wish to define each thumbnail photo like this... (seen on this Forum)

<img src="$listing_url$/images/$listing_num$_1_t.jpg” onError=”/listman/images/spacer.gif”>
<img src="$listing_url$/images/$listing_num$_2_t.jpg” onError=”/listman/images/spacer.gif”>
<img src="$listing_url$/images/$listing_num$_3_t.jpg” onError=”/listman/images/spacer.gif”>
and so on to......
<img src="$listing_url$/images/$listing_num$_10_t.jpg” onError=”/listman/images/spacer.gif”>

This new template would be called via a link on the _publish_listing.html template.

Has this code been tested ?
Would that work ?

Any advice would be much appreciated

Nick


Donna
Staff / Moderator


Oct 22, 2008, 12:50 PM

Post #2 of 3 (2436 views)
Shortcut
Re: [NicolasAllan] Page code to display all 10 photos horizontally [In reply to] Can't Post

Hi Nick,

Yep, that would do it. Note that all photos would have to be .jpg, not .gif and deleting & re-adding photos would cause issues... but if you upload all 10 images on the first go, it should work just fine. :)

That said, if the end results is just to display them horizontally, you'd be better off using the repeating dynamic code -- if you're just repeating the exact same bit of code each time, there's no reason why Realty Manager can't do that for you. The only reason you'd ever want to hardcode them is if each image is doing something different.

Donna

--
support@interactivetools.com


NicolasAllan
User

Oct 22, 2008, 2:06 PM

Post #3 of 3 (2432 views)
Shortcut
Re: [Donna] Page code to display all 10 photos horizontally [In reply to] Can't Post

Hello Donna,
Ah well, first we get the 10 photos working OK. We do that now.

What we do is to upload the property data and photos nightly to the RM data files direct from our own OFFICE dBase (not through RM). The OFFICE dbase runs the realtors office(s) = accounts, marketing, brochures, email enquiries ... and so on.

So...once the adjusted coding is in place we try 11 photos to see what happens.
If thay is OK we go to 20 photos per property.

Nick