Full sized image alignment

Last post 07-18-2006, 5:04 PM by Adam. 5 replies.
Sort Posts: Previous Next
  •  07-12-2006, 11:35 PM 20955

    Full sized image alignment

     Hi Everyone, one more question.
     
    For some reason, the thumb nail gallery appears correctly when I center the control (it is centered).  However when I click on a thumb nail to show the enlarged picture, it does not appear centered.  Instead the the image is slightly to the left of the menu buttons at the top.  Any ideas?
     
    Upon inspecting the source code it appears that it is poorly positioned because of some extra (unused) TD tags which appear to be generated by the Column option.  (when I set Column=1 the problem no longer exists).
     
    Here is the code:
     
    As you can see, if the generated code was missing those TDs life would be great.  Any suggestions?  I know this problem does not exist on other DotNetGallery websites, so either the latest version is the only one to experience this problem or there is a fix for it..
     
    Thanks very much,
    Nicholas
     
  •  07-13-2006, 1:02 AM 20956 in reply to 20955

    Re: Full sized image alignment

    Nicholas,
     
    Can you create a simple example page which only contains dotnetgallery?
    If the problem still exists, please post the code of your aspx page.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  07-13-2006, 10:04 AM 20961 in reply to 20956

    Re: Full sized image alignment

    Hi there, I have verified that the problem exists with just a simple test page.
     
    Here is my code:
     
     
    Thanks for the speedy reply.
     
    Nicholas
  •  07-13-2006, 10:23 AM 20962 in reply to 20956

    Re: Full sized image alignment

    Here's a screen shot to better demonstrate the problem.
     
     
     
  •  07-13-2006, 10:25 AM 20963 in reply to 20962

    Re: Full sized image alignment

    Hmmm... for some reason the image is not showing up in the forum, but it is in the editor.  The filename is OffSet.jpg and it's been uploaded.
  •  07-18-2006, 5:04 PM 21043 in reply to 20963

    Re: Full sized image alignment

    Nicholas,

    This issue usually is related to the container of dotnetgallery.
    Please check the following example:
     
    In the above example, no matter how smal/big the image, the image will be in the center of the parent container.
     
    If you check the HTML code of the above example, you will find out the following code:
     
    <td align="center">
     
       ..............
     
       gallery html code is here
     
    </td>
     
    Can you try this method and keep me posted?
     
     
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML