HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 8th, 2013, 05:18 AM
Somendra Somendra is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Location: Noida, India
Posts: 41 Somendra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 18 m 29 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 1
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.

Reply With Quote
  #2  
Old January 8th, 2013, 02:16 PM
portcitysoftwar portcitysoftwar is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2012
Posts: 163 portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level)portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level)portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level)portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level)portcitysoftwar User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 13 h 18 m 54 sec
Reputation Power: 17
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

Quote:
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.

Reply With Quote
  #3  
Old January 9th, 2013, 01:02 AM
nancy29 nancy29 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Location: London
Posts: 7 nancy29 New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: 1 h 4 m 40 sec
Reputation 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

Reply With Quote
  #4  
Old January 10th, 2013, 04:01 AM
Somendra Somendra is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Location: Noida, India
Posts: 41 Somendra User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 18 m 29 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 1
Thanks.

Reply With Quote
  #5  
Old January 11th, 2013, 05:30 AM
akon112 akon112 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2013
Posts: 3 akon112 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 31 sec
Reputation 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..

Reply With Quote
  #6  
Old May 6th, 2013, 01:45 AM
shellygill shellygill is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2013
Location: Ludhiana
Posts: 33 shellygill User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 47 m 53 sec
Warnings Level: 15
Number of bans: 1
Reputation 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

Reply With Quote
  #7  
Old May 6th, 2013, 05:17 AM
bedspreads bedspreads is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2013
Location: india
Posts: 1 bedspreads User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 m 4 sec
Reputation Power: 0
Take the pic in a div..If you using css..Z-index position of images also benificial for you.

Reply With Quote
  #8  
Old May 6th, 2013, 07:13 AM
david_warner david_warner is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2013
Location: Chennai
Posts: 7 david_warner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 23 m 4 sec
Warnings Level: 10
Number of bans: 1
Reputation 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}

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Problem in image positioning

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap