File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
user_guide_src/source/libraries Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,9 @@ For example, to create an image thumbnail you'll do this:
55
55
.. literalinclude :: images/003.php
56
56
57
57
The above code tells the library to look for an image
58
- called *mypic.jpg * located in the source_image folder, then create a
59
- new image from it that is 100 x 100pixels using the GD2 image_library ,
60
- and save it to a new file (the thumb) . Since it is using the ``fit() `` method,
58
+ called ** mypic.jpg ** located in the ** /path/to/image ** folder, then create a
59
+ new image from it that is 100 x 100 pixels ,
60
+ and save it to a new file ** mypic_thumb.jpg ** . Since it is using the ``fit() `` method,
61
61
it will attempt to find the best portion of the image to crop based on the
62
62
desired aspect ratio, and then crop and resize the result.
63
63
You can’t perform that action at this time.
0 commit comments