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 > General Forums > General Discussion

General Discussion General use discussion forum for PhotoPost products.

Reply
 
Thread Tools Rate Thread Display Modes
Old November 5th, 2002, 02:30 AM   #1
Matthijs
Registered User
 
Join Date: May 2002
Posts: 33
Question Link to a specific / random photo ?

Hi, I have a question:

if photopost is in use, is it possible to display a specific and/or random photo - with description - on e.g. the homepage of a site ?

is it possible to link to a specific photo e.g. to a specific news item ?

thanks for any help,
matthijs
Matthijs is offline   Reply With Quote
Old November 5th, 2002, 08:06 AM   #2
JeremyV
Member
Verified Customer
 
Join Date: Jul 2002
Location: Michigan
Posts: 321
Send a message via AIM to JeremyV
Yes, with a little php code that can be done. Check out my site:

www.michiganjeepers.com

I have it pull a random thumbnail and display it. Then its clickable to take you to the photopost page. this hack was done by someone here, and I'm sure it could be done for any system you are running.
JeremyV is offline   Reply With Quote
Old November 5th, 2002, 06:38 PM   #3
Steve_UK
Member
Verified Customer
 
Join Date: Jul 2002
Location: London
Posts: 273
I'd also like to post a random Photopost image on the front of my Web site. Do you have the code available to copy into this thread by any chance?

I'd also like to be able to put say the latest 3 pictures into the standard html page that is the front of the site etc too, but haven't found out how to do so yet. I assume the upload PHP instructions could make it write a given number of the latest pictures to a file, and this could then be displayed in an iframe on the front of the Web site - anyone have any code like that I wonder..

I did look at your site to see the random picture on the front page etc, but there didn't seem to be one.

Steve
Steve_UK is offline   Reply With Quote
Old November 6th, 2002, 11:25 AM   #4
JeremyV
Member
Verified Customer
 
Join Date: Jul 2002
Location: Michigan
Posts: 321
Send a message via AIM to JeremyV
Oops, I think I turned the random picture thing off on accident. haha thanks for pointing it out, I need to fix that.

But basically, doing things with photopost is very simple if you have any php/mysql knowledge. Basically, in the photopost database you have all of the data which point to pictures in the data directory. So, all you need to do is have some code to execute a MySQL query to collect the data you want (such as 3 most recent photos) and then use the php code to display the output in HTML.

That's what is great about photopost, is the way its setup and with the database it is easy to write code to get almost any kind of result you could want. The key is knowing how to code a little or knowing someone who does
JeremyV is offline   Reply With Quote
Old November 6th, 2002, 01:17 PM   #5
Steve_UK
Member
Verified Customer
 
Join Date: Jul 2002
Location: London
Posts: 273
Msula,

....or asking someone who is already doing it and who is a Moderator on the Software Company BBS if they will put up the code for one and all to use...

Thousands of us all doing the same work would be pointless, hence why most of us are here, to share tips and code and ideas etc.

Steve
Steve_UK is offline   Reply With Quote
Old November 6th, 2002, 03:16 PM   #6
JeremyV
Member
Verified Customer
 
Join Date: Jul 2002
Location: Michigan
Posts: 321
Send a message via AIM to JeremyV
The code is listed in the hacks section of this forum. But you can only see that if you have purchased the software and have logged in. You may be able to see some similar photopost type integrations at www.threadsdev.com as there are a few topics dealing with how to do some things with it as well.
JeremyV is offline   Reply With Quote
Old November 6th, 2002, 04:34 PM   #7
Steve_UK
Member
Verified Customer
 
Join Date: Jul 2002
Location: London
Posts: 273
Msula,

Yes, I'm current and registered and have seen the old rambling discussions etc.

I was just after a nice clean current file that is known to work with the current Photopost and produces a random image or the latest images for use on a normal Web page.

I assumed someone would be running one and would be happy to share it here... I'm really surprised that seems not to be so at present and that nobody seems to be doing it, most Photopost sites could gain from such a util being widely available you'd think.

I can probably chop bits out of one of the PHP files of the program itself and make it run and just save what I need to a file, but it seems such a waste of time if others here have it working and could just make the code available.

Steve
Steve_UK is offline   Reply With Quote
Old November 6th, 2002, 10:52 PM   #8
ScottW
PhotoPost CEO
 
Join Date: Apr 2003
Posts: 4,759
As msula said:
http://www.photopost.com/members/for...pn1/index.html

Look for the "thumbincluder11.txt" file.
ScottW is offline   Reply With Quote
Old November 7th, 2002, 03:13 AM   #9
Steve_UK
Member
Verified Customer
 
Join Date: Jul 2002
Location: London
Posts: 273
Scott,

Thanks for the link.

I have seen that large thread in the past, to me it reads as 3 pages of people trying to get versions that work for them and heaps of people commenting they can't get it to work as they want and uploading tweaked versions etc etc - a lot of the final messages read that some people are giving up perhaps. Also the talk of it being done to work with the code of the time and of the need to backup your database and so on and so forth doesn't fill me with confidence that any one piece of code in there is going to just work.

I did look at some of the sites that say they got it to work just now when I saw your link, none I looked at has it running now it seems so I presume they all had problems with it.

Putting something into my system that seems like it might not work and that might even do harm is not really what I'm looking for.

I was trying to find someone running something with the current version of Photopost that works, and where they would be willing to simply share the code they are using - then it is a safe bet for me to alter a few paths and run it.

I guess nobody here is actually doing it from the replies so far, even those who think they are seem to not have it working etc as you've seen .

I think the ability to promote the Photopost area on normal Web pages/front pages of sites by showing latest pictures or random pictures or most downloaded pictures is such a useful one for both customers and for the promotion of Photopost itself that this might warrant an official util or even its inclusion in the main program - 'generate external page for : latest, most downloaded, random' - that generates a new page or pages each time there is an upload or similar perhaps.

Picking up the html page generated would be simple with an iframe.

Anyway.. if nobody has anything that they want to share running at this moment with the current Photopost then I guess I should probably forget that idea until something fresh pops up here. Thanks for replying anyway.

Steve
Steve_UK is offline   Reply With Quote
Old November 8th, 2002, 04:14 PM   #10
Swanny
Member
Verified Customer
 
Join Date: Jun 2002
Location: Here
Posts: 385
Steve, I use thumbincluder11.txt. I have no problems with it. It does not make any changes to the database. The recommendation to backup your database is just that. It is always a good idea to make a regular backup of your db and special backups whenever you make changes or upgrade.

See here - http://www.fordf150.net/
__________________
My PhotoPost Installations are at:
FordF150.net - Ford Truck Enthusiast Site
FordFlex.net - Ford Flex Enthusiast Site
FordTaurus.net - Ford Taurus Enthusiast Site
FordFusion.net - Ford Fusion Enthusiast Site
Swanny is offline   Reply With Quote
Old November 8th, 2002, 06:09 PM   #11
Steve_UK
Member
Verified Customer
 
Join Date: Jul 2002
Location: London
Posts: 273
Swanny,

Many thanks, it seems to be working well on your 3.1.1 site which increases my confidence in it no end.

Nice site too..!

All the best from London,

Steve
Steve_UK is offline   Reply With Quote
Old June 24th, 2004, 04:19 PM   #12
Davefm
Junior Member
Verified Customer
 
Join Date: Jun 2004
Posts: 13
I have search and search this message base tring to find a simple way to include a random picture from a subcat in my pictures area. There must be some simeple code to include on a *.shtml file. I have found the following but no where can I find the file random.php ....

Code:
Content visible to verified customers only.
Davefm is offline   Reply With Quote
Old June 28th, 2004, 06:28 PM   #13
stmpspaz
Member
Verified Customer
 
Join Date: Jun 2003
Posts: 144
thumbincluder11.txt file?

I have visited the forum and read the posts to get the thumbincluder11.txt file to put random images on my home page. My problem, I don't see anywhere to "download" this file to look at and use! I am not very familiar with these types of boards, so I may be missing it somewhere, but if someone could point me in the direction to download this file and instructions I would appreciate it. I am a registered user

Patti Scanlan
stmpspaz is offline   Reply With Quote
Old September 24th, 2005, 09:33 PM   #14
Carolem
Member
Verified Customer
 
Join Date: Jul 2003
Posts: 193
How to how most recent picture on an html page?

Using the current version of photopost (v5.14) is there an easy way to have your most recent picture show on the home index page of one's website if the home page is just a simple HTML page?

Resurrecting this thread,
Carolem
Carolem 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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Random pics from a specific category dkmulford General Discussion 9 June 7th, 2005 08:51 PM
Display random photo firstrebel General Discussion 1 June 2nd, 2005 03:32 PM


All times are GMT -5. The time now is 11:12 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.