Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #11  
Old 10-17-2006, 07:03 AM
dcreighton Offline
forum loafer
 
Join Date: Oct 2006
Location: Pottstown PA
Posts: 3
Vernon- I know you are trying to help but there are at least three of us that read that and don't find it very clear. Like what Image Tag (where in the template code since I don't see it yet) do I replace with these new tags? Sorry if some of us new users are naive but I figured out a few things in the scripts and codes already with no problem but this one has me confused. Probably something very simple that I'm overlooking but if someone would spell it out it would be much appreciated.
Reply With Quote
  #12  
Old 10-17-2006, 09:19 AM
Vernon.Trent's Avatar
Vernon.Trent Offline
pixelpost guru
 
Join Date: Apr 2006
Location: Germany
Posts: 341
Send a message via ICQ to Vernon.Trent
check your image_template.html and look to the code which displays your image.
then replace with the <today_images>
that's all.
__________________
best regards
~~~~~~~~
photoblog: XoverIP
Reply With Quote
  #13  
Old 10-18-2006, 06:55 PM
fredxeric's Avatar
fredxeric Offline
pixelpost guru
 
Join Date: Sep 2006
Location: Montréal, Québec, Canada
Posts: 407
Send a message via AIM to fredxeric Send a message via MSN to fredxeric
Quote:
Originally Posted by Vernon.Trent View Post
check your image_template.html and look to the code which displays your image.
then replace with the <today_images>
that's all.

I did that replacing image tag but no photo is displaying
Reply With Quote
  #14  
Old 10-18-2006, 07:08 PM
fredxeric's Avatar
fredxeric Offline
pixelpost guru
 
Join Date: Sep 2006
Location: Montréal, Québec, Canada
Posts: 407
Send a message via AIM to fredxeric Send a message via MSN to fredxeric
Ok so this is the line that show the image

Quote:
<div><a href="index.php?showimage=<IMAGE_PREVIOUS_ID>"><im g src="images/<IMAGE_NAME>" onmouseover="return overlib('Cliqu&eacute; pour voir la photo pr&eacute;c&eacute;dente', CAPTION, '<b>Titre:</b> <IMAGE_TITLE> <br /><EXIF_CAMERA_MODEL> | <EXIF_FOCAL_LENGTH> | <EXIF_APERTURE> | <EXIF_EXPOSURE_TIME> | ISO <EXIF_ISO> | <EXIF_EXPOSURE_BIAS><br />');" onmouseout="return nd();" width="<IMAGE_WIDTH>" height="<IMAGE_HEIGHT>" id="photo" alt="" /></a><div>
So I should replace the <IMAGE_NAME> with the new tag <TODAY_IMAGES> but it is not working........ see a very big red cross on my page now...
Reply With Quote
  #15  
Old 10-18-2006, 07:22 PM
Vernon.Trent's Avatar
Vernon.Trent Offline
pixelpost guru
 
Join Date: Apr 2006
Location: Germany
Posts: 341
Send a message via ICQ to Vernon.Trent
sorry, my answer was a little bit confusing.

place <TODAY_IMAGES> just before the line which shows your images.

just tried on my dev server and it shows correctly the images uploaded today.
__________________
best regards
~~~~~~~~
photoblog: XoverIP
Reply With Quote
  #16  
Old 10-18-2006, 07:53 PM
fredxeric's Avatar
fredxeric Offline
pixelpost guru
 
Join Date: Sep 2006
Location: Montréal, Québec, Canada
Posts: 407
Send a message via AIM to fredxeric Send a message via MSN to fredxeric
Quote:
Originally Posted by Vernon.Trent View Post
sorry, my answer was a little bit confusing.

place <TODAY_IMAGES> just before the line which shows your images.

just tried on my dev server and it shows correctly the images uploaded today.
Ok and if you wanted to have the exact same way that the picture was showing before you have to erase the line and change the new tag in the php script call photos_today.php a line 85
Reply With Quote
  #17  
Old 10-18-2006, 08:28 PM
fredxeric's Avatar
fredxeric Offline
pixelpost guru
 
Join Date: Sep 2006
Location: Montréal, Québec, Canada
Posts: 407
Send a message via AIM to fredxeric Send a message via MSN to fredxeric
Another problem I found, I cannot use the same standard line the I have used in the image_template.htm there is no link to add $image_previous_id.

How do I do to use the $image_previous_id tag in this file
Reply With Quote
  #18  
Old 10-19-2006, 05:03 PM
Dennis's Avatar
Dennis+ Offline
Team Pixelpost
 
Join Date: Jul 2006
Posts: 2,394
Send a message via MSN to Dennis
The correct tag for image_previous_id is <IMAGE_PREVIOUS_ID>.

Could you post your standard line here?
Reply With Quote
  #19  
Old 10-19-2006, 06:11 PM
fredxeric's Avatar
fredxeric Offline
pixelpost guru
 
Join Date: Sep 2006
Location: Montréal, Québec, Canada
Posts: 407
Send a message via AIM to fredxeric Send a message via MSN to fredxeric
I know that the image_previous_id is <IMAGE_PREVIOUS_ID>. But when you edit the photos_today.php file you cannot insert correct tag, you have to put the $ sign with the correct variable instead of putting the quoted tag <>.

photos_today.php
PHP Code:
$today_images .= "<a href='$PHP_SELF?showimage=$image_id'><img src='images/$image_name' alt='$image_title' title='$image_title' /></a><br /><br />"
image_template.html
Code:
<div><a href="index.php?showimage=<IMAGE_PREVIOUS_ID>"><img src="images/<IMAGE_NAME>" onmouseover="return overlib('Cliqu&eacute; pour voir la photo pr&eacute;c&eacute;dente', CAPTION, '<b>Titre:</b> <IMAGE_TITLE> <br /><EXIF_CAMERA_MODEL> | <EXIF_FOCAL_LENGTH> | <EXIF_APERTURE> | <EXIF_EXPOSURE_TIME> | ISO <EXIF_ISO> | <EXIF_EXPOSURE_BIAS><br />');"  onmouseout="return nd();" width="<IMAGE_WIDTH>" height="<IMAGE_HEIGHT>" id="photo"  alt="" /></a><div>
So for each <> code I have to replace with $ sign instead
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 02:01 PM.

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