Wiki - file upload feature - Printable Version +- Discovery Gaming Community (https://discoverygc.com/forums) +-- Forum: Rules & Requests (https://discoverygc.com/forums/forumdisplay.php?fid=6) +--- Forum: Site & Forum Feedback (https://discoverygc.com/forums/forumdisplay.php?fid=14) +--- Thread: Wiki - file upload feature (/showthread.php?tid=11000) Pages:
1
2
|
Wiki - file upload feature - Linkus - 08-11-2008 Just limit the file size. It can be whatever format the people want but it has to be smaller than the file size limit. Wiki - file upload feature - Igiss - 08-13-2008 I didn't find any settings to limit the total upload size. That's why I disabled it completely. Is there a way to enforce the size to be around 5 megs, or 10? Is there a way to easily delete images from pages (not just code, but images from host)? If yes, then I might try. Wiki - file upload feature - Blodo - 08-13-2008 To set allowed filetypes and filesize, add this code to LocalSettings.php. Modify at will. Code: $wgEnableUploads = true; To review all new files added, use this: http://discoveryfl.com/wiki/index.php/Special:Newimages. Then it just takes a click on the image and a click on "delete" I believe. Wiki - file upload feature - Igiss - 08-13-2008 Ok, done that... guess that you can try, although I don't see how it controls the maximum total size of all uploads. Also, do you need PNG really? Those files are larger than other types. Wiki - file upload feature - Blodo - 08-13-2008 Well, that depends really. You see, PNG files are good for vector graphics. The file is significantly smaller than JPGs when it comes to vectors, so yes I believe it should be left in. Each of these file formats is specifically good for one thing or another. Also, perhaps add SVG (scalable vector graphics) to that too, since it works out really good with resizing among other things. File uploading works well btw, here's how it looks inline: http://discoveryfl.com/wiki/index.php/Odin Wiki - file upload feature - chovynz - 08-13-2008 I'm willing to 'police' our wiki image sizes and formats. I've had extensive experience with Photoshop, and have worked as a web and print designer at a Graphic Deisgn Studio. Seriously, all 800x600 pics or thereabouts (which i would imagine is sufficient for any large pic we want,) can be about 500k-1mb depending on the individual pic. If I spot any larger than reasonable I can pull them down, and reformat them to be a more suitable filesize or format. Blodo's thing will work fine, and I'm just adding my two cents. |