 |

jeffcole455
New User
Aug 10, 2008, 4:07 PM
Post #1 of 2
(930 views)
Shortcut
|
|
Formatting a drop shadow for images
|
Can't Post
|
|
I want to format my AM2 article pages to place a drop shadow around my images by using a table and css. I've looked in embeddedMedia and I don't see a rule for regular images. I'm placing small images that align left. Not thumbs, not linked, just the full sized image (1.5 x 2 inches at 72dpi). I've also gone into the css and removed the border so it won't interfere with my table. So the question is: Which page do I modify?
|
|
|  |
 |

Jake
Staff
/ Moderator

Aug 11, 2008, 12:23 PM
Post #2 of 2
(909 views)
Shortcut
|
|
Re: [jeffcole455] Formatting a drop shadow for images
[In reply to]
|
Can't Post
|
|
Hi jeffcole455, How are these images being uploaded through Article Manager? Are you using the ***image1*** type of placeholders, or do you have a specific field set up for these? If you're using the first option, then you want to modify the embeddedMedia.html template. This is the piece of code on that template you'd need to change:
<!-- templateIf : $file.useThumbnail$ != "1" --> <table border="0" cellspacing="5" cellpadding="0" align="$file.align$" width="$file.width$"> <tr><td> <!-- templateIf : $file.linkTo$ eq "url" --> <a href="$file.linkUrl$" [templateIf : $file.openLinkInNewWindow$ == "1" ]target="_blank"[/templateIf]> <!-- /templateIf --> <!-- templateIf : $file.linkTo$ eq "image" --> <a href="$file.webUrl$" [templateIf : $file.openLinkInNewWindow$ == "1" ]target="_blank"[/templateIf]> <!-- /templateIf --> <img src="$file.webUrl$" alt="$file.title:htmlEncoded$" width="$file.width$" height="$file.height$" /><!-- templateIf : $file.linkTo$ ne "" --></a><!-- /templateIf --> <div class="image_caption">$file.caption$</div> </td></tr> </table> <!-- templateIf : $file.wrapText$ == "0" --><br style="clear: both;" /><!-- /templateIf --> <!-- /templateIf --> Otherwise, you would need to edit your articlePage.html template file. Let us know if you have any other questions about this. ----------------------------------------------------------- Cheers, Jake Swanson - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 | |  |
|