Here is the example:
https://www.sjrmc.org/Core/DoctorDirectory/Anesthesiology
Code: Select all
{$notes}
<div class="category_items">
{if $hasnav == 1}
<div class="catnav">{$prev}{$navstr}{$next}</div>
{/if}
<ul id="CHERClist" style="line-height:13px; font-size:16px; vertical-align:top; float:left;">
{section name=numloop loop=$items}
<li><a href="{$items[numloop].link}" onmouseover="updateDivs('{$items[numloop].imagename}')" target="_self" onMouseDown="javascript:toggleDiv('hideMe3')">{$items[numloop].title}</a></li>
{/section}
</ul>
<div id="image-switch" class="image-switch">
<div style="line-height:13px; font-size:16px; vertical-align:top;">
<div id="Blank" style="display:block;"></div>
{section name=numloop loop=$items}
<div id="{$items[numloop].imagename}"style="display:none;"><img src="uploads/images/catalog/{$items[numloop].imagename}.jpg" title="{$items[numloop].title}" alt="{$items[numloop].title}"/></div>
{/section}
</div></div></div><div style="clear:right;"></div> {if $hasnav == 1}
<div class="catnav">{$prev}{$navstr}{$next}</div>
{/if}
What is the issues is that i can't seem to get the images that are created after up loading them to populate the right areas... what i did for the now to get it mostly functioning is making a User-Defined Attribute call imagename and have been manually entering them in for the testing porpoises... but now i need to get this end to work... any ideas...? I know that the help says
but I'm just not sure what to do, as i have not gotten it to work yet...item name - this is the alias of the item/category page containing the image.
image type - this is a designation for image type:
f - item full-size image
t - item thumbnail
cf - category full-sized image
ct - category thumbnail
ctf - printable catalog full-sized image
image number - so a given item/catalog/etc can have multiple images
long dimension - long dimension of the image, in pixels
missing flag - 1 if you want to show an "image missing" image if this image doesn't exist, 0 otherwise
This will take an image in root_path/uploads/images/catalog_src/itemname_src_1
The goal is to uses the thumb in this area...
div id="{$items[numloop].THE NEEDED IAMGE}"style="display:none;">
any help here would be great... thanks...
jeremyBass