هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

Picture grabber, resizer and cropper

الوصف

Picgrab is a plugin that download, resize and crop an image on the fly.
Simply add the “resize” attribute in the img tag you want to grab & resize on your post.

E.g.
<img src=”http://farm4.static.flickr.com/3532/3243887563_700849f242.jpg” resize=”402×200c;66y” />
Once activated, the plugin replaces the attribute “src” on img tags containing the “resize” attribute with something like:

http://yoursite/wp-content/plugins/picgrab/resize.php?url=<coded characters>&size=<coded characters>
and removes the “resize” attribute.

The resize.php script included with plugin does the work to grab, crop and resize the image.
It also manages the cache.
The resize attribute format is:

[(x0,y0,xs,ys)]<xd>x|x<yd>|<xd>x<yd>[c[<crop>]][;<cachetime>]

e.g. 100x, x200, 100×50, 100×200c50, 100×200c

Refer to This post for more informations on resizer syntax.

PicGrab require Php version >=8, gd and curl libraries.

التنصيب

  1. Unzip into your /wp-content/plugins/ directory. If you’re uploading it make sure to upload the top-level folder. Don’t just upload all the php files and put them in /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. make sure picgrab/picscache folder is writable by all ( 777 permission )
  4. That’s it!

المراجعات

لا توجد مراجعات لهذه الإضافة.

المساهمون والمطوّرون

“Picture grabber, resizer and cropper” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

ترجمة ”Picture grabber, resizer and cropper“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.