Page 1 of 1

Attachment corruption (Solved)

Posted: Wed Apr 07, 2021 10:13 pm
by puppy_apprentice

Could anybody verify if arachnophilia screenshot is invisible in this my post.
I wanted to attach more than 3 screenshots in one post and i think that arachnophilia screenshot became corrupted because of this.


Re: Attachment corruption

Posted: Wed Apr 07, 2021 10:32 pm
by Flash

I assume you mean the "arachnophilia.jpg" attachment. I downloaded it to have a look and it's just a purple rectangle. Delete it from your post and redo it. Take a look at the .jpg before you upload it, to make sure it's what you think.


Re: Attachment corruption

Posted: Thu Apr 08, 2021 7:08 am
by Makoto

Just as a suggestion - feel free to ignore it - but if you're going to be working with a lot of images in your posts, you might consider uploading them to an image-hosting service and linking them into the posts, instead. I don't recall ever having the best of luck with multiple image attachments in a forum post, though I'll admit the last time I tried was some years ago.

For example, I use imgur. (I know others, like Mike Walsh, use different hosts that I can't remember off the top of my head, so I'll leave it to them to suggest other alternatives.) Unless they've changed it, you don't even need an account to upload images. Just copy the "Direct" link imgur gives, and use the [img][/img] tags to add the images to your post, like this:

[img]https://i.imgur.com/44ZLbsp.png[/img]

Image
(an old image I uploaded for use in a post)


Re: Attachment corruption

Posted: Thu Apr 08, 2021 7:44 am
by NightKnight2

All looks ok from here :thumbup: (seamonkey32 v2.49.1)


Re: Attachment corruption

Posted: Thu Apr 08, 2021 8:09 am
by MochiMoppel
NightKnight2 wrote: Thu Apr 08, 2021 7:44 am

All looks ok from here :thumbup: (seamonkey32 v2.49.1)

Psst...apprentice uploaded a corrected image after Flash's post. Certainly would be nice of him to tell us.


Re: Attachment corruption

Posted: Thu Apr 08, 2021 8:45 am
by NightKnight2

@MochiMoppel oopsss sorry mate :oops: I didn't realized that. I should have checked his last updated time in the post shouldn't I lol. Told you before am only a newbie :oops: , far too much to learn. Thanks once again :thumbup2:


Re: Attachment corruption

Posted: Thu Apr 08, 2021 8:25 pm
by puppy_apprentice
MochiMoppel wrote: Thu Apr 08, 2021 8:09 am

Psst...apprentice uploaded a corrected image after Flash's post. Certainly would be nice of him to tell us.

The image was good for a moment, before i tried to add more screenshots for other java programs. I think that there is a limit of attachments in one post (max 3) but i wanted add more. There was no warning about that so I've tried a few time to upload new attachments. I think that third attachment (it was arachnophilia.jpg) was overwritten in the database by later uploads. I can't check if this is forum error because i have currently only Edge (2g) connection.


Re: Attachment corruption

Posted: Fri Apr 09, 2021 1:04 am
by Grey
puppy_apprentice wrote: Thu Apr 08, 2021 8:25 pm

I think that there is a limit of attachments in one post (max 3) but i wanted add more.

Yes, the three-picture limit makes me sad. In a recent post I had to attach three images directly and place the other three on the image hosting. I forget to ask admin if it is possible to remove such a restriction.
From image hosting sites I like https://postimages.org/ They have an app, but it's only for Windows. But even without it everything on the site is convenient. Although the app just adds the 'Send to' feature to Windows Explorer. I vaguely feel that it is possible to add this feature to all Puppy flavors.


Re: Attachment corruption

Posted: Fri Apr 09, 2021 4:30 am
by MochiMoppel
puppy_apprentice wrote:

I think that there is a limit of attachments in one post (max 3) but i wanted add more. There was no warning about that so I've tried a few time to upload new attachments.

Yes, there is a limit of 3 attachments (images and/or files), and there is a warning. Hard to miss. So where is the bug?


Re: Attachment corruption

Posted: Fri Apr 09, 2021 5:08 am
by MochiMoppel
Grey wrote:

Yes, the three-picture limit makes me sad. In a recent post I had to attach three images directly and place the other three on the image hosting. I forget to ask admin if it is possible to remove such a restriction.

I understand that there must be a limit but I don't understand why there is a strange size limit. I sometimes want to show a couple of small dialogs and instead of uploading 4 images (which is not possible) I stitch them together into 1 image. This results is an efficient, vertically long image. When I try the forum software tells me that this also is not possible:

The image must be at least 0 pixels wide, 0 pixels high and at most 1200 pixels wide and 800 pixels high. The submitted image is 300 pixels wide and 810 pixels high.

This limit makes no sense to me, and not only because of the 0 pixels minimum.
@rockedge : Would it be possible to remove this restriction and allow images taller than 800px? Not urgent, but would help me a lot.


Re: Attachment corruption (Solved)

Posted: Fri Apr 09, 2021 6:37 am
by Makoto

You know, with an image-hosting site, you wouldn't have any limit on the amount of images you can add to a post. :) (Or the image sizes, although to be nice to others, don't add any giant HD images to a post...)


Re: Attachment corruption (Solved)

Posted: Fri Apr 09, 2021 7:27 am
by puppy_apprentice

The bug is if the forum script allow overwrite/corrupt last (third, id=0) picture despite of warning (my post was quite long so maybe i didn't noticed it) and limit. But i can't investigate this because i have 2g connection and currently use computer with Pentium Celeron 600mhz (very slow when surfing internet).

And i know that there is plenty of picture hosting services. I can post 3 java apps with screenshots per post too. I can even post screenshot as url from home page of the java program. So there is not a problem with posting less or more pictures. Problem is described above.


Re: Attachment corruption (Solved)

Posted: Fri Apr 09, 2021 3:06 pm
by rockedge

@MochiMoppel That I can look into and improve.

UPDATE: I think it is adjusted now. Please test.


Re: Attachment corruption (Solved)

Posted: Sat Apr 10, 2021 2:46 am
by MochiMoppel

@rockedge OK. lets see:
The new maximum size for an uploaded image is now 1200x1200.
Because of the forum scaling this would result in a displayed size of 800x800

So to make the most of the maximum displayable size an uploaded image should not exceed a width of 800px, bringing the maximum for a tall image to 800x1200.

👍 That's great! Thanks!