Dynamically resize image

Started by Joe, September 02, 2010, 01:16:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Joe

Quote from: Tracy on September 03, 2010, 05:55:01 PMthat's cool you figured it out, I took an html class awhile back, seems there's a lot more
ways to solve problems now.
I may have to check it out if I have any spare time someday :undecided:

I think HTML/CSS is less forgiving than printing. :sad:
Mac OS Sonoma 14.2.1 (c) | (retired)

The seven ages of man: spills, drills, thrills, bills, ills, pills and wills.

gnubler

Quote from: tapdn on September 03, 2010, 04:52:59 PMbackslash backslash semi-something something-or-the-other isn't it?

Yeah, and don't forget the dub-dub-dub and put quotes around EVERYTHING! And DON'T use CAPS, FFS! :cheesy:
Hicks • Cross • Carlin • Kinison • Parker • Stone •  Colbert • Hedberg • Stanhope • Burr

"As much as I'd like your guns I prefer your buns." - The G

Quote from: pspdfppdfx on December 06, 2012, 05:03:51 PM
So,  :drunk3: i send the job to the rip with live transparecy (v 1.7 or whatever) and it craps out with a memory error.

Member #14 • Size 5 • PH8 Unit 7 • Paranoid Misanthropic Doomsayer • Printing & Drinking Since 1998 • doomed ©2011 david

gnubler

Quote from: Joe on September 03, 2010, 07:06:21 PM
Quote from: Tracy on September 03, 2010, 05:55:01 PMthat's cool you figured it out, I took an html class awhile back, seems there's a lot more
ways to solve problems now.
I may have to check it out if I have any spare time someday :undecided:

I think HTML/CSS is less forgiving than printing. :sad:

Yes. One missing or wrong character and everything breaks. I have sent many jobs off to press that were missing an exclamation point here & there (because they're endangered) and the job still printed!
Hicks • Cross • Carlin • Kinison • Parker • Stone •  Colbert • Hedberg • Stanhope • Burr

"As much as I'd like your guns I prefer your buns." - The G

Quote from: pspdfppdfx on December 06, 2012, 05:03:51 PM
So,  :drunk3: i send the job to the rip with live transparecy (v 1.7 or whatever) and it craps out with a memory error.

Member #14 • Size 5 • PH8 Unit 7 • Paranoid Misanthropic Doomsayer • Printing & Drinking Since 1998 • doomed ©2011 david

tapdn

My first computer in 1985 didn't even have an OS. I couldn't even find my home folder. I hate coding as much as I hate cost accounting or shopping for insurance ffs
usually fried mate - sometimes pickled - often scrambled - never beaten
~ Sir B. Monsteaure
No, he's well within his rights to diss cake. Pie, on the other hand, is waaaayyyy off limits.
~Youston
I'm just a stupid printer WTF do I know
~Farabomb

gnubler

Now you can see why I went over the edge and am on the ledge...looks like Joe is now following the same painful path. Who knows what may happen. :scared:

In good news, today I received garbled news that I'm going to be relieved of my freelance webdev projects. This is a blessing. One step closer to dropping out!
Hicks • Cross • Carlin • Kinison • Parker • Stone •  Colbert • Hedberg • Stanhope • Burr

"As much as I'd like your guns I prefer your buns." - The G

Quote from: pspdfppdfx on December 06, 2012, 05:03:51 PM
So,  :drunk3: i send the job to the rip with live transparecy (v 1.7 or whatever) and it craps out with a memory error.

Member #14 • Size 5 • PH8 Unit 7 • Paranoid Misanthropic Doomsayer • Printing & Drinking Since 1998 • doomed ©2011 david

Joe

#20
I like doing it. Unlike print, people actually do care what their web sites look like. And there is some intellectual challenge to it too. Not the drudgery of preflighting PDF's. If I could, I'd get out of print completely. Today. If not sooner.
Mac OS Sonoma 14.2.1 (c) | (retired)

The seven ages of man: spills, drills, thrills, bills, ills, pills and wills.

tapdn

Herding and babysitting PDFs is not my idea of prepress either Joe... at least not the prepress I fell in love with those years ago. The acceptable quality level today is crap!
Meanwhile back at the ranch all is well.
usually fried mate - sometimes pickled - often scrambled - never beaten
~ Sir B. Monsteaure
No, he's well within his rights to diss cake. Pie, on the other hand, is waaaayyyy off limits.
~Youston
I'm just a stupid printer WTF do I know
~Farabomb

Joe

That prepress is gone forever. :cry:
Mac OS Sonoma 14.2.1 (c) | (retired)

The seven ages of man: spills, drills, thrills, bills, ills, pills and wills.

Captain_Type

Quote from: Joe on September 02, 2010, 01:16:52 PMI've inherited this code from a previous developer:

<img src="http://www.somesite.com/header.jpg" alt="Lamp" width="85%" height="85%" />


The intent there is to have the image be at 85% of the size of the site and the image dynamically scales proportionately if the user resizes the window...all the way down to fit on the iPhone/iPad. It works in Firefox but freaking Safari butchers it to death. I need to to work in all browsers. Anyone know how to accomplish this either via html or CSS?

There is a new Safari patch. Maybe it was a bug and they fixed it.
Esko Automation Engine 23
ArtPro+ 23
Javelin Imagesetter

Captain_Type

It appears that only the Intel macs got a Safari upgrade to 5.0. The PowerPC's are still on 4.1.1, so probably no help, sorry.
Esko Automation Engine 23
ArtPro+ 23
Javelin Imagesetter

DigiCorn

I am on a Power PC Mac and my Safari is 5.0.1
"There's been a lot of research recently on how hard it is to dislodge an impression once it's been implanted in someone's mind. (This is why political attack ads don't have to be true to be effective. The other side can point out their inaccuracies, but the voter's mind privileges the memory of the original accusation, which was juicier than any counterargument ever could be.)"
― Johnny Carson

"Selling my soul would be a lot easier if I could just find it."
– Nikki Sixx

"Always do sober what you said you'd do drunk. That will teach you to keep your mouth shut."
― Ernest Hemingway

Joe

Quote from: Captain_Type on September 07, 2010, 06:55:18 AM
Quote from: Joe on September 02, 2010, 01:16:52 PMI've inherited this code from a previous developer:

<img src="http://www.somesite.com/header.jpg" alt="Lamp" width="85%" height="85%" />
The intent there is to have the image be at 85% of the size of the site and the image dynamically scales proportionately if the user resizes the window...all the way down to fit on the iPhone/iPad. It works in Firefox but freaking Safari butchers it to death. I need to to work in all browsers. Anyone know how to accomplish this either via html or CSS?

There is a new Safari patch. Maybe it was a bug and they fixed it.

Actually, Safari was doing exactly what it was told. It made it 85% of the width AND 85% of the height. Firefox knew that was wrong and read my mind for what I really wanted. It scaled the width by 85% and scaled the height proportionately. Removing the height tag and they both then scaled it the way I needed it. Like Firefox did it in the first place.
Mac OS Sonoma 14.2.1 (c) | (retired)

The seven ages of man: spills, drills, thrills, bills, ills, pills and wills.

gnubler

Hicks • Cross • Carlin • Kinison • Parker • Stone •  Colbert • Hedberg • Stanhope • Burr

"As much as I'd like your guns I prefer your buns." - The G

Quote from: pspdfppdfx on December 06, 2012, 05:03:51 PM
So,  :drunk3: i send the job to the rip with live transparecy (v 1.7 or whatever) and it craps out with a memory error.

Member #14 • Size 5 • PH8 Unit 7 • Paranoid Misanthropic Doomsayer • Printing & Drinking Since 1998 • doomed ©2011 david

Joe

Quote from: gnubler on September 07, 2010, 10:05:42 AMThanks for the update. :tongue:

Hopefully, like DCS, you will sleep better now.
Mac OS Sonoma 14.2.1 (c) | (retired)

The seven ages of man: spills, drills, thrills, bills, ills, pills and wills.

gnubler

Something's been *missing* from my life, but I now feel complete. You are a powerful man.
Hicks • Cross • Carlin • Kinison • Parker • Stone •  Colbert • Hedberg • Stanhope • Burr

"As much as I'd like your guns I prefer your buns." - The G

Quote from: pspdfppdfx on December 06, 2012, 05:03:51 PM
So,  :drunk3: i send the job to the rip with live transparecy (v 1.7 or whatever) and it craps out with a memory error.

Member #14 • Size 5 • PH8 Unit 7 • Paranoid Misanthropic Doomsayer • Printing & Drinking Since 1998 • doomed ©2011 david