Thursday, September 22, 2011

Wiki: how to display already uploaded images?

I have built a website for a group and we will be needing images to be displayed in certain pages. At present, uploading images, whilst permitted, is bringing an internal error (';The upload directory (public) is missing and could not be created by the webserver.'; whilst a PHP error is returned: ';Warning: mkdir() [function.mkdir]: Permission denied in {server root info I've deleted for security}/includes/GlobalFunctions.php on line 2012';)



Therefore, I'd like to show a test image that is ALREADY on the server at (for example) http://www.website.co.uk/wiki/images/ima

Using the WIki code [[File:image.jpg|thumb]] doesn't show the image, despite it supposedly being in the default wiki image directory... and changing the wiki code to [[File:http://website.co.uk/wiki/images/image.j



So my question is this: how, exactly, can you use wiki code to display an image with an Absolute URL? (ie not relative to the wiki software)



thanks in advanceWiki: how to display already uploaded images?
Neither one of your links worked. If you can't upload images/files using FTP, contact your hosting support by phone. The public_html folder should have already been installed for your site.



I'm not sure Wiki allows hotlinking to their images as it uses up their bandwidth. That is bandwidth theft.



Displaying images on a web page uses the EXACT path to the image ONLY. Not the page it is on.



%26lt;p%26gt;%26lt;img style=';width: XXpx; height: YYpx; border: 0;'; src=';Path to image'; alt=';Text Description';%26gt;%26lt;/p%26gt;



You can change the ';p'; tags to div tags and style as needed.



I didn't check Wiki's Terms of Use for their images, but if they are allowed to be used, I suggest that you upload the images to your own site.



Ron
  • cream around eyes
  • african american hair
  • No comments:

    Post a Comment