blob: 916cfa4eec2f8077ffeb7dbc2a4eec98420184f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
Extending Tidypics
-----------------------------------
*** DISPLAYING THE LATEST PHOTOS ***
In tidypics/lib/tidypics.php, there is a function tp_get_latest_photos().
It can be used to display the site-wide latest photos or an individual
user's latest photos. The documentation explains how you could use that
function to display the latest photos on your front page if you are using
the custom front page tutorial plugin from Curverider.
*** MAKING TIDYPICS MATCH YOUR THEME ***
Please check the css guide found in this directory. This will list the
different css elements and where they are used.
*** TIDYPICS EVENTS ***
1. album created: 'add', 'tp_album'
2. album updated: 'update', 'tp_album'
3. album deleted: 'delete', 'tp_album'
4. photos uploaded: 'upload', 'tp_album'
5. photo edited: 'update', 'tp_image'
6. photo deleted: 'delete', 'tp_image'
*** TIDYPICS PLUGIN HOOKS ***
1. album slideshow: 'tp_slideshow', 'album' - return false to not have a slideshow, otherwise return link to slideshow
2. watermark - return false to prevent default watermark
'tp_watermark', 'gd'
'tp_watermark', 'imagick'
'tp_watermark', 'imagemagick'
*** IMAGE MENU EXTENSIONS ***
Below an image is a div called tidypics_controls. By default it contains controls
like tagging or downloading an image. You can change what is shown there by overridding
or extending the tidypics/image_menu view.
|