This plugin is for Tinymce on the client side, and Django for server side. Search photos on Flickr, click on the wanted photo to insert it on tinyMce.
- Django 1
- TinyMCE (2.1.1 or +)
- flickrapi > http://stuvel.eu/projects/flickrapi
- jQuery (for ajaxSearch)
Get all the requirements Don't forget to get a Flickr API key Copy "django_flickr" folder into your apps folder Edit your settings.py add 'django_flickr' into your INSTALLED_APPS and add a setting FLICKR_API_KEY = 'xxxxxxxxxxxx' (whith your api key) Copy 'flickr' folder into your tinyMCE plugins folder Add flickr to your tinyMce plugins Add (r'^filckr_search/', include('django_flickr.urls')), to your urls.py
Tip : Select a word on your tinymce editor, then click on the flickr icon. The search will start on the selected word(s).
JS optimisation i18n Choice of different sizes of Photo
The flickr search has a queryset on Creative Common photos only, so you are free to use them, but (generally) you should not modify them, if you don't know what you're doing and if you don't know which type of licence is under the photo. The photo contains meta tags with the photo title and is linked to the author page.
These details are provided for information only. No information here is legal advice and should not be used as such.