Photopost, thumbnails and wishful thinking. - 09/10/2002 10:48 PM
Ok... What I'd REALLY REALLY REALLY like to do, is be able to include photopost thumbnails in posts in UBBT.
There are various ways I can think of doing this, but as my PHP knowledge is not entirely dissimilar to 'none', I don't know if any of them are possible.
At the moment, the only way I can do it is to put the thumbnail URL in an image tag, and copy and paste the URL to the larger image manually. It's all very time consuming, largely because there's no links to thumbnail pictures anywhere in photopost, so it involves looking at the source code to find the location.
What I'm thinking, is that you could have a 'Photopost' button in the instant UBB code.
When you click it, a javascript box appears, asking you for the larger image. You copy and pase the url for the larger image you want, from the thumbnail on a Photopost page.
The cleverly designed hack then looks at the Photopost database, and grabs the correct location of the thumbnail image.
It then conveniently places the thumbnail image in the post, and links to the larger image url you gave it.
Plausible?
Of course, you could go all out and show a page of all the user's thumbnails like gremlins, and let them choose images to put in, but that'd probably be difficult. Also, I'd still want to be able to put thumbnails in my posts that belonged to other users.
Many many uses for this, but on my site we have events that we go to and take photos of. The photos end up in the gallery, but I really need to make a specific page for each event, with a bit of information about it, and of course the images. This way, I wouldn't have to worry about designing the page, I could just create them all as posts and link to them from wherever I want in the site. As another upshot, people who may not have clicked the 'forum' link would then be inadvertantly taken to it, which may spark enough interest for them to register and look around.
What d'ya reakon?
There are various ways I can think of doing this, but as my PHP knowledge is not entirely dissimilar to 'none', I don't know if any of them are possible.
At the moment, the only way I can do it is to put the thumbnail URL in an image tag, and copy and paste the URL to the larger image manually. It's all very time consuming, largely because there's no links to thumbnail pictures anywhere in photopost, so it involves looking at the source code to find the location.
What I'm thinking, is that you could have a 'Photopost' button in the instant UBB code.
When you click it, a javascript box appears, asking you for the larger image. You copy and pase the url for the larger image you want, from the thumbnail on a Photopost page.
The cleverly designed hack then looks at the Photopost database, and grabs the correct location of the thumbnail image.
It then conveniently places the thumbnail image in the post, and links to the larger image url you gave it.
Plausible?
Of course, you could go all out and show a page of all the user's thumbnails like gremlins, and let them choose images to put in, but that'd probably be difficult. Also, I'd still want to be able to put thumbnails in my posts that belonged to other users.
Many many uses for this, but on my site we have events that we go to and take photos of. The photos end up in the gallery, but I really need to make a specific page for each event, with a bit of information about it, and of course the images. This way, I wouldn't have to worry about designing the page, I could just create them all as posts and link to them from wherever I want in the site. As another upshot, people who may not have clicked the 'forum' link would then be inadvertantly taken to it, which may spark enough interest for them to register and look around.
What d'ya reakon?