Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 11-29-2007, 09:45 AM
derlitograph's Avatar
derlitograph Offline
pp veteran
 
Join Date: Dec 2006
Location: Munich
Posts: 83
Logo of my new Slideshow template is displaced

This is the logo code of my image_template.html.
http://www.derlitograph.de/index.php
HTML Code:
<div id="image_wrapper" style="width:<IMAGE_WIDTH>px;">

<div id="header" style="width:100%;left:-21px;">

<!--BEGIN logo-->
<div id="logo" align="left">
        <div id="title">
                 <a title="click for home" href="index.php"><img src="templates/delicious_v1/images/derlitograph.gif" alt="derLitograph" border="0" /></a>
</div>

<div id="logo_sub">
	<a title="click for home" href="index.php"><SITE_TITLE></a>
	</div> 
</div>

<div id="logo" style="width:<IMAGE_WIDTH>px;">
	<!-- logo_sub -->
</div> <!-- logo -->
I wanted to include this code also into my slideshow_template.html:
http://derlitograph.de/templates/del..._template.jpeg

Something is wrong with it. Who knows?

Manuel

Last edited by derlitograph; 11-29-2007 at 10:24 AM.
Reply With Quote
  #2  
Old 11-29-2007, 01:24 PM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
I guess it is this line:
<div id="image_wrapper" style="width:<IMAGE_WIDTH>px;">
I am afraid that the slideshow template doesn't know anything about an image width, does it? (check the source code of slidesho page for that).
Better you set a fixed width for the wrapper here but without seeing the life page it is hard to tell :-)
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #3  
Old 11-29-2007, 01:54 PM
derlitograph's Avatar
derlitograph Offline
pp veteran
 
Join Date: Dec 2006
Location: Munich
Posts: 83
fix width

I tried to set 533px as width but then everything went a littlebit to the right side.
HTML is a strange language to learn.
Reply With Quote
  #4  
Old 11-29-2007, 02:17 PM
derlitograph's Avatar
derlitograph Offline
pp veteran
 
Join Date: Dec 2006
Location: Munich
Posts: 83
The 533px does not work and I ask myself:
"Why does the SLIDESHOW-TEMPLATE not know about the IMAGE WIDTH?"
How to integrate that?
Reply With Quote
  #5  
Old 11-29-2007, 02:37 PM
austriaka's Avatar
austriaka+ Offline
Team Pixelpost
 
Join Date: Nov 2006
Location: Germany
Posts: 1,175
Send a message via ICQ to austriaka Send a message via AIM to austriaka
most Pixelpost tags are only available in the original templates. To make them available in other templates you simple have to do the replacement function in the addon script which makes use of the template.

I have bothered about that fact very often too. Although I can hack any file or rewrite whole Pixelpost from scratch it would be much more comfortable to have no restrictions in using Tags.

Perhaps in Pixelpost 2.0 there will be a solution...
__________________
Uh!log Photoblog
My Addons
Reply With Quote
  #6  
Old 11-29-2007, 02:50 PM
derlitograph's Avatar
derlitograph Offline
pp veteran
 
Join Date: Dec 2006
Location: Munich
Posts: 83
Hmm, okay... well no problem.
I will not die because of it.

Pixelpost is really great and I love it. Good work and thanks to you!
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 04:51 AM.

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