The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

I need a CSS code to resize images.

View previous topic View next topic Go down

Solved I need a CSS code to resize images.

Post by David2011 on January 10th 2011, 5:25 pm

I need a CSS code to resize images.


I tried from the options panel and it did not work!


Last edited by iorio on January 10th 2011, 7:49 pm; edited 1 time in total

David2011
Forumember

Male Posts : 127
Reputation : 0
Language : Español - English
Location : Argentina

Back to top Go down

Solved Re: I need a CSS code to resize images.

Post by panterua on January 10th 2011, 5:34 pm

in post? try with this:
.postbody img {max-width:600px;}
adjust to do you want
its function is to prevent an image exceeds size than indicated

panterua
Forumember

Male Posts : 90
Reputation : 110
Language : Spanish, English
Location : Uruguay

http://mudreadlocks.superforo.net/u8

Back to top Go down

Solved Re: I need a CSS code to resize images.

Post by David2011 on January 10th 2011, 5:47 pm

1- Thanks, works perfectly.

2- There is a problem, I see no option to view the image full screen.

David2011
Forumember

Male Posts : 127
Reputation : 0
Language : Español - English
Location : Argentina

Back to top Go down

Solved Re: I need a CSS code to resize images.

Post by panterua on January 10th 2011, 5:51 pm

via css isn't possible achieve that, only via resize system, from admin panel (your second pic)

panterua
Forumember

Male Posts : 90
Reputation : 110
Language : Spanish, English
Location : Uruguay

http://mudreadlocks.superforo.net/u8

Back to top Go down

Solved Re: I need a CSS code to resize images.

Post by David2011 on January 10th 2011, 6:34 pm

That option does not work me.

David2011
Forumember

Male Posts : 127
Reputation : 0
Language : Español - English
Location : Argentina

Back to top Go down

Solved Re: I need a CSS code to resize images.

Post by Guest on January 10th 2011, 6:44 pm

Did you edited the Viewtopic_Body?
did you deleted this part?
Code:

<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->

Guest
Guest


Back to top Go down

Solved Re: I need a CSS code to resize images.

Post by David2011 on January 10th 2011, 7:03 pm

I can not find this code in Viewtopic_Body.

Maybe I deleted by mistake.

Confused

Exactly where I put that part of code?

David2011
Forumember

Male Posts : 127
Reputation : 0
Language : Español - English
Location : Argentina

Back to top Go down

Solved Re: I need a CSS code to resize images.

Post by David2011 on January 10th 2011, 7:49 pm

@Gangstar15 wrote:Did you edited the Viewtopic_Body?
did you deleted this part?
Code:

<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.post-entry .entry-content', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->

I noticed "View forum default template" and so I could find with their location, thanks!

Thank you very much for all!

Works fine!

Ready, Solved!


Smile

I apologize for the double post.
Sorry! Confused

David2011
Forumember

Male Posts : 127
Reputation : 0
Language : Español - English
Location : Argentina

Back to top Go down

Solved Re: I need a CSS code to resize images.

Post by Guest on January 10th 2011, 8:42 pm

Glad i could help Very Happy i just didn't found it on your page source ;D i was sure that it was deleted Very Happy
well good its solved ;D
And no problem for double posting (:
Solved + Locked

Guest
Guest


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum