1 (edited by Lectrician 2010-07-24 11:28:07)

Topic: My gallery has shrunk!

I am trying to devlop a small website.

It is hosted on a trial server at the moment: http://www.home.martandkate.co.uk/php/n … gtruck.php

The images are very small, I want them larger.

When I put the gallery code into a seperate webpage it works OK:
http://www.home.martandkate.co.uk/php/n … WEB/t.html

I have looked at my CSS and can't see an issue?  I have even renamed my style.css file so all my CSS is ignored and it still doesn't work as expected?

Any ideas what I am doing wrong here?

I would like one large picture with two of the previous and next pictures cut down, similar to the trial page: http://www.home.martandkate.co.uk/php/n … WEB/t.html

Thanks for any pointers!

Re: My gallery has shrunk!

Ah, it would seem it is because my site uses a different doc-type.

When I change the doc-type to one that will work with the autoviewer (how I want it displayed), it throws my CSS layout well out of wack!

Any advice on how to deal with this?


Re: My gallery has shrunk!

Ok, sorted.

I had the width and height for the gallery set at 100% which worked for my old website.

I have set the height and width manually (in px) to the size of the containing div and all works as it should!

var fo = new SWFObject("<?php echo "$baseURL" ?>/public_html/photos/autoviewer.swf", "autoviewer", "100%", "100%", "10", "#8e8257");


var fo = new SWFObject("<?php echo "$baseURL" ?>/public_html/photos/autoviewer.swf", "autoviewer", "718", "430", "10", "#8e8257");