inherit
218932
0
Oct 19, 2024 14:55:57 GMT -8
artdoc
550
February 2015
artdoc
|
Post by artdoc on Mar 17, 2015 4:09:17 GMT -8
I just installed the plug-in and it works well, so no complaints. But if I had a wish for an added function, I'd like to see it set the now-smaller images to center in the message area! It just looks nicer. Any chance that could happen? Thanks, Steve organicgroup.freeforums.net
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Mar 17, 2015 15:44:22 GMT -8
I just installed the plug-in and it works well, so no complaints. But if I had a wish for an added function, I'd like to see it set the now-smaller images to center in the message area! It just looks nicer. Any chance that could happen? Thanks, Steve organicgroup.freeforums.net Hi-ya, Add this to your forum CSS.. .imgresized { width: 100%!important; } Or, alternatively, put this in your Global Header.. <style> .imgresized { width: 100%!important; } </style>
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 17, 2015 21:43:44 GMT -8
|
|
inherit
218932
0
Oct 19, 2024 14:55:57 GMT -8
artdoc
550
February 2015
artdoc
|
Post by artdoc on Mar 18, 2015 5:06:10 GMT -8
width: 100%!important sounds suspiciously like it makes a photo fit the message width. Not what I'm after. If a photo is sized to, say, 600pixels, it would be centered to have margins of 200px left and right. (numbers for clarity, not exact measures) Now if that code said "align: center", that would do what I want no matter the photo size, maybe?
Thanks.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 18, 2015 21:56:11 GMT -8
width: 100%!important sounds suspiciously like it makes a photo fit the message width. Not what I'm after. If a photo is sized to, say, 600pixels, it would be centered to have margins of 200px left and right. (numbers for clarity, not exact measures) Now if that code said "align: center", that would do what I want no matter the photo size, maybe? THanks. .imgresized { width: 600px !important; align: center; } Try that then
|
|
inherit
218932
0
Oct 19, 2024 14:55:57 GMT -8
artdoc
550
February 2015
artdoc
|
Post by artdoc on Mar 19, 2015 10:19:24 GMT -8
.imgresized { width: 600px !important; align: center; } Try that then - - -
Added it to CSS, no change. Even the 600 width was ignored! I surrender, I'll let the photos be what they are.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Mar 19, 2015 16:00:30 GMT -8
width: 100%!important sounds suspiciously like it makes a photo fit the message width. Not what I'm after. If a photo is sized to, say, 600pixels, it would be centered to have margins of 200px left and right. (numbers for clarity, not exact measures) Now if that code said "align: center", that would do what I want no matter the photo size, maybe? Thanks. What is the point of asking for help if you are not going to even try the suggested solution because it looks wrong? .imgresized { width: 600px !important; align: center; } Try that then - - - Added it to CSS, no change. Even the 600 width was ignored! I surrender, I'll let the photos be what they are. .imgresized is the containing cell of the image, not the image itself. Making the containing cell's width 100% stretches the CONTAINING cell to fill the post, the contents of which are already centered, and so the image will then be centered within the post. P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓'s suggestion is resizing the containing cell and 're-centering' the contents within, but if the containing cell is not wide enough then you will not notice any change.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 19, 2015 21:50:29 GMT -8
width: 100%!important sounds suspiciously like it makes a photo fit the message width. Not what I'm after. If a photo is sized to, say, 600pixels, it would be centered to have margins of 200px left and right. (numbers for clarity, not exact measures) Now if that code said "align: center", that would do what I want no matter the photo size, maybe? Thanks. What is the point of asking for help if you are not going to even try the suggested solution because it looks wrong? .imgresized { width: 600px !important; align: center; } Try that then - - - Added it to CSS, no change. Even the 600 width was ignored! I surrender, I'll let the photos be what they are. .imgresized is the containing cell of the image, not the image itself. Making the containing cell's width 100% stretches the CONTAINING cell to fill the post, the contents of which are already centered, and so the image will then be centered within the post. P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓'s suggestion is resizing the containing cell and 're-centering' the contents within, but if the containing cell is not wide enough then you will not notice any change. Yeah I don't know much about the plugin's setup, I'm in agreement that he should of been more specific to begin with. And that without being able to look at the exact place that he's putting it, it's hard to just assume any old code will work.
|
|
inherit
218932
0
Oct 19, 2024 14:55:57 GMT -8
artdoc
550
February 2015
artdoc
|
Post by artdoc on Mar 20, 2015 4:24:23 GMT -8
@todje asked "What is the point of asking for help if you are not going to even try the suggested solution because it looks wrong?" Artdoc says you misinterpreted my question. I did in fact follow the suggestion. It didn;t change anything. The resized images were still aligned to the left., so adding the code for centering had no visible effect. I've had a good number of questions as I reffine my forum, and all have been promptly answered and out into action with terrific results. This one just didn't do what I thought it would. I'm not unhappy, so you don't need toi assume I just dismissed the help without trying it because *I* may have misinterpreted the function of the code. Here is the page with that code in place, photos not centered" organicgroup.freeforums.net/thread/211/california-nativesThanks.
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Mar 20, 2015 9:49:12 GMT -8
@todje asked "What is the point of asking for help if you are not going to even try the suggested solution because it looks wrong?" Artdoc says you misinterpreted my question. I did in fact follow the suggestion. It didn;t change anything. The resized images were still aligned to the left., so adding the code for centering had no visible effect. I've had a good number of questions as I reffine my forum, and all have been promptly answered and out into action with terrific results. This one just didn't do what I thought it would. I'm not unhappy, so you don't need toi assume I just dismissed the help without trying it because *I* may have misinterpreted the function of the code. Here is the page with that code in place, photos not centered" organicgroup.freeforums.net/thread/211/california-nativesThanks. Are you sure you tried todge's suggestion? On chrome, when css is set to .imgresized { width: 100% !important; } It centers it correctly. Also you see that images that have not been re-sized are still aligned leftwards. Perhaps that makes it look worse than having them all aligned left.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on Mar 20, 2015 13:00:58 GMT -8
And in FireFox... The cell appears to be sized to 800px, not 100%, where have you added this code?
|
|
gtv22
Junior Member
Still learning ...
Posts: 260
inherit
203486
0
Mar 1, 2014 9:50:41 GMT -8
gtv22
Still learning ...
260
December 2013
gtv22
|
Post by gtv22 on Nov 18, 2015 16:48:47 GMT -8
Hi Todge, Is it possible for me to somehow make the resize work by % instead of by px? I tried to enter it in the space provided inside the plugin, but it would not allow it.
|
|
inherit
223778
0
Sept 2, 2024 21:38:13 GMT -8
cfleet1
311
July 2015
cfleet1
|
Post by cfleet1 on May 13, 2016 15:26:58 GMT -8
Is there way to resize images in private messages? This works great on the main forum. But pics in PMs are still huge. Cheers.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on May 14, 2016 15:22:41 GMT -8
Hi Todge, Is it possible for me to somehow make the resize work by % instead of by px? I tried to enter it in the space provided inside the plugin, but it would not allow it. I could make the plugin accept % as well as px, but you'd lose the 'This image has been reduced' notification, and the images would probably be resized no matter what their original dimensions. That is, if you were to choose 50%, then all of your posted images would be resized to 50% of the post cell, even if it meant INCREASING the size.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,322
January 2004
todge
|
Post by Todge on May 14, 2016 15:34:07 GMT -8
Is there way to resize images in private messages? This works great on the main forum. But pics in PMs are still huge. Cheers. Give version 1.0.7 a try....
|
|