Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Hacks and Modifications

Post Reply
 
Thread Tools
  #1  
Old 04-22-2006, 12:42 AM
Fellow Eskimo Offline
pp veteran
 
Join Date: Feb 2005
Location: SC, USA for the next 6 months.
Posts: 78
Template changer?

Ok, on my website (felloweskimo.net/photo), I have over 300 photos...and they all vary in width and height. None of them are over 800 pixels wide, but they all vary from 600-800, and the vertical ones vary from 350-500. Anyway, I want a new template. Problem is, I have a problem with vertical images being not so nice looking on the current template. It also leaves me very little room to write. I would like to be able to have two versions of a template, and when I upload the image in admin, be able to choose which version I want (vertical or horizonal). Here are examples:

Horizonal template

Vertical template.

Can this be done with CSS? Does it require a hack? I do not know php very well...but if someone gives me clear directions I can follow them. Is this even possible?
Reply With Quote
  #2  
Old 04-22-2006, 06:48 AM
blinking8s's Avatar
blinking8s+ Offline
über loafer
 
Join Date: Oct 2004
Location: Bowling Green, Ky
Posts: 3,428
Send a message via ICQ to blinking8s Send a message via AIM to blinking8s Send a message via MSN to blinking8s Send a message via Skype™ to blinking8s
it would require a php hack to swap the tempate out for the max image width vs height...I dont think anyone has dont this yet though

however, like on my photoblog, the template is made to adjust around this..I used a very minor hack.
__________________
i should say more clever stuff
Reply With Quote
  #3  
Old 04-22-2006, 06:54 AM
Fellow Eskimo Offline
pp veteran
 
Join Date: Feb 2005
Location: SC, USA for the next 6 months.
Posts: 78
what kind of hack?
Reply With Quote
  #4  
Old 04-22-2006, 06:58 AM
blinking8s's Avatar
blinking8s+ Offline
über loafer
 
Join Date: Oct 2004
Location: Bowling Green, Ky
Posts: 3,428
Send a message via ICQ to blinking8s Send a message via AIM to blinking8s Send a message via MSN to blinking8s Send a message via Skype™ to blinking8s
it just allows for the spacing around the image, something like a regular image border or drop shadow css can handle without a hack...

I'll take a look at your template in a bit...pretty busy at the moment.
__________________
i should say more clever stuff
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 10:02 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs