The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

postbody image resize and customize [phpBB3]

4 posters

Go down

In progress postbody image resize and customize [phpBB3]

Post by TheCrow 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.
TheCrow
TheCrow
Manager
Manager

Male Posts : 6921
Reputation : 795
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

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

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

Are you talking about this?
 
Code:
.postbody img {
max-height: #100px; max-width: #100px;
}
masesm
masesm
Forumember

Male Posts : 75
Reputation : 7
Language : Java, C++, C#, Python, JavaScript, PHP, MySQL, AWS
Location : United States

http://sicktier.forumotion.com/

Back to top Go down

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

Post by TheCrow 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.


postbody image resize and customize [phpBB3] Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6921
Reputation : 795
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

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

Post by Ange Tuteur 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

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

Post by TheCrow 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


postbody image resize and customize [phpBB3] Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6921
Reputation : 795
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

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

Post by Ange Tuteur 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

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

Post by TheCrow 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.


postbody image resize and customize [phpBB3] Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6921
Reputation : 795
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

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

Post by SabbakJohn 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
avatar
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 TheCrow 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


postbody image resize and customize [phpBB3] Thecro10
Forum of the Forums

Forumotion Rules | Tips & Tricks |
FAQ | Did you forget your password?



*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
TheCrow
TheCrow
Manager
Manager

Male Posts : 6921
Reputation : 795
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Back to top

- Similar topics

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