I am trying to use the image block (random image) in an asp.net page. I am using an iframe to place it on the page:
<div id="RandomImageEmail">
Random Image
<iframe name="random" id="random" src="http://mysiteXXX.com/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=none&g2_maxSize=160&g2_linkTarget=_parent"
width="100%" height="100%" scrolling="none" frameborder="0" framespacing="0" border="no"
noresize marginwidth="0" marginheight="0" hspace="0" vspace="0" align="center"></iframe>
</div>
Except for some issues with IE's flickering (ughhh), this works fine. However, I am unable to figure out how to get access to the css for the image itself. For example, the image has a blue border around it and I would like to remove it. Here is what is rendered in the html:
<div id="RandomImageEmail">
Random Image
<iframe name="random" id="random" src="http://gallery.foxtheatre.com/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=none&g2_maxSize=160&g2_linkTarget=_parent"
width="100%" height="100%" scrolling="none" frameborder="0" framespacing="0" border="no"
noresize marginwidth="0" marginheight="0" hspace="0" vspace="0" align="center"></iframe>
</div>
Is there a tpl file I can edit to change the html that is in the frame? Perhaps use an embedded approach?
My system info:
Gallery version = 2.1.2 core 1.1.0.2
PHP version = 5.2.0 apache
Webserver = Servage.net Cluster/(Enhanced Apache)
Database = mysql 5.0.15, lock.system=flock
Toolkits = Exif, Getid3, NetPBM, SquareThumb, Thumbnail, Gd
Acceleration = partial/900, none/900
Operating system = Linux node2.c17 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2 23:08:39 EDT 2005 i686
Default theme = matrix
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)