Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




How do I put Images at Themes?

web-app

Hi!

I'm new here and new to Gemini and Themes creation at all... So welcome to me and forgive me if I do stupid or noob question and... my English (I'm from Portugal ;) )

I try to do a theme, and so far so good. I does a copy of an existing theme, rename it, and do alterations at .css file...

Now I want to add imagens to my "solution" to be showed at Login page first and other pages after.

How do I do this?

Thank you

Best Regards

joao-g-marques
· 1
joao-g-marques
Replies (11)
helpful
0
not helpful

Images should be placed in ASPX or ASCX pages etc... not in themes.
Were exactly do you want to place the image?
My guess HeaderBar.ascx will be what you are looking for.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Thanks, this helps me a lot!

But I still can't control the login page... In IE happers a "x" at the location who is been alocated for the image and in Firefox the image simple doesn't happer!

I modified only the HeaderBar.ascx and put imagens over and in the two sides, but this modifications only take changes at main page!


joao-g-marques
· 1
joao-g-marques
helpful
0
not helpful

Can you post the actual code you have changed / added?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

at HeaderBar.ascx:


<%@ Control Language="c#" AutoEventWireup="True" Codebehind="HeaderBar.ascx.cs" Inherits="CounterSoft.Gemini.HeaderBar" enableViewState="True" %>

<table class="navBorder" cellspacing="0" cellpadding="0" width="100%" border="0">
<div>
   <img ID="Img2" src="~/AppThemes/ePT/imagens/logoims.jpg" runat="server" />  
</div>

    <tr class="nav">
       
        <td class="nav" align="left" valign="middle">
            <img ID="Img3" src="~/AppThemes/ePT/imagens/lgept60x60.jpg" runat="server" />
            <%--<a href="http://www.countersoft.com" target="
blank"><img src="~/images/favicon.png" runat="server" border="0" id="Img1" style="padding: 0 0 0 3px;" alt="Gemini" title="Gemini Project Issue Tracking" align="middle" /></a> --%>
           
        </td>


.....



<td class="nav" align="right" width="33%">
            &nbsp;
            <gem:GeminiSimpleLink id="lnkHelp" runat="server" NavigateUrl="~/Gemini.pdf" Key="Help" Target="blank"></gem:GeminiSimpleLink>
            &nbsp;
            <gem:GeminiLinkButton id="lnkLogout" runat="server" OnClick="lnkLogout
Click" CausesValidation="False"></gem:GeminiLinkButton>
            &nbsp;
            <a href="http://www.telecom.pt/" target="blank"><img src="~/AppThemes/ePT/imagens/logo_pt2.png" runat="server" border="0" align="middle" />
        </td>
       
    </tr>

</table>


joao-g-marques
· 1
joao-g-marques
helpful
0
not helpful

Please try and put the full URL for the image (http:/..../App_Themes/....).


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

But the image is stored localy and if I put the full URL, I will can't use this code in other machines... I will need to edit it! [:(]


joao-g-marques
· 1
joao-g-marques
helpful
0
not helpful

No, as the image is on the web server not the local machine.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Same problem...

Fine in Firefox, with a bug in Internet Explorer:
[img]http://img22.imageshack.us/img22/7871/73786330.jpg[/img]


joao-g-marques
· 1
joao-g-marques
helpful
0
not helpful

Right click on the image to see what is the URL (in IE and fire fox). Is it the same?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I realize that the problem is more deep...

I remove the code line who put the image and the problem continues (the same as the screenshot) at Internet Explorer... I think it can be another thing [:S]

Any idea?


joao-g-marques
· 1
joao-g-marques
helpful
0
not helpful

Problem Solved!

There was something (I don't really understand what) how was intervening with the logo bar at internet explorer but after I delete some code lines... the problem disappear.

Thanks anyway for your time and patience


joao-g-marques
· 1
joao-g-marques