[haiku-bugs] Re: [Haiku] #6981: http://www.haiku-os.org/gallery is cutting off pictures

  • From: "jstressman" <trac@xxxxxxxxxxxx>
  • Date: Wed, 15 Dec 2010 17:32:14 -0000

#6981: http://www.haiku-os.org/gallery is cutting off pictures
--------------------------+-------------------------------
  Reporter:  jscipione    |        Owner:  haiku-web
      Type:  bug          |       Status:  new
  Priority:  normal       |    Milestone:  R1
 Component:  Website/CMS  |      Version:  R1/Development
Resolution:               |     Keywords:  website gallery
Blocked By:               |  Has a Patch:  0
  Platform:  All          |     Blocking:
--------------------------+-------------------------------

Comment (by jstressman):

 On the main gallery page, remove the "width: 190px;" "#picasaweb
 #picasa_album a span.title" and "#picasaweb #picasa_album span.date"

 Change "#picasaweb #picasa_album a img" to "margin: 15px auto 5px;" and
 remove "float: left;" from it.

 Change "#picasaweb #picasa_album" to "width: 220px;"

 This extends the gallery to fit the width of the page, and centers all the
 images and their tags.


 On the sub gallery pages, change "#picasaweb #picasa_photo" to "width:
 200px;" and remove the "width: 170px;" from "#picasaweb #picasa_photo a p"


 On the individual image page, change "#picasaweb #picasa_picture img" to
 "width: 100%;" along the lines of what kallisti5 did for the main
 picasaweb div, and the image snugly fits inside the space it's supposed
 to.

 (There may be a more programmatical way to do this so that the gallery
 could adjust to fit different widths better, but this fixes it for our
 current theme.)

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6981#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: