Inline FabricationLoad DataRotoMetals2Snyders Jerky
WidenersTitan ReloadingRepackboxMidSouth Shooters Supply
Reloading Everything Lee Precision
Results 1 to 9 of 9

Thread: Working on BBC resizing picture width and height

  1. #1
    Boolit Master

    Land Owner's Avatar
    Join Date
    Aug 2010
    Location
    Mims, FL
    Posts
    1,864

    Working on BBCode resizing picture width and height

    ORIGINAL Width = 620 pixels; Height = 421 pixels

    [img width=200 height=149]https://i.postimg.cc/YSb8vPtp/FNNs.jpg[/img]
    [img width="200" height="149"]https://i.postimg.cc/YSb8vPtp/FNNs.jpg[/img]
    [img=200x149]https://i.postimg.cc/YSb8vPtp/FNNs.jpg[/img]
    [img="200", "149"]https://i.postimg.cc/YSb8vPtp/FNNs.jpg[/img]
    [img "200x149"]https://i.postimg.cc/YSb8vPtp/FNNs.jpg[/img]
    [img "200" x "149"]https://i.postimg.cc/YSb8vPtp/FNNs.jpg[/img]
    [img 200,149]https://i.postimg.cc/YSb8vPtp/FNNs.jpg[/img]
    [img w,200]https://i.postimg.cc/YSb8vPtp/FNNs.jpg[/img]
    [img width="200px" height="149px"]https://i.postimg.cc/YSb8vPtp/FNNs.jpg[/img]
    [img width=200px height=149px]https://i.postimg.cc/YSb8vPtp/FNNs.jpg[/img]
    [fimg 200,149]https://i.postimg.cc/YSb8vPtp/FNNs.jpg[/fimg]
    [img size=200]https://i.postimg.cc/YSb8vPtp/FNNs.jpg[/img]
    [resize=200][/resize]

    Aaaaaarrrrrrrrrrrrrggggggggggghhhhhhhh! NOTHING is working!!!!

    img width=200 height=149
    Last edited by Land Owner; 05-31-2021 at 08:08 AM.
    If it was easy, anybody could do it.

  2. #2
    Moderator


    Minerat's Avatar
    Join Date
    Jun 2008
    Location
    Jefferson County, CO
    Posts
    9,652
    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

    This line is different because the [img] is missing before the
    https:....
    [img width=200 height=149 ]
    https://i.postimg.cc/YSb8vPtp/FNNs.jpg[/img]

    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[/img]



    So for an image to show the format has to be

    TITLE
    [img]IMAGE LINK[/img]

    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.
    Steve,

    Life Member NRA
    Colorado Rifle Club member
    Rocky Mtn Gun Owners member
    NAGR member

  3. #3
    Moderator


    Minerat's Avatar
    Join Date
    Jun 2008
    Location
    Jefferson County, CO
    Posts
    9,652

    Size changed

    So here is the photo downsized to 200x149 and the link is different because it is on my computer now.

    Size 200x149

    Click image for larger version. 

Name:	FNNs200.jpg 
Views:	74 
Size:	28.4 KB 
ID:	283721

    the image is now 29KB.
    Steve,

    Life Member NRA
    Colorado Rifle Club member
    Rocky Mtn Gun Owners member
    NAGR member

  4. #4
    Boolit Master

    Land Owner's Avatar
    Join Date
    Aug 2010
    Location
    Mims, FL
    Posts
    1,864
    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...
    Last edited by Land Owner; 05-31-2021 at 08:07 AM.
    If it was easy, anybody could do it.

  5. #5
    Boolit Master

    Land Owner's Avatar
    Join Date
    Aug 2010
    Location
    Mims, FL
    Posts
    1,864
    Quote Originally Posted by Minerat View Post

    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.
    If it was easy, anybody could do it.

  6. #6
    Moderator


    Minerat's Avatar
    Join Date
    Jun 2008
    Location
    Jefferson County, CO
    Posts
    9,652
    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.

  7. #7
    Boolit Master

    Land Owner's Avatar
    Join Date
    Aug 2010
    Location
    Mims, FL
    Posts
    1,864
    Thank you for this assist. I await their reply...
    If it was easy, anybody could do it.

  8. #8
    Moderator


    Minerat's Avatar
    Join Date
    Jun 2008
    Location
    Jefferson County, CO
    Posts
    9,652
    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.
    Steve,

    Life Member NRA
    Colorado Rifle Club member
    Rocky Mtn Gun Owners member
    NAGR member

  9. #9
    Boolit Master

    Land Owner's Avatar
    Join Date
    Aug 2010
    Location
    Mims, FL
    Posts
    1,864
    Thank you. Thank you so much for trying. I have not found a "simple" way. If I do, I will SHARE.
    If it was easy, anybody could do it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Abbreviations used in Reloading

BP Bronze Point IMR Improved Military Rifle PTD Pointed
BR Bench Rest M Magnum RN Round Nose
BT Boat Tail PL Power-Lokt SP Soft Point
C Compressed Charge PR Primer SPCL Soft Point "Core-Lokt"
HP Hollow Point PSPCL Pointed Soft Point "Core Lokt" C.O.L. Cartridge Overall Length
PSP Pointed Soft Point Spz Spitzer Point SBT Spitzer Boat Tail
LRN Lead Round Nose LWC Lead Wad Cutter LSWC Lead Semi Wad Cutter
GC Gas Check