PDA

View Full Version : Working on BBC resizing picture width and height



Land Owner
05-30-2021, 04:55 AM
ORIGINAL Width = 620 pixels; Height = 421 pixels https://i.postimg.cc/YSb8vPtp/FNNs.jpg

https://i.postimg.cc/YSb8vPtp/FNNs.jpg
https://i.postimg.cc/YSb8vPtp/FNNs.jpg
https://i.postimg.cc/YSb8vPtp/FNNs.jpg
https://i.postimg.cc/YSb8vPtp/FNNs.jpg
https://i.postimg.cc/YSb8vPtp/FNNs.jpg
https://i.postimg.cc/YSb8vPtp/FNNs.jpg
https://i.postimg.cc/YSb8vPtp/FNNs.jpg
https://i.postimg.cc/YSb8vPtp/FNNs.jpg
https://i.postimg.cc/YSb8vPtp/FNNs.jpg
https://i.postimg.cc/YSb8vPtp/FNNs.jpg
https://i.postimg.cc/YSb8vPtp/FNNs.jpg
https://i.postimg.cc/YSb8vPtp/FNNs.jpg
https://i.postimg.cc/YSb8vPtp/FNNs.jpg

Aaaaaarrrrrrrrrrrrrggggggggggghhhhhhhh! NOTHING is working!!!!

img width=200 height=149https://i.postimg.cc/YSb8vPtp/FNNs.jpg

Minerat
05-30-2021, 10:11 AM
These are the first lines in your test the first 2 (red) are for the picture that is visible

ORIGINAL Width = 620 pixels; Height = 421 pixels https://i.postimg.cc/YSb8vPtp/FNNs.jpg

This line is different because the is missing before the
https:....

https://i.postimg.cc/YSb8vPtp/FNNs.jpg

So if it was like this it might work. The front "[ " bracket is missing in the orange area of the blue line so you can see the text. Other wise the picture appears in the body of the post

img width=200 height=149
img]https://i.postimg.cc/YSb8vPtp/FNNs.jpg


So for an image to show the format has to be

TITLE
IMAGE LINK

One other thing, the image size will not change when using a link unless you down load, then resize that image and rename it. So in your example both photos in your OP are the same 66Kb size. I'll go on my computer and download and resize it to your 200x149 and come back and post it so you can see the difference.

Hope this helps.

Minerat
05-30-2021, 10:21 AM
So here is the photo downsized to 200x149 and the link is different because it is on my computer now.

Size 200x149

283721

the image is now 29KB.

Land Owner
05-30-2021, 02:14 PM
Important to understand, I added the width and height of the ORIGINAL photo AS TEXT so that others could see where I am going in this effort. The OP statement "Width = 620 pixels; Height = 421 pixels" (red in yours and default in the OP) has nothing to do with sizing the ORIGINAL photo of this thread.

I tried it your way with img width=200 height=149 then img in " " then the link then /img in " " - as you see in the last test of the edited OP - the OP image remains 620x421 pixels.

So, that didn't work. I am trying to avoid the tedious task of resizing every photo strictly for use on the CASTBOOLITS web site. Other web sites allow BBCode to resize ANY photo (linked or otherwise) to the width and height I specify - even to total distortion of the original photo. You "artificially" resized the image on your PC to 200x149 (which I also know how to do) and then loaded it to Castboolits AGAIN.

BBCode software should resize the photo for us. Resizing an image is a function in BBCode. I suspect the code used at this site is a subset of or other than BBCode. Correct me if I am wrong.

I am a "Coder" and have written quite a few "static" (page to page) html web sites. I am rusty now, and not familiar with CSS. But, even though I am an Old Dog, I can learn new tricks...

Most of my tests are other Coder examples gleaned from BBCode discussion boards - not about this issue or my OP image. Some of my tests are variations on a theme struggling to "back into" a photo resize solution...

Land Owner
05-30-2021, 02:23 PM
One other thing, the image size will not change when using a link unless you down load, then resize that image and rename it.

Is THAT a function of the Code used to control this site? If yes, then I won;t find ANY resize funtion that will be "automatic" and I will have to resize myself if I want "conformity" and smaller photos.

Minerat
05-30-2021, 06:15 PM
I'm not sure if you can do what you want on this site. I'll send a link of your test page to staff and we'll see if someone with more knowledge then me has an answer or work around different then mine of copy resize then repost. This should be interesting.

Land Owner
05-31-2021, 08:04 AM
Thank you for this assist. I await their reply...

Minerat
06-04-2021, 10:27 AM
Sorry for not getting back to you sooner. I kicked it up to the staff and no one has an idea that will allow you to do what you are trying. It seems the only way to reduce the size is as you already knew, download, resize, upload to CB. If you find a way to do it we all would be interested in your method. You might try PMing No_1 direct.

Land Owner
06-05-2021, 08:16 AM
Thank you. Thank you so much for trying. I have not found a "simple" way. If I do, I will SHARE.