Shop OBEX P1 Docs P2 Docs Learn Events
Testing New Code for Photo Resizing — Parallax Forums

Testing New Code for Photo Resizing

HumanoidoHumanoido Posts: 5,770
edited 2010-12-23 08:07 in General Discussion
Testing

attachment.php?attachmentid=75833&stc=1&d=1291132157

test
<img src="http://www.location.com/title.gif&quot; width="200" height="85">
<img src="photo.jpg" width="75" height="40" />
[FONT=Arial, Helvetica]<IMG SRC="photo.jpg" WIDTH="96" HEIGHT="134" BORDER="0">
[/FONT]Firefox seems to work with % sizes... But those are dependent
upon the Firefox window, not the original image size... Setting the
width to "25%" results in a dynamic resize to one quarter of the window
width (and the height seems to be proportional to the image, whereas
specifying both as "25%" results in scaling to the Firefox window shape)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<img src="_MG_0127.jpg"
alt=""
width="10%"
border="0">
</body>
</html>
This requires /dowloading/ the full image
366 x 258 - 90K

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-11-30 08:51
    The forum software does not recognize HTML tags. It converts all "<" to "<", thus blocking the tags' effectiveness.

    For scaling images, I use Corel PhotoPaint to shrink them, if necessary, before uploading.

    -Phil
  • LeonLeon Posts: 7,620
    edited 2010-11-30 09:04
    I use IrfanView, it's free.
  • ercoerco Posts: 20,261
    edited 2010-12-01 21:45
    MS Paint is also free and it's already on every Windows computer. Just use the Image>>Resize option and type in the amount to reduce (horizontal and vertical).
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-12-02 05:10
    This is what it looks like using MS Paint and the stretch function with 50% height and width. If the browser is single stepped in view size using ctrl+ or ctrl-, the image size can be adjusted to a perfect match with the original size, so it's possible to know and adjust the image appearance before posting. It's inconvenient to invoke other programs to adjust the image outside of the forum post but it works. Knowing a 1:1 relationship exists with the offline image is the key.

    attachment.php?attachmentid=75883&stc=1&d=1291294931
    Shrinking the image with
    MS Paint
    183 x 129 - 8K
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-12-23 08:03
    The image now will simply re-size using the mouse, in the newest Forum... A very nice and easy to use feature. Posts look very nice too.
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-12-23 08:05
    attachment.php?attachmentid=75883&stc=1&d=1291294931
  • HumanoidoHumanoido Posts: 5,770
    edited 2010-12-23 08:07
    Unfortunately the resize did not save during the edit.
Sign In or Register to comment.