PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 9th, 2009, 01:09 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2009
Posts: 10
Question Newest image(s) on website

Hi,
I searched a little on the forum to find an answer, but failed so far.

I am looking for a way to access the latest images from my photopost gallery USA Views - Main Index to include the thumbnails as preview (and link) to the gallery on the frontpage of my php homepage. So the result should be a simple picture (thumbnail).

Greetings
Stefan
Draycon is offline   Reply With Quote
Old November 9th, 2009, 01:37 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
http://www.photopost.com/forum/photo...-anywhere.html

Maybe something like this.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 10th, 2009, 01:19 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2009
Posts: 10
Thanks Chuck, that nearly solved my problem All I have to know is how to change the line

$result = mysql_query("SELECT id,cat,bigimage FROM pp_photos order by rand() LIMIT 3" ) or die(mysql_error());

to output the newest 3 images instead of random ones. However, it works so far.
Draycon is offline   Reply With Quote
Old November 10th, 2009, 06:24 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
order by rand()

Maybe

ORDER BY date DESC;
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 11th, 2009, 11:55 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2009
Posts: 10
Thats it, thanks alot
Draycon is offline   Reply With Quote
Old November 11th, 2009, 12:20 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,788
glad to assist have a good one
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
New to website kengonzaga Before You Buy 1 February 9th, 2009 09:38 PM
Show newest image from a specified category HappyPike How Do I? - vBulletin 3.5.X 4 September 20th, 2006 05:07 PM
Website Hosting.. Crow General Discussion 2 September 30th, 2005 11:28 PM
"Newest Image" problem blkatt Installs and Upgrade - vBulletin 3.0.X 2 July 20th, 2005 09:48 AM
Newest and random image question weirdpixels How Do I? - vBulletin 3.0.X 2 March 15th, 2005 07:39 PM


All times are GMT -5. The time now is 06:44 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0