@header@
Images |
Since blog entries are just short HTML fragments, the HTML
Uploading Images![]() images underneath the blog.dir directory. While this is quick and easy, it is often not possible if you are frequently behind a firewall that blocks FTP access. For this reason, Pebble provides a mechanism for you to upload images to your blog through your web browser. To do this, after logging in, click the Images link.
To upload an image, choose the file that you would like to upload and click the Upload File button. The Save As field represents tells Pebble what the file should be called when being saved on the server and this defaults to the same name as the local file. When the file has been uploaded, the window will be refreshed confirming that the file has been uploaded.
Using ImagesTo use this image in a blog entry and help ensure that your blog content is unaffected if you choose to move your blog, it's recommended that you access the image using a relative URI as follows.<img src="./images/about-this-mac-panther.jpg" />
Managing ImagesOther links in the images window allow you to copy, rename, delete and view files. Also, directories can be created and the entire contents of the current directory can be exported (downloaded) as a ZIP file.
QuotasAlthough more relevant to team and multi-user blogs, quotas can be enforced to restrict how much disk space each blog has to store images and arbitrary files. By default, the maximum size of file that can be uploaded is 2048KB and quotas are not enabled. To modify these values, open the/WEB-INF/classes/pebble.properties file and edit the blog.uploadFileSize and blog.uploadFileQuota properties. You will need to restart Pebble for these changes to take effect. When quotas are enabled, all of the stored images, files and files in your theme count toward this.
|