الوصف
Create sliding puzzles for your web page. WP-jqPuzzle will automatically turn your images into a full-blown sliding puzzle.
To use it, just put [jqpuzzle img=http://www.mysite.com/mypicture.jpg] in a post, updating the path for the image, of course.
Other options are available. This WordPress plugin is based on the jqPuzzle script by Ralf Stoltze.
Localizations
- Thanks to me for romanian language file
- Thanks to me for german language file
- Thanks to tolingo.de for spanish language file
Acknowledgements/Credits
- Thanks to Ralf Stoltze for the script and the very useful tips
- Thanks for the help at adding shortcode options to Radu Capan
- Thanks to Frank Bueltge for the useful tips
Licence
This plugin is free for everyone! Since it’s released under the GPL, you can use it free of charge on your personal or commercial blog.
If you enjoy this plugin, you can thank me and leave a small donation for the time I’ve spent writing this plugin.
The donations are not for me, i will give it to Caritas Lipova.
Translations
The plugin comes with various translations, please refer to the WordPress Codex for more information about activating the translation.
If you want to help to translate the plugin to your language, please have a look at the .pot file which contains all defintions and may be used with a gettext editor like Poedit (Windows) or plugin for WordPress Localization.
لقطات الشاشة
التنصيب
Requirements
- WordPress version 2.7 and later (tested at 2.9.1)
Installation
- Download the plugin and unpack the download-package
- Upload
wp-jqpuzzle
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Place [jqpuzzle img=http://www.mysite.com/mypicture.jpg] in your templates, see more options at Usage
Usage
With the right using of shortcodes you have many options:
[jqpuzzle] shows default image with default values
[jqpuzzle img=http://………….] shows your image
[jqpuzzle img=http://…………. cols=3 rows=3] shows your image an your numbers of cols and rows
[jqpuzzle img=http://…………. mix=’Mix!’ image=’Image’ message=’Hey! You are cool, man! You did the puzzle in || clicks, in just || seconds!’] shows your image with settings in your languages, only when localisation not supported
You must know that the two vertical lines || mean the number of clicks or of the seconds.
Here are the default values:
extract(shortcode_atts(array(
‘img’=>’http://www.mysite.com/…/plugins/wp-jqpuzzle/img/default-picture.jpg’,
‘cols’=>4,’rows’=>4,’mix’=>’Mix!’,’image’=>’Image’,’numbers’=>’Numbers’,
‘reallymix’=>’Really mix?’,’moves’=>’moves’,’seconds’=>’seconds’,
‘message’=>’Great! You resolved the puzzle with || moves, in || seconds.’),
$atts));
For a live demo go on this page.
الأسئلة المتكررّة
- What image sizes do you recommend?
-
It depends of your theme. I recommended image sizes between 350 and 600 pixels.
- Does the plugin only support .jpg files?
-
No, you can use .png and .gif images too. Just change the image url to the appropriate extension.
- Why isn’t this or that implemented to improve the plugin interface?
-
If you have any suggestions please let me know via e-mail.
- Where can I get more information?
-
Please visit the plugin page for the latest information. You can visit the jqPuzzle script website too.
- I love this plugin! How can I show the developer how much I appreciate his work?
-
Please visit the plugin page and let me know your care and leave a comment or use the donate form. The donations are not for me, i will give it to Caritas Lipova.
المراجعات
لا توجد مراجعات لهذه الإضافة.
المساهمون والمطوّرون
مُهتم بالتطوير؟
تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.
سجل التغييرات
v1.1 (05.06.2010)
Added Spanish translation
v1.0 (09.12.2009)
- Improved localization
- Added Romanian and German translations
- Simple and multiple options possible
- Added simple support for shortcode
- Integrated jqpuzzle-Script