| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
different images for different resolutions? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
different images for different resolutions?
is it possible to have two separate images for the top two screen resolutions and have the correct image used, depending on the resolution? -Reuben
__________________
version: 4.4.1 Gold [Unix] |
|||||||
#2
|
|||||||
|
|||||||
It might be possible through a javascript detection routine, but it would probably become complicated quick.
I would suggest learning how to code correctly in html and css so it displays correctly on all browsers, resolutions, and platforms.
__________________
Joshua Sowin ...taking things one TPL at a time. |
|||||||
#3
|
|||||||||
|
|||||||||
have javascript detect the screen res then write out the image url on the fly, keep images in two seperate folders so the javascript would write one res using say folder thumbs800/blah.gif and then thumbs1024/blah.gif.
It seems alot of hassle to go to for little effect though, why not just design for the middle ground? If your routine slipped up it may not accesss the screen variables on all browsers in which case it would display nothing but broken images. Also means you have to test all pages in all resoloutions too. Remember different machines and cards use a very wide range of screen sizes and you can't always detect if the browser uses sidebars and other such like.
__________________
Groovico Used by X-carters the world over: Marketing Manager Pro Bundle For X-cart Featured Product Manager for X-cart Feed manager pro for X-cart http://www.firetanksoftware.com Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X |
|||||||||
#4
|
|||||||
|
|||||||
I'm also suprised at how many people don't have their browser full-screen
Can really mess sites up!
__________________
Joshua Sowin ...taking things one TPL at a time. |
|||||||
#5
|
|||||||
|
|||||||
thats' what i decided to do last night, groovico-design it in between the two most popular sizes. thanks guys, Reuben
__________________
version: 4.4.1 Gold [Unix] |
|||||||
#6
|
|||||||||
|
|||||||||
Quote:
Opera users love their speed bar at the side, it takes up a huge chunk of screen real estate, same with IE favourites side bar, really dont understand why they dont make it slide out instead over the website.
__________________
Groovico Used by X-carters the world over: Marketing Manager Pro Bundle For X-cart Featured Product Manager for X-cart Feed manager pro for X-cart http://www.firetanksoftware.com Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X |
|||||||||
#7
|
|||||||||
|
|||||||||
Modify your product_thumbnail.tpl and use exif_thumbnail() this GD library function extracts a thumbnail of a file based image, you tell it what size and there is the problem: To nail the true size you need to call Windows API to find the users DPI settings........ Of course SVG images will solve everything real soon now
|
|||||||||
#8
|
|||||||||
|
|||||||||
Quote:
That depends on the design obviously. I prefer full screen width designs, but if a design is highly graphic it normally adjusts to a specific size to make it look better (800 x 600 in most cases).
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
|
|||
X-Cart forums © 2001-2020
|