Wednesday, 12 December 2007

create a gallery

I have created a gallery to show my images. Firstly i had to resize all the images i wanted to use to a constant size in photoshop, then i made thumbnails of all of these images once again in photoshop.

In dreamweaver I clicked LAYOUT the pressed the insert image button and located a BIG image and clicked ok.
When i click on my image at the bottom left comes up an area where i can give the image a name, so i did because it makes it easier.
Then I did the same with all of my thumbnail images and inserted them in rows at the side of my big image.
Once i had all my thumbnails laid out i went to WINDOW then BEHAVIOURS then SWAP IMAGE, here i chose the big image in the window then BROWSE and found the bigger image of the thumbnail then OK.
I did this for all the thumbnails.

I asked Rob for some help to make the big image change on clicks rather than rollover, he told me to go to BEHAVIOURS and where they were listed i changed 'on mouse over' and 'on mouse out' to 'on click' then 'on dblclick'
This means my image will appear when i click on the thumbnails and disappear when double clicked.

No comments: