SMFHacks.com
SMF Gallery Pro => Support => Bugs => Topic started by: Michel68 on August 05, 2010, 04:07:46 am
-
The Gallery config use 1024x800 as a max picture dimension, so if someone is uploading a picture higher than this, the picture will be automaticly shrink, this works correct. The Problem is the post in the SMF forum, the BB Code image tag has the orignial dimension width=1200 height=1600 and so the picture is expanded. The solve for the moment is, to edit such postings and remove the dimension. So the value of the dimension should be overgive to the forum after the resize of the picuture and not before or better, if you enabled the resizing than the width and height are not used, because the picture has already the right dimension. I hope I wrote my problem correct in english ::)
-
Hello,
this problem still exist in 3.0.11 , I give you a sample
- Resize of pictures is activated to 800x600
- I upload an image with the dimension of 2560x1920
- The image will be correct resized to 800x600
but, the post in the forum has this wrong dimension inside
[img height=1920 width=2560]http://smfhacks.com/gallery/3/4_17_12_10_5_53_49.jpeg[/img]
http://smfhacks.com/index.php?action=gallery;sa=view;id=3486
so the picture will be strechted, it should be
[img]http://smfhacks.com/gallery/3/4_17_12_10_5_53_49.jpeg[/img]
-
Fixed for next update will grab the correct image size after the image has been resized.
I believe there was a reason why I hardcoded the height/width in the bbcodes
-
Thank you and I wish a merry christmas.