Webmastersite.net
Register Log In

First attached image to replace thumbshots

Comments on First attached image to replace thumbshots

kevinsan
Member

Usergroup: Customer
Joined: Nov 11, 2011

Total Topics: 17
Total Comments: 27
First attached image to replace thumbshots
Posted Nov 19, 2011 - 1:21 PM:

On the Listings Page:

We allow users to upload 5 images. We would like the first uploaded image to replace the thumbshots image. If there is no image then a default image is shown.

On the Details Page:

We would like the first default image to show at the top of the details page. The image size will be larger than the current thumbnail sizes used to display the images.

Then we would like all the images/files to show at the bottom of the page as in the default template. The size is the current thumbnail size.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 21, 2011 - 12:58 AM:

For the former, <IF {LINKNUMIMAGES}><img src="{LINKTHUMBURL}" border="0" alt="" /><ELSE><img src="your default image url here" /></IF>

For the latter, replace {LINKTHUMBURL} with {LINKTHUMBURL[250 <,> 200]} where 250 and 200 are your desired width and height.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.