-
testing
-
Hhmmmm
500 Internal Server Error
A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.
Big help :uhoh:
No forum errors showing. Let's see what I can find on the server.
-
Tried posting the problem image here - won't post. I still don't get an error message. But I do recall that when we had trouble with large images before, this was exactly the same behavior. I would just get a blank white page, and nothing was posted.
Hhm, just noticed this. Image is hosted on deviant art, but linked to OCA.... Nah, that shouldn't matter....
Trying to find where you got the original image from DA, which according to the message (which actually did post (https://forum.inkscapecommunity.com/index.php?topic=329.msg5653#msg5653)) is the middle url below. Found the other 2 at DA, but not that one, yet.
https://orig00.deviantart.net/afb1/f/2017/303/3/b/houndstooth_pattern_thumbnail_by_lazururh-dbs7zow.png
https://orig00.deviantart.net/d484/f/2017/303/6/7/houndstooth_patterns_by_lazururh-dbs7v68.png
https://pre00.deviantart.net/581f/th/pre/f/2017/303/6/7/houndstooth_patterns_by_lazururh-dbs7v68.png
But here's an odd thing, which maybe has something to do with it. If you visit https://lazururh.deviantart.com/ and open 3 of the (currently) 4 images of the houndstooth weave on that page (2 thumbnails and 2 larger) then right-click > View Image Info, they give Location: (the url) as a PNG file. But for Type: they give "JPEG Image".
I've never seen the Type not match the format for the Location. Granted I still haven't found the original usedin the other message. But I wonder if that conflict could be part of the problem?
I'll go ahead and post this much, then in the next message, I'll try to post one of those conflicting Image Info items.
-
(https://pre00.deviantart.net/581f/th/pre/f/2017/303/6/7/houndstooth_patterns_by_lazururh-dbs7v68.png)
-
Ah well -- thought it was a good theory. Guess we're back to the size being the problem.
But where's the problematic original? I mean, I know where it is, but there must be a link to it somewhere, from which you retrieved its url.
-
Deviantart is a hellhole of an image host. They have a formula for embedding files on forums with a frame, I'm not quite sure how to do nor would follow anyway. Comes with their light green frame and a button "link to the original" or something like that.
Instead, clicking on the download button, and using the downloaded image's url. That is the original image's url, the rest is their generated jpeg versions of other sizes. -You upload only at one size and can even set a full size view size. 1600 px wide for example. Setting original image size for that.
So when you go to an image, by clicking twice appears the original image only.
Which may not even have the right url. In general the resized image's url's don't work after awhile, so it's not a good idea embedding those.
Used the four houndstooth pattern image in the "thumbnail" embedding for the ocal link as ocal's thumbnail had a rendering issue -and obviously only contains one quarter only, unlike the exported raster image from deviantart showing four variants.
Here is the ocal image:
(https://openclipart.org/image/2400px/svg_to_png/289289/ht29.png) (https://openclipart.org/detail/289289/houndstooth-16)
here is the link to da:
"image too big" (3600 px/3600 px) (https://lazururh.deviantart.com/art/houndstooth-patterns-712524176)
My general thought is since they are hosted elsewhere they shouldn't cause problems when embedding.
But it seems the forum may generate smaller substitutes to fit with the page and stores them locally.
-
Hhuuhm -- Didn't know you could use a download link to retrieve the image url! Oh, I see. In this case "download" means open the image so you can save it, I guess?
Aah, found it. Don't click on Download button. When you click on the thumbnail, to get the image's page, I was right-clicking on that image, to get the url. But to get the url you had, you have to click on it, to make it full size. THEN right click to get the url.
Somehow I thought copying the url fresh would make a difference. But I guess it really won't.
-
Sorry, falling asleep yesterday.
Yes, the forum does generate its own smaller images, depending on how the admin configures it. I have set for 1200 x 600. So I guess if an image exceeds one of those numbers, it generates something smaller. I'm just trying look up how it decides what size to make, but so far, can't find.
Attachments are different. There's also no limit on the size of attachments. And after a certain size, it creates its own thumbnail. But it doesn't say what size that is. There's only an option for the maximum size of thumbnails....which I'm not sure if that makes sense, so I could be misunderstanding something.
Anyway, made some wide rectangles, to test is there is a width limit.
w=2000
(https://inkscapecommunity.com/img/wtest2000.png)
w=2500
(https://inkscapecommunity.com/img/wtest2500.png)
w=3000
(https://inkscapecommunity.com/img/wtest3000.png)
-
w=3500
(https://inkscapecommunity.com/img/wtest3500.png)
w=4000
(https://inkscapecommunity.com/img/wtest4000.png)
-
Hhm, maybe it needs some height combined with width?
Ah yes. Cannont post 4000 x 4000 PNG.
Trying 3000 x 3000:
(https://inkscapecommunity.com/img/wtest3000x.png)
-
3500 x 3500
(https://inkscapecommunity.com/img/wtest3500x.png)
-
3700 x 3700
(https://inkscapecommunity.com/img/wtest3700x.png)
-
Ok, the limit seems to be somewhere between 3700 and 3800 square, for just the simple square. Perhaps the reason Lazur's 3600 square image wouldn't load is because it has more kb.
My 3700 square is 61 kb, and 3800 is 64. Looking for size of Lazur's image.
It does seem odd that he was able to post it, but now can't edit. And can't seem to be posted again. I can't really explain that. But we seem to be near our limits here.
Of course I could increase the limits. I'm just not sure if it's practical. Comments?
-
I do see one difference. For my 3700 square, the forum has added a 600 x 600 frame for it. Now I'm investigating why that was not added to Lazur's image.
Maybe it was because of making it a link? Testing....
-
3700 x 3700
(https://inkscapecommunity.com/img/wtest3700x.png) (https://forum.inkscapecommunity.com/index.php?topic=815.0)
-
Hhm, no, making it into a link, the forum still adds the 600 ht and width.
Maybe something about the DA image?
I wonder what would happen if it take the bbcode from Lazur's message, and manually add the 600 code to it?
Let's see:
(https://orig00.deviantart.net/d484/f/2017/303/6/7/houndstooth_patterns_by_lazururh-dbs7v68.png) (https://openclipart.org/detail/289289/houndstooth-16)
-
Hah, what do you know?
Could there be something in the DA url which instructs not to make the image smaller? Which the forum recognizes and doesn't automatically give it the extra bbcode?
Well, no matter which way you look at it, I still think we are looking at the limits of the forum...actually it's a limit of the server, somewhere between 3500 and 4000 pixels square. Clearly there are some other variables which play into it.
But Lazur, if you still want to edit that message, I'm guessing you could add the bbcode that you see above, and you'll be able to successfully edit that message.
-
Thank's for the troubleshooting!
Got it edited -mentioned post (https://forum.inkscapecommunity.com/index.php?topic=329.msg5653#msg5653)-.
-
You're welcome.
I've asked for some help in the SMF forum (https://www.simplemachines.org/community/index.php?topic=556904.0), and learning more about how the options work. (As much as I wish for better language for many of Inkscape's options, SMF is comparatively rather atrocious!)
For example, the option "Max width of posted pictures" (and the same thing for height). To me, that sounds like the forum would simply not allow images larger than those limits. But what it really means, is that it changes the size of images larger than that!
And the reason it seems so inconsistent and confusing, is because if it's the width that goes over, it changes the width to that limit, and let's the height automatically adjust to keep the proportion. But if it's the height which goes over the limit, it makes the image that height, and let's the width auto-adjust! (It uses the width and height tags.) Then you can click on them to get the full size.
But hopefully I can find a way to result in a better appearance for the forum.
-
Now playing with options. w = 1200, h = disabled limits
3000 x 3000 image
(https://inkscapecommunity.com/img/wtest3000x.png)
-
400 x 800
(https://inkscapecommunity.com/img/400x800.png)
-
3000 x 3000 with symmetrical object (to detect stretching)
(https://inkscapecommunity.com/img/3000x3000-2.png)
-
800 x 800 w/gear
(https://inkscapecommunity.com/img/800x800ws.png)
-
Some more "heavy duty" for testing:
(https://openclipart.org/download/232203/halftone-squares.svg) (https://openclipart.org/detail/232203/halftone-squares)
(https://openclipart.org/download/273043/all092filters.svg) (https://openclipart.org/detail/273043/all-092-filters)
(https://openclipart.org/download/224348/bwfilters3.svg) (https://openclipart.org/detail/224348/grayscale-and-bw-upload-+filters)
(https://openclipart.org/download/233023/stepped20.svg) (https://openclipart.org/detail/233023/spectrum-steps-10)
(https://openclipart.org/download/224294/filters4.svg[img][/url]
[url=https://openclipart.org/detail/217894/thumbnail-testing][img]https://openclipart.org/download/217894/thu-test-11.svg) (https://openclipart.org/detail/224294/upload-+filters)
(https://orig00.deviantart.net/32b4/f/2017/023/c/6/castle_by_lazururh-dawizcx.png) (https://lazururh.deviantart.com/art/castle-659295105?ga_submit_new=10%253A1485229085)
-
Thanks! Will re-use them again, when testing potential new way to display images. https://forum.inkscapecommunity.com/index.php?topic=826.0
-
Another deviantart url I couldn't embed:
[img]https://orig00.deviantart.net/be20/f/2017/315/3/b/holzkoffer_beer_poster_by_lazururh-dbtehdt.png[/img]
image source (https://lazururh.deviantart.com/art/holzkoffer-beer-poster-714512513)
-
(https://orig00.deviantart.net/be20/f/2017/315/3/b/holzkoffer_beer_poster_by_lazururh-dbtehdt.png)
-
Thank's, couldn't get it to work -still, needs some adjustments as now the proportions are off. Original image is a portrait format A3 sized image, not a square one.
-
Ok, so it's distorted?
I'm pretty sure it's something in the Deviant Art URLs, which prevent the forum from automatically resizing them. Because you've posted huge images which are hosted on OCA, which are handled properly.
For Deviant Art URLs, or images from anywhere which won't be posted (because they exceed our size limits otherwise), you can manually add the bbcode width and height tag.
change
[img]address[/img]
to
[img width=600 height=600]address[/img]
Don't have to stick with 600, but it seems to be a reasonable choice. Based on my earlier testing, it seems to be around 3700 when the limits kick in (depending on the particular image size). I guess to avoid distortion, you'd have to calculate the right values.
Just now, I tried using the height code, without the width, but it didn't post. But that could be because the width is over the limit. So for this image, going over the limits in both directions, you'd have to calculate. Below, I just made it half original size.
(https://orig00.deviantart.net/be20/f/2017/315/3/b/holzkoffer_beer_poster_by_lazururh-dbtehdt.png)
However, if the fix I'm going to try works, as far as I understand, all images will respond. Even SVG, which currently aren't affected. All that's left to do, before I try it, is decide on what the best size should be. 600 seems good to me, because for height, 600 fits perfectly in my browser window.
Any comments, suggestions, requests?
-
Oh! This is interesting. I divided the width and height by 2, and entered that into the bbcode width and height. Then the forum took THAT, and resized it! I don't remember the width I entered, but the height was 2480. And the forum changed to 600!
What a crazy way to handle images!
I'll start working on the new fix, using 600. But if something different is needed or wanted, we can change. Cross fingers! :xf1:
By the way, it will not be retroactive. When I make the change, it will just go forward from there.
-
Ok, I have the fix installed for the Aqua theme. But it's still not taking this DA image. Let me try some others.
Here's one of the smaller filters posters on OCA. Doesn't look like it's getting resized.... (I used 800 x 600 as a starting place.)
(https://openclipart.org/download/224348/bwfilters3.svg)
Edit
Oops, now it should work.
-
Hhhmm.....not sure what's wrong...
-
The large images from openclipart were actually svg-s. They generate thumbnails at a fixed 2400 px size. If landscape, then 2400 px for width, is portrait, 2400 px for height. That's why I embedded the svg-s instead the png thumbnails. Maybe they are handled differently?
Like, they are still hosted outside just a viewbox is added according to the size -if anything.
I embed 800 px wide images at my blog which fits the template the best on my screen. 800 px seems good on the forums, more so openclipart also generates thumbnails at 800 px automatically so you don't need to make a new query by editing the url to the 600 px size if you want an exact match with no resizing/further hosting resized thumbnails by the forum.
-
Yes, SVGs are (if I like how this fix works, then SVGs 'were') handled differently. The setting I was using in SMF does not recognize SVG as an image format. But this one is supposed to.
Had the wrong file before (identical name, different folder :@@:). New try (800 x 600)
(https://openclipart.org/download/224348/bwfilters3.svg)
-
Rats!
-
Using something smaller for testing! 3000 x 3000 Well, shorter, but wider.
Anyway..... :xf2:
(https://inkscapecommunity.com/img/3000x3000-2.png)
-
Rats!
-
Hey! After a couple of refreshes, looks like it took effect! (For Aqua theme only at the moment.)
Aahh, but we can't get the full size by clicking :(
I think getting the full size is important though....
Edit
And I was wrong -- it's affecting all the images ever posted!
See screenshot of the filters poster now! (I'm going to undo this right away!)
-
Ok, at the moment, the new fix gone, and we're back to the old setup, except instead of 1200 x 600, it's 800 x0600.
Test: 3000 x 3000
(https://inkscapecommunity.com/img/3000x3000-2.png)
-
Ok, seems embedding da images works this time. However the handling of the same sized images is inconsistent.
tried to post [url=https://lazururh.deviantart.com/art/Japanese-castle-715158826?ga_submit_new=10%3A1510717539][img]https://orig00.deviantart.net/380d/f/2017/318/a/e/japanese_castle_by_lazururh-dbtsc2y.png[/img][/url]
[url=https://openclipart.org/detail/290436/japanese-castle][img]https://openclipart.org/image/2400px/svg_to_png/290436/hw-b5.png[/img][/url]
here (https://forum.inkscapecommunity.com/index.php?topic=329.msg5834#msg5834).
Both images are of the same size -supposedly- but one gets an img width/height tag automatically, while the other doesn't.
-
Will test more later, if I can wake up. Otherwise, tomorrow.
thanks Lazur