Sorry to ask such a simple question but is it ok to have different variants of graphics in different folders but name them the same (ie next.gif and prev.gif) , will there be any problems such as browser cache issues? TIA
No problem at all... when the browser, server, etc. refer to a specific file, the file path is 'attached' to the name. So, you may think the graphics have the same name, the computer systems are seeing:
http*//www.domain.com/stuff/next.gif or /home/domain/www/stuff/next.gif http*//www.domain.com/things/next.gif or /home/domain/www/things/next.gif http*//www.domain.com/etc/next.gif or /home/domain/www/etc/next.gif
Each is a different 'name' because of the directory names 'above' the graphic file.
Thanks mivox for such a quick reply, wish I'd checked back earlier - lost in pixels! Sorry to extend my question but presumably any identical graphics, called from the main gfx dir by ../gfx/mainlogo, won't have to reload/download each time, but if those identical graphics were put (duplicated) in the different dirs stuff/logo things/logo etc/logo - would a browser reload each of them them? TIA yet again.