Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #11  
Old 02-17-2005, 04:26 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
This is an addon an it is not suppose to be an alternative to browse. This addon should not intimidate the normal functionality of the pixelpost.
I'll create additional links for the main template later but this version is just for your test.
about the Jscript I'm puzzled. could you send me your index.php that its jscrip does not work.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #12  
Old 02-17-2005, 12:26 PM
Zlato Offline
pp regular
 
Join Date: Feb 2005
Location: Paris - FRANCE
Posts: 43
Finally it works well for my javascript "B&W to colour" trick here is what I have modified for it :

Code:
$thumb_output .= "<a href='$PHP_SELF?showimage=$id'><img src='$thumbnail' alt='$title' title='$title' class='thumbnails'onMouseOver=\"this.filters.gray.enabled=false\" onMouseOut=\"this.filters.gray.enabled=true\" /></a>";
But there is still a couple of things that i can't understand :

1.If I put more than 5 in $maxnumber_thumbs then in archives i got, whatever i put, 8 thumbs in a row...

2.When you get the archives URL the script doesn't work, you have to choose the page first, for changes to appear.

3.If I do that :

Code:
$thumb_output .= "<a href='$PHP_SELF?showimage=$id'><img src='$thumbnail' alt='$title' title='$title' class='thumbnails'onMouseOver=\"this.filters.gray.enabled=false\" onMouseOut=\"this.filters.gray.enabled=true\"  /></a><br/>$title<br/>";
in fact putting the name under each thumbnails it doesn't fit no more my 650px box.... ( with the original <THUMBS> no problem and I know you've wrote the same things, sorry that it doesn't work, yet...)

I know You've done already a great job and i am already thankful, you know that... :wink:
__________________
A. Zlatogorov
Ecrivain de lumière
Reply With Quote
  #13  
Old 02-17-2005, 04:19 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
I'm confused! where do these codes that you mentioned in your last post exist? are they your in index.php?

I'm going to have a look on that. I was away for all day and now I got home.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #14  
Old 02-17-2005, 04:22 PM
Zlato Offline
pp regular
 
Join Date: Feb 2005
Location: Paris - FRANCE
Posts: 43
Sorry there's a little confusion , forget the last message ( the PM one...)
the one upside yours is the only good one
__________________
A. Zlatogorov
Ecrivain de lumière
Reply With Quote
  #15  
Old 02-17-2005, 05:11 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
Hi Zlato
Sorry but none of your problems you mention is happening here!

1) There is no such a bug as
Quote:
1.If I put more than 5 in $maxnumber_thumbs then in archives i got, whatever i put, 8 thumbs in a row...
if you change the addon you shoud refresh your index.php page in the browser to make it effective.

2) the problem you mentioned
Quote:
2.When you get the archives URL the script doesn't work, you have to choose the page first, for changes to appear.
is a result of misuderestanding. I told you that this is not going to replace the code for the browse. if you want to use it instead of browse you should replace the Browse_Archive tag in the template with a link to the first page of this. In fact, I have plans to produce tags for it but I'm trying to figure out any other possible error before doing that. (I didn't find any till now though)

3) The is also not related to my code
Quote:
3.If I do that :

Code:
$thumb_output .= "<img src='$thumbnail' alt='$title' title='$title' class='thumbnails'onMouseOver=\"this.filters.gray. enabled=false\" onMouseOut=\"this.filters.gray.enabled=true\" /><br/>$title<br/>";


in fact putting the name under each thumbnails it doesn't fit no more my 650px box.... ( with the original <THUMBS> no problem and I know you've wrote the same things, sorry that it doesn't work, yet...)
.
please pay attention that your JScript function should be defined before any call. the function is not in the addon and you should include it there. If you could provide me the funciton would be thankfull 'caue I like the effect.

4) I'm happy that the problem with the scripting is resolved but finally I didn't undrestand what was the problem that was solved!

5) The problem with not fitting in "650px box" should be the result of bad formating the html code. maybe there is an unclosed tag in the html code that produces the error. Here I see the images in the vertical line-up with the title of the at the bottom.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #16  
Old 02-17-2005, 07:04 PM
Zlato Offline
pp regular
 
Join Date: Feb 2005
Location: Paris - FRANCE
Posts: 43
Good evening Ramin,

i use a hacked version of index.php (this one :http://www.pixelpost.org/index.php?x...amp;details=29 )

it's maybe why it doesn't work well for me ?

So the first point :
Look at my site here http://www.zlatogorov.com/pixelpost/...&pagenum=1 I've put 24 in
Code:
$maxnumber_thumbs
and the amount on the first page is correct, but as you can see the row is composed of 8 thumbs (?)


2.It's ok for that

3.For th B&W to colour it's a IE-only :cry: behaviour : (and it's not java related as I said ops: )

first i put this in my CSS (tag related to thumbs):

Code:
#thumb img {
	margin:12px;
	padding: 2px;
	background-color: #ffffff;
	border: none;
	filter: gray (enabled=true);
}
the "function is that one : filter: gray (enabled=true); basically the thumb is B&W (gray)

Then second i put this code there where we call for thumbnails and that's why you see that
Code:
onMouseOver=\"this.filters.gray.enabled=false\" onMouseOut=\"this.filters.gray.enabled=true\;
in YOUR code like i do
Code:
thumb_output .= "<img src='$thumbnail' alt='$title' title='$title' class='thumbnails'onMouseOver=\"this.filters.gray.enabled=false\" onMouseOut=\"this.filters.gray.enabled=true\" /><br/>$title<br/>";
4) In fact i haven't put the tags right at the first time... ops:

5) I don't think so, or maybe i have understand nothing ops: , but with the original tag <THUMBNAILS> all is fitting fine...And maybe it's because in this original tag (of the hacked version line 413) the thumbnails are in a table

I think the answers could help you...
__________________
A. Zlatogorov
Ecrivain de lumière
Reply With Quote
  #17  
Old 02-17-2005, 07:22 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
I think there should be good jscript for that graying effect.

and actually IE handles
Code:
onMouseOut=\"this.filters.gray.enabled=true\;
as jscript I think. (there should be some sort of script surely)
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #18  
Old 02-17-2005, 07:46 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
Quote:
Originally Posted by Zlato
So the first point :
Look at my site here http://www.zlatogorov.com/pixelpost/...&pagenum=1 I've put 24 in
Code:
$maxnumber_thumbs
and the amount on the first page is correct, but as you can see the row is composed of 8 thumbs (?)
That's the effect of your template design for the browse page and nothing elese. I think you have used a div with absolute width. If you want to have more photo in a single line you could increase the width. If you want the thumbs to line up in more lines and less rows when the window's width gets smaller you could eliminate the fixed width.

That's not related to the code.

-------------------------------------
and about the 5th case
It's likely to be the effect of Tables and div and also the absolute width and.... that's all the matter of design.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #19  
Old 02-17-2005, 08:53 PM
Zlato Offline
pp regular
 
Join Date: Feb 2005
Location: Paris - FRANCE
Posts: 43
Ok Ramin, i will look at that, thanks anyway for such patience...

Last but not least and that's the final point, when chose a categories for sure the pages at the bottom remains..try it on my site...

You're my best Ramin

Regards
__________________
A. Zlatogorov
Ecrivain de lumière
Reply With Quote
  #20  
Old 02-17-2005, 08:58 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
yeah! that's a real bug!
I'm working on it.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 04:41 PM.

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