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.

postbody image resize and customize [phpBB3]

View previous topic View next topic Go down

In progress postbody image resize and customize [phpBB3]

Post by Luffy on March 7th 2014, 7:51 pm

Hello..

I want to customize the images that i post on the forum, and resize them but i don't want the emoticons/smilies to be affected. I tried a code but it grabs the smilies also.

The forum is version phpBB3.

Thank you very much.
Marios.

Luffy
Manager
Manager

Male Posts : 4245
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

In progress Re: postbody image resize and customize [phpBB3]

Post by masesm on March 7th 2014, 11:03 pm

Are you talking about this?

Code:
.postbody img {
max-height: #100px; max-width: #100px;
}

masesm
Forumember

Male Posts : 67
Reputation : 5
Language : English, Java, JavaScript, HTML, CSS.
Location : United States

http://sicktier.forumotion.com/

Back to top Go down

In progress Re: postbody image resize and customize [phpBB3]

Post by Luffy on March 7th 2014, 11:11 pm

No. I have that code. The one i want is to make each picture that have been posted to get resized to the given size and make them with border and stuff but i don't want the smilies to be included.






Luffy
Manager
Manager

Male Posts : 4245
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

In progress Re: postbody image resize and customize [phpBB3]

Post by Ange Tuteur on March 7th 2014, 11:19 pm

Hello Marios94,

You can try this :
So long as your emoticons have an alt text, this should not affect them.
Code:
.content img[alt=""] {
  width:**px;
  height:**px;
  border:1px solid #F00;
}

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: postbody image resize and customize [phpBB3]

Post by Luffy on March 10th 2014, 7:44 pm

the code you sent me works, but it makes the images of the signature and all the other images in posts like the ones i command in the posts!! Sad






Luffy
Manager
Manager

Male Posts : 4245
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

In progress Re: postbody image resize and customize [phpBB3]

Post by Ange Tuteur on March 11th 2014, 12:50 am

Hmm..?

Try this :
Code:
.post .content div img[alt=""] {
  width:**px;
  height:**px;
  border:1px solid #F00;
}

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: postbody image resize and customize [phpBB3]

Post by Luffy on March 11th 2014, 9:04 pm

Hello Ange.

Still does that with the signature images!
To ask something else about this. Is there anyway to replace the image icon with the flash one and add its image. This would make it easier because with the flash button the images get perfect!
Although its something that i thought and i don't know if this can happen.
Or else we stick to the good css way!

Reminding that i am referring for PhpBB3 Version of forum.






Luffy
Manager
Manager

Male Posts : 4245
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

Back to top Go down

In progress Re: postbody image resize and customize [phpBB3]

Post by SabbakJohn on March 13th 2014, 8:20 am

Mario 94,Can you post any link through which I can view the problem you are getting as by listening I am not getting what you are trying to explain.I know many codes to get the images the type we want in phpbb3 platform but before I can resolve your pronlem I want to see the image you are getting now.Reply soon so that I can help you out.
Click here

SabbakJohn
New Member

Posts : 1
Reputation : 1
Language : English

Back to top Go down

In progress Re: postbody image resize and customize [phpBB3]

Post by Luffy on March 13th 2014, 1:03 pm

The problem i am getting as i explained is that the images where the signature is and generally where the posts are get the same width and height as the images i am trying to customize. I don't leave the codes going if they are wrong so by giving you the link to the forum wouldn't do anything.

Wink






Luffy
Manager
Manager

Male Posts : 4245
Reputation : 424
Language : Greek, English
Location : Greece

http://helpgr.forumgreek.com/forum

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