Алмас

Агуулганы зургийг ямар ч хэмжээтэйгээр оруулаад хэмжээг зааж өгч тохируулсан байсан яг тохируулсан хэмжээгээр болгож харуулдаг жижиг Joomla-ын нэмэлт (plugin) олж өөрийнхөөрөө засварлан сайжруулснаа зарим хүмүүст хэрэг болох болов уу гээд энд тавьлаа. Хэт том зурагнууд хийгээд вебийн нийт урсгал их гараад төлбөр чинь ихсээд байвал  энэ аргаар хийхэд нэлээд нэмэр болох байх шүү. Бас илүү хурдан сайт чинь дуудагдана. Алдаатай зүйл байвал хэлээрэй. Нэмэлтээ татаж аваад суулгаад идэвхжүүлэхэд л болно. Элдэв тохиргоо хэрэггүй.

  • Хувилбар 1.5.1 (2011.10.30) - png файлыг jpg болгож илүү bandwidth хэмнэхээр болгож өөрчиллөө. Харин нэвт харагддаг png оруулах бол доорх классыг зургийнхаа img таг дотор бичиж өгөх хэрэгтэй.
    'class="transparent"'

[Татах]

https://github.com/almas/Content---Auto-Image-Resizer хаягаар орж хамт хөгжүүлэхийг урьж байна. баяртай байна

This plugin is completely transparent to the user. (That's the beauty of it.) Simply upload the image using Joomla!'s normal image upload function. Then grab the image and drag it to resize, or use the dialog box to specify a width for the image. When an article is accessed, the image resize plugin will find all the images in the article and resize them per the defined "width" attribute, caching the resized version. If there is no width attribute it will leave the image at its normal size. It only does this resizing the first time the image is accessed at any given width; after that it pulls the image from the already cached version. Then the plugin replaces the src attribute on the image tag with the URL for the resized version. Thus the user never sees the plugin, and the URLs still point straight to images instead of passing a size as a parameter, which could be a security flaw. So whenever you access the article from the front-end, any image will be scaled to exactly the size specified in the width attribute. When you access the article in the editor it still pulls the original image, not the resized version, so you can easily change the image's size.

[Download]

  • 8227
  • 7
  • 3

Сэтгэгдэл бичих
Сэтгэгдэл:

Medeej Wordpress plugin ene ter bolgood nemeed uurchluud hugjuuleh bolomj buh hvnd neelttei.
Алмас хэзээ бичсэн: 2013-03-27 10:27 | |
Tsaash ni hugjuulheer boltson umuu
Hehe ирмэх
Saku (зочин) хэзээ бичсэн: 2011-12-07 12:42 | |
Уг нь миний туршсан дээр хэвийн л ажиллаж байсан даа. Өөрийн чинь өөр нэмэлттэй зөрчилдөж байгаа юм болов уу? Joomla 1.5 дээр лав туршиж үзсэн...

Устгаад үз дээ. Засагдаж байна уу?
Алмас хэзээ бичсэн: 2011-11-11 00:05 | |
Boldoggui ee...
Ene aldaatai yum bishuu? Eniig suulgasan chini calendar.setup error geed bur medee ene ter nemej bolohoo bolichihlooo улайх
Fix (зочин) хэзээ бичсэн: 2011-11-10 00:18 | |
1.5.1 шинэ хувилбар хийж орууллаа.
Алмас хэзээ бичсэн: 2011-10-30 13:18 | |
За яг суулгаснаараа устгаад арилахгүй бол сайн мэдэхгүй юм байна аа. Нэтээр хайсан нь дээр байх...
Алмас хэзээ бичсэн: 2011-06-14 23:48 | |
synaptic package manager-s kubuntu-desktop suulgsn yum butsaagaad login session-s ni yaaj ustgadin be?
Almas (зочин) хэзээ бичсэн: 2011-06-10 03:16 | |



:-)