VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

How to STOP image resize in articles
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: How to STOP image resize in articles

How to STOP image resize in articles 27 Apr 2012 10:22 #171

I have a question.
Every image I add to articles are shown resized to article width.
Is there a way to stop this or set this per image?
Thnx

Re: How to STOP image resize in articles 28 Apr 2012 02:25 #175

.article-content p img {
width: 672px;
}
template.css (line 1009)
.item_lead p img, .contentpaneopen p img {
border: 2px solid #C8C8C8;
clear: both;
display: block;
margin: 0 auto 15px;
padding: 3px;
width: 599px;
}

In templates/jf_texturia/css/template.css file line : line 1009 you can remove 2 line:
width: 672px; and width: 599px;
  • mars

Re: How to STOP image resize in articles 01 May 2012 15:14 #222

I removed those lines and I still am having an issue with image sizes. I have an image in an article that I want a specific size and it's still over 500px in width.

Here is a link to the page so you can see what I mean

joomla.instituteforselfachievement.com/dimo-s-desk

Re: How to STOP image resize in articles 01 May 2012 15:57 #223

Around line 992 in template.css please replace the code there for the following.
Make sure to backup the old template.css

 
/* Component Specific Fixes */
 
#component-contact table td {padding: 2px 0;}
.item_lead p img,.contentpaneopen p img{}
.item_lead p,.contentpaneopen p{padding-left:65px;}
.article_column p img{}
.article_column p{padding-left:15px;}
.jf-date-content{float:left;display:block;background:url(../images/jf_date2.png) no-repeat;width:64px;height:53px;margin-right:8px;color:#fff;font-family:tahoma !important;font-size:40px;text-align:center;padding-top:5px;}
.jf-date-content span{display:block;font-size:11px;font-weight:bold;font-family:tahoma !important;margin-top:-5px;}
.article_column .contentheading{font-size:16px !important;padding-bottom:0px;padding-left:15px;}
.article-content p{padding-left:0px;margin-top:10px;}
.article-content p img{}
 
/* ++++++++++++++ blog ++++++++++++++ */
 
 
The following user(s) said Thank You: SocialDzine
  • Page:
  • 1
Time to create page: 0.66 seconds
Tuesday 23 April 2024

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.