#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Location
    Noida, India
    Posts
    42
    Rep Power
    2

    Problem in image positioning


    Can anybody tell me how can I fit my image in the box without elongated or deformed? My image is square shaped and the box on a template has rectangular arguments.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    165
    Rep Power
    18
    Well last i remember from grade school the square doesnt go into the rectangular space. if you want it to match without difformity you will need to either edit the template and make the space a square or crop the image and make the image a rectangle

    Originally Posted by Somendra
    Can anybody tell me how can I fit my image in the box without elongated or deformed? My image is square shaped and the box on a template has rectangular arguments.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Location
    London
    Posts
    7
    Rep Power
    0
    try using a png image which can have rounded shape despite being a rectangle it would fix in the box and the extra image will be transparent
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Location
    Noida, India
    Posts
    42
    Rep Power
    2
    Thanks.
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    3
    Rep Power
    0
    use png image for this div.. the image fix in that rectangular box and other will be transparent.. or i suggest you to crop your image in that rectangular size.. hope so my suggestion will help you..
  10. #6
  11. No Profile Picture
    Permanently Banned
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Location
    Ludhiana
    Posts
    33
    Rep Power
    0
    Well trying to adjust the image properties isn't an option. If you resize the image, it will most definitely be distorted. You may either try to crop the image to transform it into a rectangular object. OR you may add a background on your image, according to the size of the image on the template
  12. #7
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Location
    india
    Posts
    1
    Rep Power
    0
    Take the pic in a div..If you using css..Z-index position of images also benificial for you.
  14. #8
  15. No Profile Picture
    Permanently Banned
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Location
    Chennai
    Posts
    6
    Rep Power
    0

    Problem in image positioning


    Hi everyone,
    I'm trying to make an image appear on top, but only works if I have some text, otherwise, the image appears at the center (vertical alignment). If I only put the image, I can make it appear on top, but if I add some text (leaving no space for the image in that page), the image appears on the next page, but at the center.

    Please you set this format of the coding. It has easy to get the report.

    \documentclass[lettersize,oneside,11pt]{book}
    \usepackage{graphicx}
    \usepackage{blindtext} % for dummy text

    \begin{document}

    \blindtext
    \blindtext
    \blindtext

    \begin{figure} [htbp]
    \includegraphics[width=0.8\columnwidth]{figure xx}
    \caption{figure xx}
    \label{fig:figure xx}
    \end{figure}

    \end{document}

IMN logo majestic logo threadwatch logo seochat tools logo