PDA

View Full Version : Addon: Thumbs


aran
06-29-2008, 08:41 AM
Displays the latest or a random set of images posted on your PixelPost Photoblog.

If you like my plugins please leave a comment :).

Installation:
Add thumbs.php to your addon's folder and enable.
Then simply add <THUMBS> anywhere you want thumbnails of your pictures.

Options:
total = 0-9 (May not even be a limit on what number.) : This tell the script how many thumbnails will be displayed.
type = latest/random : If latest is selected the latest images added to pixelpost will be displayed (currently in date order), If random is selected a random selection is chosen.
ordertype = ID/ppsort/datetime : If ID is selected images are ordered by the ID number, if ppsort is selected then the default sorting order is selected and if datetime is selected then its sorted by date and time which is set in the SQL record. (Only works when type is set to latest)
showsitetitle = Yes/No : This will display the sites title above the images.

Example:
<THUMBS total="6" type="random">
The above template tag will display 6 random images from your Pixelpost photo blog.

Changlelog:
v0.7
Added ability to change the way the images are ordered. The options are Pixelpost's default order, by date and time set on the image or by the pictures ID.

v0.6
Changed latest sort mode to use time instead of ID.

v0.5
Added default values so user does not have to define any.
Added ability to customize how many thumbnails can be displayed.
Now uses <UL> html list to format the pictures.

Demo:
http://aran-w.net/pblog/index.php?x=about

Download:
http://www.pixelpost.org/extend/addons/thumbs/

ican
07-01-2008, 07:41 PM
Hello Aran,
nice plug in you have here.. tested it offline and works just fine..

by the way, i have a question (maybe a stupid question)..
How you create the left (previous) and right arrow (next) in Image_template like the one you are currently using in your website? what add on?

Sorry for the stupid question though....

regards,
Ichsan

ican
07-01-2008, 07:43 PM
are you using dark matter? and how to create list categories? what add on? sorry for bothering you with so much question.. i am a fresh user...

aran
07-01-2008, 08:31 PM
I am using a theme called delicious or something like that with one of the default plugins enabled to give them categories in a list. What version did you try my plugin on? If you used a older one and it worked fine then I can say on in the plugin description that it works with that version.

Aran

ranmajen
07-02-2008, 01:47 AM
do you mean aran listing categories in album? It is an addon here: http://www.pixelpost.org/extend/addons/album-view/

about the previous and next arrow is from the template called delicious: http://www.pixelpost.org/extend/templates/delicious/. Actually many templates have this function.

i am using both also :)

ican
07-02-2008, 02:27 AM
Aran, thanks for the info, i am using the latest pixelpost.... 1.7.

ican
07-02-2008, 02:28 AM
thanks for the info Ranjamen...for the beginner like me it's helpful.. lol

ranmajen
07-02-2008, 09:10 AM
You're welcome :)

aran
07-08-2008, 01:30 PM
Updated plugin to v0.7 and added new way of sorting the thumbnails.

Can either you the default pixelpost sorting mode, date time (from mysql row) or by the ID number.

Smartphoner
07-25-2008, 09:55 PM
How can I show thumbs on a external page ?

EcoSee
07-26-2008, 05:08 PM
http://www.pixelpost.org/extend/addons/pixelpost-promote/