PDA

View Full Version : Image Location to jpg


bij
05-23-2007, 03:26 AM
Is there anyway for the users of my vbpicgallery to get the path of a image and a image's filename. At the moment the path is to vbpgimage.php

I want users to be able to post images from the gallery in threads using the [IMG] tags

also I don't really want to turn on dynamic urls for images

Greg
05-23-2007, 10:47 AM
Then you have to store the images in the file system in a public folder and the file name linked to will not be the same as the file name of the original photo.

bij
07-10-2007, 09:18 AM
Ok, so I've set it up to use files names, but I haven't been able to figure out how to get the path to the image (by the method I've explained below).

At the moment when you right click on a image and select properties and look at the Location/URL it says
http://forums.example.com/vbpgimage.php?do=full&p=21&d=1184071665

What I'd like it to say is
http://forums.example.com/gallery/2/i21.jpg

Is this possible?

Greg
07-10-2007, 10:53 AM
That would require you to custom code something. The Gallery was designed to be secure. Making the images public and using static paths was not intended.

It can be done, but it's not a "feature".