Welcome to phpPaginator, a PHP script that will help you insert images into your article/blog/story. The images are taken from one or more Picasa albums (possibly other sources or methods in the future).
phpPaginator was specifically designed to let you insert images without the need to take your hands off the keyboard or upload anything that isn't already on the web. If you have lots of Picasa albums and you don't want to upload each image again each time you want to insert a picture in your blog or article, this tool may be for you. If on the other hand you prefer using your mouse to drag and drop images into your article you should probably look elsewhere.
Picasa already offers an "embed" functionality that can be found next to each photo while you browse through them. It lets you choose the size of the embedded image and whether you want to include a link to the same image in the album it belongs to. I didn't want to use this feature (if someone clicks on it he might then as well keep looking at that album instead of reading my story) and at the same time I did not want to repeat the tedious step of copy and paste for each image. What phpPaginator does is basically automate that task. It also offers some additional "feature" such as automatic numbering of image throughout the text, so that you can refer to an image with e.g. [4] and the same [4] will appear next to the image at the end of the current paragraph.
phpPaginator will scan your text and insert images whenever it finds a pattern like the following:
[!1.32:here is a caption which will appear underneath the image]
Images will be inserted at the end of the current paragraph, that is after the </p> tag is found. You can have phpPaginator to automatically insert <p></p> tags by setting the option addpars=1 (see below). Other options can be set in the initial part of your text, and have to be contained within the tags <!--paginator ... --> in order for phpPaginator to read them.
What you input will then look like the following:
(copy and paste this below to preview the result)
Here you input your "source text" containing your story/article and the "code" to insert images. After clicking the processing button you will have the HTML in the box below, as well as a preview of how the page/article will look like.
What to do:
You can copy this and paste it into your blog/article (make sure you do so in HTML mode).
(Scroll down for a preview)
Have a comment? Please leave it here.