How can I insert html photo gallery in Dreamweaver site?

Q: I am considering purchasing the business edition of VisualLightBox for my MAC (ver 10.7.3) but before could you tell me how this program integrates into Dreamweaver?

A: VisualLightBox wasn't developed as Dreamweaver or any other CMS extension, BUT you can try to use it as standard Javascript files.
See how should you install VisualLightBox on your own page:

1) Create your gallery using VisualLightBox application

2) Publish it on a local drive in any test folder:
- open Gallery->Properties->Publish or click 'Publish' button on the main menu panel;
- select 'Publish to folder', click 'Browse' button and select any local folder
- click 'Publish' button

3) Open index.html file from the saved folder in any text editor (Notepad for example) or you can:

- open index.html page in any browser
- right click on the page
- select view source of the page.

You'll find 'engine' and 'data' folders in this saved folder also.

4) Copy code for the HEAD section and paste it inside the HEAD/BODY section of you own webpage (in the same way as you add any other html code on the page), for example:

<head>
...
<!-- Start VisualLightBox.com HEAD section -->
<link rel="stylesheet" href="engine/css/vlightbox1.css" type="text/css" />
<link rel="stylesheet" href="engine/css/visuallightbox.css" type="text/css" media="screen" />
<script src="engine/js/jquery.min.js" type="text/javascript"></script>
<script src="engine/js/visuallightbox.js" type="text/javascript"></script>
<script src="engine/js/vlbdata.js" type="text/javascript"></script>
<!-- End VisualLightBox.com HEAD section -->
...
</head>


5) Copy code for the BODY section and paste it inside the Body section of you own web page in the place where you want to have a gallery, for example:

<body>
...
<div align="center">
<!-- Start VisualLightBox.com BODY section id=1 -->
<div id="vlightbox1">
...
</div>
<!-- End VisualLightBox.com BODY section -->
</div>
...
</body>


6) You should upload 'data' folder with images and thumbnails and 'engine' folder with .css and .js files into the same folder with your own webpage.

That's all.

Related