1. I want to giver users of my PH site the option of uploading images, so I install PhotoShare.
2. The uploaded images will be used in news postings and in new entries in the Sections module through the HTML image tag.
3. I chose to store images in a directory - not in the database.
Problems:
1. Image name in the directory does not match the image name given at upload time.
2. Firthermore, the image name in the directory does not have file type.
Perhaps I just don't use the PN modules as intended. I just don't see any other way when I want to to include images in the new and in the sections module through the HTML image tag
Posted: 18.06.2003, 18:08
rank:
12
registered:
March 2009
Status:
offline
last visit:
Posts:
0
In order to link to Photoshare images you must go through PostNukes "index.php" and thereby ensure the access control is enforced. Do NOT allow users direct web access to your image directory.
The link should be: http://.../index.php?module=photoshare&func=viewimage&iid=XXX
Where XXX is the image ID. The easiest way to get this URL is to right-click on an image from Photoshare and then copy the URL from the properties.