Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 02-14-2005, 08:45 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
Addon: Random Image Link

I've an addon for this
This addon will enables the tag
Code:
<IMAGE_RANDOM>
which is a the ID of a random image of your Pixelpost photoblog. Using this ID you can link to a random images easily.

Usage:
Code:
<a href='index.php?showimage=<IMAGE_RANDOM>' > Random photo </a>
The above tag links to your photoblog with a random photo.

Link: http://www.pixelpost.org/index.php?x...amp;details=41
OR
http://www.pixelpost.org/index.php?x...amp;details=41 (temp)

If you want to know how the idea was generated see this thread
http://www.pixelpost.org/forum/viewtopic.php?t=404
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #2  
Old 02-14-2005, 08:54 PM
greentraveler's Avatar
greentraveler Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 106
Works beautifully!
Reply With Quote
  #3  
Old 02-15-2005, 06:20 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
UPDATE

Update: this tag is now availabe on all page of pixelpost photoblog.
download version 0.2 from addon section.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #4  
Old 03-26-2005, 12:01 PM
cata Offline
forum loafer
 
Join Date: Mar 2005
Posts: 5
Is it also possible to show it as an image and not just like a link? I want to display a random image on my blog, that is why :wink:
Reply With Quote
  #5  
Old 03-26-2005, 12:10 PM
Connie
Guest
 
Posts: n/a
cata,

there is thread on this here in the forum and there is an addon in the download list, please, look around, we have a lot!

http://www.pixelpost.org/index.php?x...amp;details=40

please, look around first and then ask. Did you register already? Then you will find a search function to browse all forum-postings...
Reply With Quote
  #6  
Old 06-04-2005, 06:39 AM
gqshen Offline
forum loafer
 
Join Date: May 2005
Posts: 10
Re: Addon: Random Image Link

Quote:
Originally Posted by raminia
I've an addon for this
This addon will enables the tag
Code:
<IMAGE_RANDOM>
which is a the ID of a random image of your Pixelpost photoblog. Using this ID you can link to a random images easily.

Usage:
Code:
<a href='$PHP_SELF?showimage=<IMAGE_RANDOM>' > Random photo </a>
The above tag links to your photoblog with a random photo.

Link: http://www.pixelpost.org/index.php?x...amp;details=41

If you want to know how the idea was generated see this thread
http://www.pixelpost.org/forum/viewtopic.php?t=404
Hi raminia,

Because that the download section of pixelpost is down now, would you please kindly post the random_image.php and random_thumb.php code here?

Thanks a lot!!
Reply With Quote
  #7  
Old 06-04-2005, 07:20 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
use
http://www.pixelpost.org/v1/index.ph...amp;details=40
http://www.pixelpost.org/v1/index.ph...amp;details=41

for some days and you'll find everything there.
this is temporary.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #8  
Old 06-06-2005, 10:56 AM
-okapi-'s Avatar
-okapi- Offline
pixelpost guru
 
Join Date: Feb 2005
Location: Vienna, Austria
Posts: 252
random thumbs and categories

is it possible to define random thumbs to be shown out of a specific category?
for example, for the about page i would like to have random thumbs only from category "personal".
what modifications of the addon would be necessary?
__________________
a visual notebook
michael singer photography
http://www.a-visual-notebook.at
Reply With Quote
  #9  
Old 06-14-2005, 09:55 PM
fauxtog's Avatar
fauxtog Offline
pp veteran
 
Join Date: Mar 2005
Location: So. Cal.
Posts: 70
?

Sorry if this amounts to the guy who can't figure out why his computer doesn't work until someone tells him he must turn it on, but...

When I try this addon I get the following error:

The requested URL /$PHP_SELF was not found on this server.

I've put the random_image.php file in my addons folder and it shows up as an installed addon in the admin. Other than deleting the spaces on either side of "random photo" the line of code on my page is exactly correct.

Any thoughts?

http://fauxtoblog.com
Reply With Quote
  #10  
Old 06-15-2005, 02:12 AM
tami Offline
pp veteran
 
Join Date: Jun 2005
Posts: 73
fauxtog: just replace $PHP_SELF with your root php file, which is most probably index.php.
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 09:25 AM.

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