Adobe Creative Suite 5, click here to learn more


Graphic Design Forums: UK forums for graphic designers » Website Design Forums: » Website Coding & Programming Forum: » How do you change an image in Dreamweaver multiple times?

Reply
Old 01-14-2009, 09:04 PM   #1
Senior Member
 
sweetums's Avatar
 
Join Date: Jun 2008
Location: Bristol (UK)
Posts: 142
Thanks: 15
Thanked 15 Times in 12 Posts
Send a message via MSN to sweetums Send a message via Skype™ to sweetums
Question How do you change an image in Dreamweaver multiple times?

Hi all,

Just wondering if any of you can help me out with my latest problem?

I am working on rebuilding my website and am doing it in Dreamweaver (the original was done completely in Flash).
The problem is for the work samples page I want to have thumbnails that when clicked on, brings up a large image
below the thumbnails of the relevant piece of work and change when another thumbnail is clicked.

However the only way I know of doing this is to have multiple copies of the page, just with the large image changed.
I'm sure there must be a better way of doing this though as my method would mean I have to create loads of pages and every time someone clicked on a thumbnail a whole new page would have to load instead of just one image.

I hope I made some sort of sense and any advice would be greatly appreciated.
__________________
Twitter: liamjay66

Website: liamjaydesigns.com
sweetums is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Twit this!
Reply With Quote
Old 01-14-2009, 09:14 PM   #2
Senior Member
 
Helen's Avatar
 
Join Date: Dec 2008
Location: Cheshire
Posts: 256
Thanks: 8
Thanked 38 Times in 28 Posts
Default

Try using Lightbox
Helen is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Twit this!
Reply With Quote
The Following User Says Thank You to Helen For This Useful Post:
sweetums (01-17-2009)
Old 01-15-2009, 11:12 AM   #3
Administrator
 
Boss Hog's Avatar
 
Join Date: Mar 2008
Posts: 3,206
Thanks: 489
Thanked 447 Times in 353 Posts
Default

Take a look here for other Light Box options...

http://www.graphicdesignforums.co.uk...x-options.html
Boss Hog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Twit this!
Reply With Quote
The Following User Says Thank You to Boss Hog For This Useful Post:
sweetums (01-17-2009)
Old 01-16-2009, 07:30 PM   #4
Senior Member
 
sweetums's Avatar
 
Join Date: Jun 2008
Location: Bristol (UK)
Posts: 142
Thanks: 15
Thanked 15 Times in 12 Posts
Send a message via MSN to sweetums Send a message via Skype™ to sweetums
Default

Ok cheers for the links.

Both suggestions seem to do what I want, however both seem to require
other components in order to work e.g. "Slimbox 2.0 requires the jQuery library".

I downloaded jQuery which seems to be a page of code but do I just include that
in my dreamweaver site folder to make Slimbox work or do I have to replace my
current css styles sheet? Also what about the Slimbox.css page? Does that go in the jQuery page of code?

Sorry if this seems a really silly question but this is my first time using dreamweaver
on a project, so I'm still at the very basic level and despite looking at the tutorials on
the jQuery site I still don't really understand what it is or what it does.

I'll carry on looking at the tutorial and FAQs but any hints would be great
__________________
Twitter: liamjay66

Website: liamjaydesigns.com
sweetums is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Twit this!
Reply With Quote
Old 01-16-2009, 10:11 PM   #5
Senior Member
 
sweetums's Avatar
 
Join Date: Jun 2008
Location: Bristol (UK)
Posts: 142
Thanks: 15
Thanked 15 Times in 12 Posts
Send a message via MSN to sweetums Send a message via Skype™ to sweetums
Default

Oh and I've tried visiting here which seems to be what I need but as I'm on dial-up Videos are a no go area I'm afraid :(

I've also tried here but it states "Basic knowledge of JavaScript and the document object model (DOM) is required." Both of which I have no idea about so I'm beginning to think I need some tutorials that are a lot more basic but that enable me to create my portfolio/sideshow page without having to spend months learning some other programs. Any ideas?
__________________
Twitter: liamjay66

Website: liamjaydesigns.com
sweetums is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Twit this!
Reply With Quote
Old 01-16-2009, 11:13 PM   #6
Administrator
 
Boss Hog's Avatar
 
Join Date: Mar 2008
Posts: 3,206
Thanks: 489
Thanked 447 Times in 353 Posts
Default

I did this ages ago so will be a bit rusty, all I did from what I remember was add these 2 lines of code to each page that you wanted to use Slim Box on...

<script type="text/javascript" src="js/mootools.js"></script>
<script type="text/javascript" src="js/slimbox.js"></script>

Ensure mootools.js and slimbox.js are in your root directory in a folder called js

Ensure you upload the folder with the slimbox images into the correct directory that it says, root directory I think.

Can't remember if I had to edit a few of the files, think so (read the instructions), if I remember rightly it was only file/folder paths if anything.

Then add the code where the image is to display on the page, for example to link from some text to an image add...
Code:
<a href="/images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>
...or to link from an image such as a thumbnail to the larger image add...

Code:
<a href="/images/image-1.jpg" rel="lightbox" title="my caption"><img src="/images/image-2.jpg"/></a>
I then uploaded all files as above to the server and that's it. It will only run/work on your server not from your local machine.

Don't know what jQuery is/was and never did anything with that. Try as above first, jQuery may just be something that runs on servers, I don't know

Hope that helps (probably not)
Boss Hog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Twit this!
Reply With Quote
The Following User Says Thank You to Boss Hog For This Useful Post:
sweetums (01-17-2009)
Old 01-17-2009, 04:55 PM   #7
Senior Member
 
sweetums's Avatar
 
Join Date: Jun 2008
Location: Bristol (UK)
Posts: 142
Thanks: 15
Thanked 15 Times in 12 Posts
Send a message via MSN to sweetums Send a message via Skype™ to sweetums
Default

Cheers for the help Boss.
I've managed to get a test page working finally although it was only after I copied the sample that was part of the download of Slimbox 2. Which means I'm in the position of "Horray its working.....but how/why?"

Something that is really confusing me is on the setup instructions:
"Include the script in the header of your page, after the inclusion of the jQuery / Mootools library."

Surely it does not mean copy and paste the jQuery / Mootools library into the code of your web-page?

Anyway thanks for your help. I'm sure I will be posting again when I try to create my real portfolio page
instead of the test page I have at the moment, but I've had enough brain pain for today!
__________________
Twitter: liamjay66

Website: liamjaydesigns.com
sweetums is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Twit this!
Reply With Quote
Old 01-17-2009, 05:39 PM   #8
Administrator
 
Boss Hog's Avatar
 
Join Date: Mar 2008
Posts: 3,206
Thanks: 489
Thanked 447 Times in 353 Posts
Default

Quote:
Originally Posted by sweetums View Post
Surely it does not mean copy and paste the jQuery / Mootools library into the code of your web-page?
No it doesn't mean that, I think mootools.js is the mootools library.
Boss Hog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Twit this!
Reply With Quote
Old 01-17-2009, 06:48 PM   #9
Senior Member
 
sweetums's Avatar
 
Join Date: Jun 2008
Location: Bristol (UK)
Posts: 142
Thanks: 15
Thanked 15 Times in 12 Posts
Send a message via MSN to sweetums Send a message via Skype™ to sweetums
Default

Yeh so it means "Include the mootools.js in my root directory in a folder called .js" rather than include the code itself. I assumed thats what it meant. Still don't understand how I've got it working though! lol
__________________
Twitter: liamjay66

Website: liamjaydesigns.com
sweetums is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Twit this!
Reply With Quote
Reply

Tags
change image, dreamweaver, lightbox, portfolio images, slideshow

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Flyer Printing | Print Reseller Scheme | Graphic Design | Logo Designer | Web Design UK | Graphic Design UK | Letterhead Printing
Business Card Printing | UK Business Forum | Logo Designer | NCR Pads | NCR Books | Receipt Books | Drinks Coasters | A6 Flyers | A5 Leaflets
Web Design & Development | vBulletin Skins | Small Business Websites | Leaflets | Leaflet Printing | Web Design Liverpool | Invoice Books


DISCLAIMER: All posts on this forum express the views and opinions of the author only, not the owners, staff or advertisers, hence we will not be held liable.


Powered by vBulletin®
© Copyright Jelsoft Enterprises Ltd
SEO by vBSEO 3.2.0 RC5 ©2008, Crawlability, Inc.