Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 04-19-2008, 02:49 AM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
Lightbulb Addon: Album View

Album View is a new front end to your browse pages. The addon will display a single thumbnail from each of your categories, along with the name and number of photos, which will link to the browse pages. Options include using either the most recent photo in the category or a random image from the category. The addon also works with and without the paged archive addon. Package includes a sample css file for getting the page to display properly.

See A Demo

Instructions
  1. Add album_view.php to your addons directory and turn it on
  2. Add some css to display the thumbnails properly. I've included the css I'm using as a sample in the package.
  3. Add one of the Album View tags to one of your templates. I would suggest making a new template page for this tag - for instance I put the tag on album_template.html. Tags to use:
<ALBUMVIEW> - Shows newest photo for each category.
<ALBUMVIEWPAGED> - Same as above but for use with Paged Archive Addon.
<ALBUMVIEWRAND> - Shows random photo for each category.
<ALBUMVIEWPAGEDRAND> - Same as abover but for use with Paged Archive Addon.
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
  #2  
Old 04-20-2008, 12:51 AM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
You can download it from here:
http://www.pixelpost.org/extend/addons/album-view/
__________________
Jay Williams | A Different View
Reply With Quote
  #3  
Old 04-20-2008, 01:06 AM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
Ooops! Thanks Jay!
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
  #4  
Old 04-20-2008, 08:15 AM
patashnik Offline
forum loafer
 
Join Date: Dec 2005
Posts: 4
Brilliant! One thing: Would you mind showing the actual code that you use to set this up in the album_template.html page?

This is seriously one of the most useful addons I've seen here at Pixelpost, excellent work!
Reply With Quote
  #5  
Old 04-20-2008, 10:11 AM
SnowScan Offline
pp regular
 
Join Date: Aug 2005
Posts: 42
The album view is great, but as with the geos category addon I have a request...

example:
you select a category and see alle the images in that category. When you then select an image to view, you cannot from that image go back and forward in the category selected... (you have to go back to the cat listing and select another image from that cat)

Is this possible to do with this addon?
__________________
Regards,
Peter Hestbæk
www.snowscan.dk
Reply With Quote
  #6  
Old 04-20-2008, 12:19 PM
posefius's Avatar
posefius Offline
pixelpost guru
 
Join Date: Mar 2005
Location: Netherlands
Posts: 100
It would be nice if this album view addon could be integrated with a slideshow. Something like when you select an album a slideshow starts automaticly, is this possible?
Reply With Quote
  #7  
Old 04-20-2008, 01:47 PM
ranmajen's Avatar
ranmajen Offline
pp veteran
 
Join Date: Apr 2008
Posts: 89
Is there any problem for the version 1.1 file? No album_view.php can be found.
Reply With Quote
  #8  
Old 04-20-2008, 03:42 PM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
Quote:
Originally Posted by ranmajen View Post
Is there any problem for the version 1.1 file? No album_view.php can be found.
Hmm that's rather odd. I've updated the download file so it should work now.
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
  #9  
Old 04-20-2008, 04:08 PM
ranmajen's Avatar
ranmajen Offline
pp veteran
 
Join Date: Apr 2008
Posts: 89
I have used the new file but how can I show "all"? Only albums shown but no album for all.
Reply With Quote
  #10  
Old 04-20-2008, 04:29 PM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
Quote:
Originally Posted by patashnik View Post
Brilliant! One thing: Would you mind showing the actual code that you use to set this up in the album_template.html page?

This is seriously one of the most useful addons I've seen here at Pixelpost, excellent work!
Here's what I have on my album_template.html page...

<div style="width:720px; margin:20px auto; clear:both;">
<ALBUMVIEWPAGEDRAND>
</div>

<style>
.albumWrapper {

height:120px;
text-align:center;
float:left;
margin:5px;
}
.albumWrapper2 {
margin:3px;
width:83px;
}
.albumWrapper a:link, .albumWrapper a:visited {
border:1px solid #666;
display:block;
}
.albumWrapper img {
border:3px solid #FFF;
}
.albumTitle {
font-size:80%;
padding:2px 0;
}
.albumTitle a:link, .albumTitle a:visited {
border:none;
}
</style>
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 05:45 PM.

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