[ansel] TODO item completed...!

Heath S. Hendrickson heath at outerspaceconsultants.com
Wed Feb 11 21:55:25 PST 2004


Very odd... the patch files came through fine, but the new files 
didn't.  I'm trying again to see if they make it through to the list 
this time.

heath

Heath S. Hendrickson wrote:

> I finally got a few minutes to code up some changes to Ansel and 
> managed to complete one of the TODO's and modified something else that 
> was bugging me...
>
> The following patches provide the following functionality:
>
> 1) Added a "Custom Watermark" option to the Edit Image page that uses 
> a pop-up to let you define a custom watermark.  The default value is 
> the defined one in the users preferences (if it exists).  What I'm 
> hoping is that this can easily be extended to make changes to the way 
> an image is watermarked (font, size, color, etc.)... but I'll leave 
> that up to someone else for now.
> 2) modified the behaviour of the Set Caption option on the Edit Image 
> page.  It now uses a pop-up that automatically refreshes the main page 
> when the form is submitted...  I wanted this so that the user could 
> see the picture while typing the caption.
>
> I think I followed the coding standards and all that jazz, so it 
> should be a clean commit.
>
> I introduced two new files:
> templates/image/watermark.inc
> templates/image/caption.inc
>
> and changed:
> File: image.php         Status: Locally Modified
> File: edit_image.inc    Status: Locally Modified
> File: preview_image.inc Status: Locally Modified
> File: navbar-image.inc  Status: Locally Modified
>
>
> heath




More information about the ansel mailing list