Yes but then you wouldn't need a stretchy, more a squashy
Yes but then you wouldn't need a stretchy, more a squashy
Egg
Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
Egg - That is awesome. You would think that is the default.
Gary W. Priester
Mr. Moderator Emeritus Dude, Sir
gwpriester.com | eyetricks-3d-stereograms.com | eyeTricks on Facebook | eyeTricks on YouTube | eyeTricks on Instagram
Spot on Siran, thank you. I believe this is of particular interest to Gary.
EDIT: Cross posting here Gary. I was looking at Sirans xar.
Egg
Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
Hi Siran. I can simply drop another large image onto your yacht image and it scales perfectly. What I don't quite follow is if I delete your image, import my own and name it 'mysquashy' it squashes in the vertical axis. What determines the W/H ratio?
EDIT: I notice that the code is set to height 1232px. How would I change this if I was using a 2000px image for example?
FURTHER EDIT: Attachments back on line. They weren't this morning.
Egg
Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
Siran - Love this too. Great solution.
Gary W. Priester
Mr. Moderator Emeritus Dude, Sir
gwpriester.com | eyetricks-3d-stereograms.com | eyeTricks on Facebook | eyeTricks on YouTube | eyeTricks on Instagram
Hi Egg. Are there any questions open?
The picture is a standard stretching object. The CSS only reduces the height. To use your own picture just add a name to it, make it stretchy and adapt the CSS code in this way:
1. Replace mysquashy with the name you have given your picture. Leave the # and the the { untouched.Code:<style>#mysquashy{height:300px !important;}</style>
2. Replace 300 with the height (in pixels) your stretchy should keep.
That should be it.
If you have multiple such squashies you have to duplicate the CSS code and use individual names for each. For example:
or shorter, but I don't want to irritate you.Code:<style>#mysquashy{height:300px !important;}</style> <style>#squashy2{height:250px !important;}</style>
Code:<style> #mysquashy{height:300px !important;} #squashy2{height:250px !important;} </style>
Ah, replacing the name. Ha. Got it.
Gary W. Priester
Mr. Moderator Emeritus Dude, Sir
gwpriester.com | eyetricks-3d-stereograms.com | eyeTricks on Facebook | eyeTricks on YouTube | eyeTricks on Instagram
You can also crop the image using the Photo Tool to determine what part of the photo remains in the stretched image.
Gary W. Priester
Mr. Moderator Emeritus Dude, Sir
gwpriester.com | eyetricks-3d-stereograms.com | eyeTricks on Facebook | eyeTricks on YouTube | eyeTricks on Instagram
I was thinking if we all design for 1250 res. which would fit perfectly for 1280 resolution without the scroll bar, then all one has to do is to make the picture twice that size and you will be set. Xara is not responsive so there is no sense in worrying about a larger stretchy full picture. Do I make sense?
Bookmarks