Dynamic image resize with php

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Dynamic image resize with php

    Hello,

    I'd like to insert a resized image in a html page.

    I know that using the html IMG tag it is possible to set the height
    and width attributes, with no need of php (or server-side processing).

    But my problem is the following:
    I need to use the resized image as a table background - and
    unfortunately html doesn't support the resize function for images used
    as background !

    Is it possible to resize an image dinamically (on the fly) by using
    php ?
    Is it possible without having GD libraries installed ?


    Thanks in advance for your help.
    Giovanni.
    Giovanni Guest

  2. Similar Questions and Discussions

    1. Resize Bitmap image in image control in flex3
      I am loading an image in image control initially. Then I am applying color transform to that image and want to load that bitmap image in flex3. That...
    2. Resize image on the fly
      Does anybody know any custom tag or snippet that can resize image on the fly based on the user's selection, ie thumbnail 300x400 600x800 ...
    3. Movie clip resize with dynamic text box?
      I have a project in which I have a text box, with content that will change as the movie plays. Behind the text box is an orange box movie clip, with...
    4. Resize uploaded image
      I want to resize the images that the user may upload on our server. What I want is to resize the width and the height. How to do so ?
    5. Image>Resize shortcut
      Hello everyone, I use Image>Resize often. Is there a way to create a custom keyboard shortcut for that command, like in MS Word? Thank you. Eric
  3. #2

    Default Re: Dynamic image resize with php

    Hi

    I highly recommend using ImageMagick. Much better image quality.

    Kåre Høvik

    Giovanni wrote:
    > Hello,
    >
    > I'd like to insert a resized image in a html page.
    >
    > I know that using the html IMG tag it is possible to set the height
    > and width attributes, with no need of php (or server-side processing).
    >
    > But my problem is the following:
    > I need to use the resized image as a table background - and
    > unfortunately html doesn't support the resize function for images used
    > as background !
    >
    > Is it possible to resize an image dinamically (on the fly) by using
    > php ?
    > Is it possible without having GD libraries installed ?
    >
    >
    > Thanks in advance for your help.
    > Giovanni.
    Kåre Køhler Høvik Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139