Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Hardcode image URL into template?

Quote Reply
Hardcode image URL into template?
Hi,

I'm currently redeveloping a vehicle database and have small problem with images not caching for a javascript rollover. Here's the site:

http://www.wcsauto.com/...Y;sb=Datereg;so=DESC

(Click on a vehicle to view the images)

The basic idea is to use javascript mouse rollovers to load/display the additional larger images without having to load a different DBMSQL URL. When a user hovers over the thumbnail images arranged across the bottom I want them to see the larger picture.

The problem with the roll-over is that I can't pre-load / cache the images into the browser with the existing IMG SRC=URL; every time you hover over a thumbnail it makes a fresh call to the DB and reloads the image (with the obvious time lag).

Is there a way to directly link to the image source so that I can put the actual real filenames into the HTML and preload them?

The images are stored in /img/dbm/salvage/0 .. 1 .. 2 .. 3 .. etc

Any ideas or thoughts would be appreciated Smile

All the best
Shaun
Subject Author Views Date
Thread Hardcode image URL into template? qango 6759 Mar 17, 2005, 8:41 AM
Thread Re: [qango] Hardcode image URL into template?
assombracao 6557 Apr 24, 2005, 4:50 PM
Thread Re: [assombracao] Hardcode image URL into template?
qango 6519 May 4, 2005, 4:24 AM
Thread Re: [qango] Hardcode image URL into template?
assombracao 6477 Jun 21, 2005, 6:14 PM
Thread Re: [assombracao] Hardcode image URL into template?
assombracao 6409 Aug 23, 2005, 9:59 AM
Thread Re: [assombracao] Hardcode image URL into template?
assombracao 6415 Aug 25, 2005, 4:12 AM
Post Post deleted by qango
qango 6335 Oct 12, 2005, 8:45 AM
Post Re: [assombracao] Hardcode image URL into template?
qango 6331 Oct 12, 2005, 8:50 AM
Thread Re: [qango] Hardcode image URL into template?
mick31 6327 Oct 26, 2005, 5:02 AM
Post Re: [mick31] Hardcode image URL into template?
qango 6171 Jan 4, 2006, 4:04 AM