YAFLogo

Posted by: chadclund - Tuesday, 7 March 2023 19:45:41
New install (today). I have to manually go into server and set write permissions for App_Data folder and Uploads folder. However, images attached to new posts do NOT show in the posts, but they do show in the admin. Please see attached screenshots [attach]2312[/attach][attach]2311[/attach]

Posted by: tha_watcha - Wednesday, 8 March 2023 09:34:10
Thanks for your reply. This is a known issue and will be fixed in the next YAF Release 3.13 (which will be released this weekend). As a workaround you need to manually import the needed BBCode Extensions via... Admin > Settings > BBCode Extensions > Import List with the BBCodeExtensions.xml (this file can be found in the install folder)

Posted by: OrdinaryNimda - Friday, 17 March 2023 09:08:08
The attached image is not displaying inline in 3.1.13 (but it did work in 3.1.12). There is only a link of the Attached image, which is then downloaded as a general file. Was there any change done in 3.1.13 to the Attachment functionality?

Posted by: tha_watcha - Friday, 17 March 2023 09:26:40
If the image is only displayed as link and not as image then the image is to big. This has not been changed in the latest version. This setting was added in 2009. Under Host > Host Setup > Image Attachment & Resize Settings > [b]Image Attachment Display Threshold [/b]you can define the maximum size of the image before its shown as links. (The value is in bytes)

Posted by: OrdinaryNimda - Friday, 17 March 2023 16:46:58
Oh, I see this, absolutely correct behavior for a forum! (For some reason I thought this will force a resize, which of course cannot be the case.)

Posted by: smn - Friday, 7 April 2023 20:51:12
User posted images [b]do not keep the aspect ratio when resized[/b], but are stretched in the X axis on a big screen. Can you please fix this, for example by expressing max-width in percentages: [code=markup]<div class="card bg-dark text-white" style="max-width:25%"><a href="/resource.ashx?i=60&amp;b=1" title="IMG_20230407_134916.jpg" data-gallery="#blueimp-gallery-736"><img src="/resource.ashx?p=60&amp;b=1" alt="IMG_20230407_134916.jpg" class="img-user-posted card-img-top"></a><div class="card-body py-1"><p class="card-text small">Click to View Image<span class="text-muted float-end">1 View(s)</span></p></div></div>[/code]  

Posted by: tha_watcha - Sunday, 9 April 2023 09:14:22
Can you post a sample image so i can try to reproduce it? [attach]2322[/attach] [attach]2321[/attach]

Posted by: smn - Tuesday, 11 April 2023 08:04:09
You can see it here: [url]https://hyde-park.si/Posts/t75-Pouhna-luna-in-kraljica-Julijcev[/url] Image Attachment & Resize Settings: Enable Image Attachment Resize: ON Resize User Posted Images: ON Thumbnail Image Resize Max Width 732, Max Height 732 Image Resize Max Width 1024, Max Height 1024

Posted by: tha_watcha - Tuesday, 11 April 2023 08:47:46
[attach]2324[/attach] adding the object-fit property seems to fix it.