1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Main Image on Ad

Discussion in 'Templates, HTML, CSS, and Design Help' started by blackorange, Jan 13, 2012.

  1. blackorange Member

  2. seymourjames All Hands On Deck

    Why do you not use the gallery which your wordpress theme is using? It looks like colorbox.

    As an aside I have played with colorbox before and it seems to have cross browser problems. These may been fixed as it was quite a few months ago. Have you checked your site out in all major browsers using something like Adobe BorwserLab?
  3. Mike-N-Tosh Owner

    Well, I don't have any exact code, but I would probably approach it something like this:
    Code:
    <div style="width:640px;margin:5pxauto;"><img src="photos/{$data.image.0}" border="0" /></div>
    
    just above this in your existing code:
    Code:
    				{html_table_adv loop=$data cols=$cols table_attr='width="100%"'}
    					<a class="group1" href="photos/[[image]]" title="[[title]]"><img style="-moz-box-shadow: 1px 1px 5px #777; -webkit-box-shadow: 1px 1px 5px #777; box-shadow: 1px 1px 5px #777;" src="thumbs/small_[[image]]" alt="[[title]]" /></a><br /><br />
    				{/html_table_adv}
    
  4. blackorange Member

    I am using colourbox in 68C... I'd just like to have one large image on the page too.
  5. blackorange Member

    Thanks! I'll give this a try...

Share This Page