PHP thumbnail generation \ Proportional image resize

Discussion in 'PHP' started by InetEssence, 9 Sep 2009.

  1. InetEssence

    InetEssence New Member

    Joined:
    26 Aug 2009
    Messages:
    10
    Likes Received:
    0
    Reputations:
    0
    Здравствуйте, уважаемые.

    Посоветуйте нам пожалуйста хороший класс или алгоритм для генерации тумбняшек. В гугле и на phpclasses лежат в неисчислимых количествах, но пожалуйста посоветуйте проверенное и понравившееся лично вам решение.

    Тумбняшки должны генерироваться с изображений основных форматов. При этом оставаться в заданных пределах(150 на 150, например), но быть пропорциональными исходному изображению.

    Спасибо.
     
  2. astrologer

    astrologer Elder - Старейшина

    Joined:
    30 Aug 2007
    Messages:
    837
    Likes Received:
    267
    Reputations:
    59
    вот;

    P.S. Имеет смысл его на две части поделить - загрузка отдельно, обработка изображений отдельно.
     
  3. Sharky

    Sharky Elder - Старейшина

    Joined:
    1 May 2006
    Messages:
    487
    Likes Received:
    312
    Reputations:
    46
    Причём тут понравился, не понравился? Бери любой удовлетворяющий твоим условиям и используй. А вобще не понимаю зачем тут класс брать...руками пишется за 15 мин
     
  4. InetEssence

    InetEssence New Member

    Joined:
    26 Aug 2009
    Messages:
    10
    Likes Received:
    0
    Reputations:
    0
    Sharky, спасибо. За 15 минут мы не можем этого написать. У вас в подписи опечатка.

    Астролоджер, спасибо.
     
  5. Sharky

    Sharky Elder - Старейшина

    Joined:
    1 May 2006
    Messages:
    487
    Likes Received:
    312
    Reputations:
    46
    Почему не можете? Мне недавно надо было массово создать превьюшки к 2000 изображений ... php + gd + 30 минут для написания (до этого 2 дня искал конвертер чтоб подходил по моим параметрам..так и не нашёл)
     
  6. imajo.ati

    imajo.ati Banned

    Joined:
    21 Feb 2008
    Messages:
    232
    Likes Received:
    62
    Reputations:
    8
    /thread84527.html
     
  7. InetEssence

    InetEssence New Member

    Joined:
    26 Aug 2009
    Messages:
    10
    Likes Received:
    0
    Reputations:
    0
    Мы тоже считаем, что это займёт от 30 минут и больше.

    imajo.ati, спасибо. Функции, которые там приведены выглядят весьма сыроватыми. Попробуем найти что-нибудь получше.
     
    #7 InetEssence, 9 Sep 2009
    Last edited: 9 Sep 2009
  8. Sharky

    Sharky Elder - Старейшина

    Joined:
    1 May 2006
    Messages:
    487
    Likes Received:
    312
    Reputations:
    46
    тема создана " Сегодня, 08:44" ... может хватит лениться?)
     
  9. Gray_Wolf

    Gray_Wolf Active Member

    Joined:
    7 Mar 2009
    Messages:
    377
    Likes Received:
    135
    Reputations:
    10
    А экшен фотошопосвский не проще было заюзать?
     
  10. InetEssence

    InetEssence New Member

    Joined:
    26 Aug 2009
    Messages:
    10
    Likes Received:
    0
    Reputations:
    0
    Это по форумнуму времени. Но вообще, конечно хватит.
     
  11. Sharky

    Sharky Elder - Старейшина

    Joined:
    1 May 2006
    Messages:
    487
    Likes Received:
    312
    Reputations:
    46
    нет) мне было проще на пыхе написать именно то что я хочу)
     
  12. mada007

    mada007 Banned

    Joined:
    8 Sep 2009
    Messages:
    2
    Likes Received:
    0
    Reputations:
    0
    Why buy Ugg Boots (reasons)

    www.uggsbootsoutlet.com Ugg Boots are the only boots which are not popular in the world but in the whole world. They are highly demanded due to its long size which keeps your feet warm in the cold weather and keep feet cold in the hot weather. These Ugg long Boots are more comfortable and stylish Boots which are ever made. We can find many reasons to buy them and someone are as follow.
    Ugg Bootsare more stylish, comfortable and powerful shoes which are very attractive.
    These shoes are highly liked and available in different designs and color which are very cool and attractive.
    You cannot find any other Boots which keep your feet warm in cold weather and keep your feet cold in hot weather.
    Another reason is that these Boots are more durable than any other Boots.
    These Ugg Boot are also liked by the celebrities and you will see that more of them would like to wear the Ugg Boots.
    These Ugg Boots are made of with the real skin of the sheep and have a lot of designs which make it different from other shoes.
    These shoes have magical effect on your feet. If you wear it once then you do not want to take them off because they are more comfortable.
    These shoes are more stylish then other shoes. You can wear them on the mall, streets and also on the beach.
    These shoes are originally made in Australia and known as culture of Australia.
    These Ugg Boots are also available in different designs and colors like Ugg Long and Ugg Short.
    So, from above all 10 arguments we can easily conclude that the Ugg Boots are most durable and powerful Boots which are very helpful for you and your feet.