how to ref imgs - Post ID 126502

User 106872 Photo


Registered User
92 posts

Wyndham Dennison wrote:
Cary, I've seen an example at http://www.dynamicdrive.com/style/cssli … e-gallery/
Where a simple css sheet would give me a page where my thumbnails of my pottery would enlarge in a "Mouse over" the thumbnail.


With that code make a style sheet (minus the style tags at the beginning and end) and use VSD's Settings>Add Files... menu to add the style sheet to the root folder of your site.

Use the menu Edit>Edit Header... to insert the link to the style sheet into the head of any pages with galleries. So if the style sheet was called gallery.css, you would insert code looking like this:
<link href="gallery.css" rel="stylesheet" type="text/css">


The galleries themselves will need to be inserted into the pages using the html tool, and their associated images need to be added to the site using the Settings>Add Files... menu.


I'm still working on this idea of a rollover image for a gallery. I'm wondering since VSD works by renaming images from text to object(#) if my ref to a thumbnail shouldn't be an object().jpg instead of dish.jpg.

\Another thing I'm wondering about is the add file function. When I went to the add file..browse then to the drive/folder where the files were, I could not find any files to add to the root so is this a feature after a website is developed and not at the design on the local computer.
I will clarify if this is a bit too vague. Wyndham
User 463058 Photo


Ambassador
1,086 posts
Online Now

Wyndham Dennison wrote:
I'm wondering since VSD works by renaming images from text to object(#) if my ref to a thumbnail shouldn't be an object().jpg instead of dish.jpg.


VSD doesn't rename added files. It can't do that because it has to assume the files are being used by way of code added by the html tool. Since VSD can't modify that code, it can't change the names of files which that code potentially points to. So go ahead and use normal names instead of trying to copy VSD's naming conventions.

Wyndham Dennison wrote:
Another thing I'm wondering about is the add file function. When I went to the add file..browse then to the drive/folder where the files were, I could not find any files to add to the root so is this a feature after a website is developed and not at the design on the local computer.


VSD should be showing the root in the right pane when you try to add files. I believe it only shows files under the root which have been added, and can therefore be removed, if necessary. Otherwise, it will be empty. You should be able to locate images and style sheets and add them. If those files aren't appearing, I would suggest you put in a support ticket for official help on this.

User 106872 Photo


Registered User
92 posts

Thanks to all I have my first working test(local) of the thumbnail rollover zoom working and starting to understand the way it works.
In this same area comes the question of image rez. It appears that if I choose "flower pix" as my image that the thumnail part of the code with the height(80) & width(60) constrains the "Flower pix" from about 2400x180 @ 72dpi down to 80x60 then onrollover back to 240x180.@ 72dpi
What is the perfered DPI with todays monitors 72 or 96 dpi and since there will be many images of my pottery as thumbnail that expand, what is the better rez & file type to work with: jpg,png,?
Thanks again Wyndham
BTW the add files work as it should, pilot error on me
User 463058 Photo


Ambassador
1,086 posts
Online Now

The dpi you use for images doesn't matter when it comes to the web. This thread has more info about dpi and the web, if you're interested.

http://www.coffeecup.com/forums/website … or-96-dpi/
User 364143 Photo


Guest
5,410 posts

I made the mistake of thinking higher dpi was better when I first got started on websites, maxing out dpi settings for the best images possible. Than I found out that dpi only matters for print and not web graphics.
CoffeeCup... Yeah, they are the best!
User 106872 Photo


Registered User
92 posts

Thanks for the links, Wyndham

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.