PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   media image location in database (http://www.photopost.com/forum/photopost-pro-how-do-i/115436-media-image-location-database.html)

vivpuri August 29th, 2005 10:12 PM

media image location in database
 
I wanted to give links to few of the media files i have uploaded in photopost. From the table pp_posts all i can see for a particular media file is that it has the media file name like "whatever.wav". But while uploading, i had also given a image to be used for display purposes. Can someone tell me where in the database is this link of image to the media file referred too.


Thanks
-V

Chuck S September 1st, 2005 06:53 AM

The images are on disk in your data directory

vivpuri September 6th, 2005 01:51 PM

Quote:

Originally Posted by omegatron
The images are on disk in your data directory


Thanks for the info. But i want to generate a URL for the media file, which just like in Photopost, shows a photograph for media file on the frontend. For example, when we try to view a media file in PP, the URL will be usually like:

http://wahustad.com/gallery/showphot...o=1268&cat=585


In this case a photograph will come up, and you can play the media file. Now i am not able to figure out in which table this connection for the photograph to the media file is made, so that the photo comes up for the media file.


-V

Chuck S September 6th, 2005 01:57 PM

There is no photo thats the media file itself.

I dont follow really what your asking. You have two choices for media files. One you allow them to play embedded or you can elect to have a download link. This is switched on or off in showphoto options in the admin side of Photopost

vivpuri September 6th, 2005 02:39 PM

Quote:

Originally Posted by omegatron
There is no photo thats the media file itself.

I dont follow really what your asking. You have two choices for media files. One you allow them to play embedded or you can elect to have a download link. This is switched on or off in showphoto options in the admin side of Photopost

excuse me if i confused you.
When a user goes to view gallery where only media files are located, he sees the default images for the media files. All i need to know is how the default image for the media file is referenced in regards to the media file. Is there some table where the location of the image for the media file is specified. FYI: For me- image is a jpeg image and media file is a .wav type format.

Chuck S September 6th, 2005 02:58 PM

The photos inserts in the photos table has all the information you need. View one of the media entries in phpmyadmin and you should know what you need to do.


All times are GMT -5. The time now is 01:44 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97