|
|
|
|
|
|
|
|
|
|
|
|
Dic
Noobie

Posts: 44

|
 |
Re:[Code] Drop Shadow for Attachments
« Reply #12 on: March 29, 2002, 04:08:55 AM » |
|
well every one was so impressed with your display mod that they never even tried this one its a nice mod but only for 1.3 i assume <open file> Display.php </open file>
<search for> $attachImage = "<hr color=gray size=1> <img src=\"$modSettings[attachmentUrl]/$message[attachmentFilename]\" width=\"$width\" height=\"$height\">"; }else{ $attachImage = "<hr color=gray size=1> <img src=\"$modSettings[attachmentUrl]/$message[attachmentFilename]\">"; </search for>
<replace> $attachImage = "<hr color=gray size=1><SPAN id=imgObj style=\"FILTER: progid:DXImageTransform.Microsoft.dropShadow(offX=5, offY=5); WIDTH:1; HEIGHT:1;\"> <img src=\"$modSettings[attachmentUrl]/$message[attachmentFilename]\" width=\"$width\" height=\"$height\"></div>"; }else{ $attachImage = "<hr color=gray size=1><SPAN id=imgObj style=\"FILTER: progid:DXImageTransform.Microsoft.dropShadow(offX=5, offY=5); WIDTH:1; HEIGHT:1;\"> <img src=\"$modSettings[attachmentUrl]/$message[attachmentFilename]\"></div>"; </replace> nice to see that 1.3 will add height and width options to attatchments  but the code for 1.1 should be like this <open file> Display.php </open file>
<search for> $attachImage = "<hr color=gray size=1> <img src=\"$modSettings[attachmentUrl]/$message[attachmentFilename]\">"; </search for>
<replace> $attachImage = "<hr color=gray size=1><SPAN id=imgObj style=\"FILTER: progid:DXImageTransform.Microsoft.dropShadow(offX=5, offY=5); WIDTH:1; HEIGHT:1;\"> <img src=\"$modSettings[attachmentUrl]/$message[attachmentFilename]\"></div>"; </replace> it would be nice to do it the other way but hey that time will come for the rest of us yet
|
|
|
Logged
|
|
|
|
|
|