Преди да прочетете това, трябва да ви предупредя, че не съм сексист. Познавам много умни и схватливи жени, които се справят с проблемите не по-зле от мъжете…. Обаче това е адски весело, а и познавам жени, които определено се вписват перфектно в картинката и дори се чудя дали авторът не е имал някоя от тях за вдъхновение ;) .

Нова табела в банков салон гласи:

Нашата банка инсталира нови Drive-ATM машини, които дават възможност на клиентите ни да теглят пари без да слизат от колите си.

Моля, клиентите, които използват новата услуга да спазват процедурите, записани по-долу.

След няколкомесечни сериозни проучвания, са разработени процедури за МЪЖЕ и за ЖЕНИ. Моля, следвайте съответните стъпки според пола си:

Read the rest of this entry »

Comments 2 Comments »

This is a simple PHP class that allows you easy image resizing.
It works with local and remote files.
You can specify the resize ratio. To make the image smaller it should be < 1 and to make it bigger > 1.

  1. $ir = new ImageResizer();
  2. $ir->setFormat(ImageResizer::FORMAT_PNG);
  3. $ir->setSource("./original.jpg");
  4. $ir->resize(0.5);
  5. $ir->setDestination("./avatar.png");
  6. $ir->writeOutput();

Or you can specify what width and height you want and it will calculate the needed ratio keeping the proportions.

  1. $resizer = new ImageResizer();
  2. $resizer->setFormat(ImageResizer::FORMAT_JPEG);
  3. $resizer->setSource("./original.jpg");
  4. $resizer->setWidth(120);
  5. $resizer->setHeight(90);
  6. $resizer->resize();
  7. $resizer->setDestination("./thumbnail.jpg");
  8. $resizer->writeOutput();

The code is totally free. You can use it and modify it as you wish.
There are some documentation and examples in the package.

ImageResizer.zip
ImageResizer.tar.gz

Comments 1 Comment »

Few days ago I’ve installed my first CMS and the chosen one was Joomla!
It’s great program with nice administration panel with many options (some may say too many ;)).
After clicking here and there I realized there wasn’t any form of discussion out of the box and I started looking for some plugin that enables writing comments. At the next day I decided I needed something more powerful… something like phpBB3. It tuned out that there is a nice Joomla1.5 Bridge for phpBB3.0 that enables integration of phpBB3. The main idea is to make the forum to use the Joomla’s users table.
And now the problem: there were many people (and me too) that install the bridge and it’s not working.

Hello, thanks for the great bridge! I have one question however, everything is installed correctly and new users to Joomla are added to phpbb. But users are not logged in to phpbb when they log in through Joomla.

If the users logs into both Joomla and phpbb separately and then logs out through Joomla - they will be logged out of phpbb.

What do I need to do to get the logins to sync?

Now I think I’ve found the problem. Read the rest of this entry »

Comments No Comments »

Без думи…

Comments No Comments »

Ето каква страхотна карикатура видях в on-line изданието на Новинар. 24ти май е далече, но не това е поводът да пиша за нея. Работата е там, че напоследък прекалено много (иначе грамотни) хора ми пишат използвайки прекалено малко кирилица.

Не е хубава тая работа.

(В този блог е задължителна!!!)

Comments No Comments »