Reply LinkBack Thread Tools Search this Thread
Old 21-02-2007, 04:35   #1 (permalink)
wwwd
Registered User
 
wwwd's Avatar
 
Join Date: Mar 2006
Posts: 70
Print Jpeg's on Different Pages from Website?

I basically have around 10 jpegs that I want to display on a website just in a list (so one image below another).

Is there a way so configure the webpage that makes each image print on a seperate page when the user prints through the web browser?
  Reply With Quote
Old 21-02-2007, 19:05   #2 (permalink)
tobor
Senior Member
 
tobor's Avatar
 
Join Date: Apr 2005
Location: Toronto, Canada
Posts: 162
You could try using a print css style that creates a huge margin on each image object, forcing them onto separate pages.
Code:
<style type="text/css" media="print"> img { margin-top: 396px; } </style>

I'm guessing 396 px, because 72ppi x 11" / 2 = 396px

Hope that works for you.
  Reply With Quote
Old 21-02-2007, 21:25   #3 (permalink)
liquid6
Prepress Extraordinaire
 
Join Date: Oct 2006
Location: New York, NY
Posts: 21
Send a message via AIM to liquid6
You could create a CSS style similar to the one above. You can also check out AllListApart. Google for it. They have great tuts on CSS and setting up the page so you dont have huge gaps between images when displayed on screen.
  Reply With Quote
Old 21-02-2007, 22:05   #4 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,340
Each image on a separate page? What about something akin to:

Code:
<style type="text/css" media="print"> img { page-break-after: always; } </style>
Not sure on browser support on that one...
  Reply With Quote
Old 21-02-2007, 22:16   #5 (permalink)
tobor
Senior Member
 
tobor's Avatar
 
Join Date: Apr 2005
Location: Toronto, Canada
Posts: 162
nice one pgo. page-break-after... never knew that one. do now!
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8